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

Disassembly:
push 0xffffffffffffffff
push 0x5455b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x4c01f7
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4c0214
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x28], ebx
jbe 0x4c04e0
xor ebp, ebp
mov eax, dword [esi + 0xc]
add eax, ebp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404600
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ebx
fldz
mov eax, dword [esi + 0xc]
fstp dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 0x16c]
mov edx, dword [eax + 0x168]
add ecx, esi
call edx
test eax, eax
je case.default.0x4c0281
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebp + 4]
cmp eax, 0xa
ja case.default.0x4c0281
jmp dword [eax*4 + 0x4c05d8]
mov edx, ecx
mov ecx, dword [edx + ebp + 0xc]
lea eax, [edx + ebp]
mov eax, dword [eax + 8]
add ecx, esi
call eax
push eax
push ecx
mov dword [esp + 0x34], esp
lea edx, [esp + 0x1c]
mov ecx, esp
push edx
call fcn.004045e0
mov eax, dword [esi + 8]
call fcn.004265c0
add esp, 8
mov edi, eax
jmp case.default.0x4c0281
mov eax, ecx
mov ecx, dword [eax + ebp + 0x1c]
mov edx, dword [eax + ebp + 0x18]
add eax, ebp
add ecx, esi
call edx
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 1
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004045e0
mov byte [esp + 0x48], 0
call fcn.00425950
add esp, 0xc
mov edi, eax
jmp case.default.0x4c0281
mov eax, ecx
mov ecx, dword [eax + ebp + 0x2c]
mov edx, dword [eax + ebp + 0x28]
add eax, ebp
add ecx, esi
call edx
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
jmp 0x4c02a5
mov edx, dword [ecx + ebp + 0x38]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x3c]
add ecx, esi
call edx
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
jmp 0x4c02a5
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x18]
push edx
add ecx, esi
call eax
mov edi, eax
cmp edi, ebx
je case.default.0x4c0281
xor ecx, ecx
cmp dword [esp + 0x18], ebx
setne cl
push ecx
push ecx
mov dword [esp + 0x38], esp
jmp 0x4c029e
mov eax, ecx
mov edx, dword [eax + ebp + 0x58]
add eax, ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x5c]
add ecx, esi
call edx
mov edi, eax
cmp edi, ebx
je case.default.0x4c0281
xor eax, eax
cmp dword [esp + 0x18], ebx
setne al
push eax
push ecx
mov dword [esp + 0x38], esp
jmp 0x4c029e
mov eax, ecx
mov edx, dword [eax + ebp + 0x68]
add eax, ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x6c]
add ecx, esi
call edx
mov edi, eax
cmp edi, ebx
je case.default.0x4c0281
fld dword [esp + 0x20]
sub esp, 8
lea eax, [esp + 0x1c]
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 2
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004045e0
mov byte [esp + 0x48], 0
call fcn.00425a20
add esp, 0xc
mov edi, eax
jmp case.default.0x4c0281
mov eax, ecx
mov edx, dword [eax + ebp + 0x78]
add eax, ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0x7c]
push ebx
add ecx, esi
call edx
mov edi, eax
cmp edi, ebx
je case.default.0x4c0281
mov eax, dword [esp + 0x1c]
push eax
call fcn.00522319
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c049c
mov ecx, dword [esi + 0xc]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x1c]
push edx
push ebx
add ecx, esi
call eax
mov edi, eax
test edi, edi
je 0x4c0493
mov ecx, dword [esp + 0x1c]
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 3
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004045e0
mov ecx, ebx
mov byte [esp + 0x48], 0
call fcn.00425310
add esp, 0xc
mov edi, eax
push ebx
call fcn.005223dc
add esp, 4
xor ebx, ebx
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c04c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 1
add ebp, 0x178
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
jb 0x4c0224
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edx, dword [ecx + ebp + 0x88]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x8c]
add ecx, esi
call edx
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 4
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004045e0
mov byte [esp + 0x48], 0
call fcn.00425950
add esp, 0xc
mov edi, eax
jmp case.default.0x4c0281
mov eax, ecx
mov edx, dword [eax + ebp + 0x98]
add eax, ebp
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0x9c]
add ecx, esi
call edx
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 5
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
jmp 0x4c052c
mov edx, dword [ecx + ebp + 0xa8]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0xac]
add ecx, esi
call edx
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004045e0
push ecx
mov byte [esp + 0x48], 6
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004045e0
mov byte [esp + 0x48], 0
call fcn.00425950
add esp, 0xc
mov edi, eax
jmp case.default.0x4c0281