Function at 0x49f000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f6a23
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov edi, ecx
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], eax
je 0x49f0e0
push 0x80
call fcn.005e694e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0xa4], esi
je 0x49f076
push eax
call fcn.0049eae0
mov esi, eax
or ebx, 0xffffffff
mov dword [esp + 0xa4], ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call fcn.0049ffd0
push esi
push esi
call fcn.005ce9b0
add esp, 8
mov dword [esp + 0xa4], 1
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x49f0e7
mov dword [esp + 0xa4], ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x49f0e0
lea ecx, [esi + 4]
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x49f0e0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], ebx
jne 0x49f0e0
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x49f5a8
lea ecx, [esp + 0x40]
call dword [0x61049c]
mov eax, edi
mov byte [esp + 0xa4], 2
call fcn.004e1e20
mov edi, eax
test edi, edi
je 0x49f51d
lea ebx, [ebx]
lea ecx, [esp + 0x40]
push ecx
mov esi, edi
call fcn.004e1ea0
test al, al
je 0x49f4eb
mov eax, edi
lea esi, [esp + 0x5c]
call fcn.004e1d20
push 0x624f68
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 3
call dword [0x610498]
lea eax, [esp + 0x24]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f17e
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f171
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp], eax
push str.Type
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f1ce
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f1bc
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp + 4], eax
jmp 0x49f4d9
push 0x625440
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f210
lea edx, [esp + 0x40]
push edx
lea ecx, [ebp + 8]
call dword [0x61059c]
jmp 0x49f4d9
push str.Size
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f263
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f24e
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], edx
jmp 0x49f4d9
push 0x625424
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f352
cmp dword [esp + 0x54], 0
je 0x49f4d9
push 0
push 0x2a
lea ecx, [esp + 0x48]
call dword [0x610540]
mov esi, eax
mov eax, dword [0x610548]
cmp esi, dword [eax]
je 0x49f4d9
push esi
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call dword [0x61053c]
push 0xffffffffffffffff
add esi, 1
push esi
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 4
call dword [0x61053c]
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x49f303
lea eax, [esp + 0x28]
push 0
call fcn.004ce080
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x80]
add esp, 4
cmp dword [esp + 0x90], esi
jae 0x49f324
lea eax, [esp + 0x7c]
push 0
call fcn.004ce080
add esp, 4
lea ecx, [esp + 0x78]
mov dword [ebp + 0x4c], eax
call dword [0x6105a0]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 3
call dword [0x6105a0]
jmp 0x49f4d9
push str.maxTime
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f3a2
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f390
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp + 0x50], eax
jmp 0x49f4d9
push str.minTime
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f3f2
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f3e0
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp + 0x54], eax
jmp 0x49f4d9
push str.Action
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f442
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f430
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp + 0x58], eax
jmp 0x49f4d9
push str.Target
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f481
lea eax, [esp + 0x40]
push eax
lea ecx, [ebp + 0x5c]
call dword [0x61059c]
jmp 0x49f4d9
push str.Quick
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x49f4d9
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x49f4bf
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
or eax, edx
je 0x49f4d4
mov eax, 1
jmp 0x49f4d6
xor eax, eax
mov byte [ebp + 0x78], al
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 2
call dword [0x6105a0]
test edi, edi
je 0x49f51a
mov esi, dword [edi + 0x28]
test esi, esi
je 0x49f50e
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x49f5d2
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x49f4f6
xor eax, eax
test eax, eax
mov edi, eax
jne 0x49f110
or ebx, 0xffffffff
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.0049eb60
push eax
lea ecx, [ebp + 0x24]
mov byte [esp + 0xa8], 5
call dword [0x61059c]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 2
call dword [0x6105a0]
mov edi, dword [esp + 0x20]
add edi, 0x80
lea eax, [esp + 0x18]
call fcn.0049fb80
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 1
call dword [0x6105a0]
mov dword [esp + 0xa4], ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x49f5a6
lea edx, [esi + 4]
mov eax, ebx
lock xadd dword [edx], eax
jne 0x49f5a6
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
lock xadd dword [ecx], ebx
jne 0x49f5a6
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov al, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005e693f
add esp, 0x94
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x49f510