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

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x5c433b
cmp byte [eax + 0x59], 0
je 0x5c433b
mov eax, dword [eax + 0x70]
mov ecx, dword [ebx + 4]
mov edx, 1
call fcn.004c36e8
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.004c4230
movzx eax, byte [ebx + 0xc]
cmp eax, 7
ja case.default.0x5c411b
jmp dword [eax*4 + 0x5c4122]
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
cmp byte [edx + 0x5d], 3
jne 0x5c4158
mov dl, 3
call fcn.004c4230
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x40]
sub edx, dword [eax + 0x48]
sub edx, 4
sub edx, dword [ebx + 0x14]
call fcn.004c4560
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b0]
mov ecx, dword [edx + 0x4c]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x4c]
sar ecx, 1
jns 0x5c418b
adc ecx, 0
add ecx, dword [edx + 0x44]
dec ecx
mov edx, ecx
call fcn.004c4594
jmp case.default.0x5c411b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x40]
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x44]
sub edx, dword [eax + 0x4c]
sub edx, dword [ebx + 0x14]
call fcn.004c4594
jmp case.default.0x5c411b
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b0]
mov ecx, dword [edx + 0x48]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x48]
sar ecx, 1
jns 0x5c41e1
adc ecx, 0
add ecx, dword [edx + 0x40]
mov edx, ecx
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x44]
sub edx, dword [eax + 0x4c]
sub edx, dword [ebx + 0x14]
call fcn.004c4594
jmp case.default.0x5c411b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov ecx, dword [edx + 0x40]
add ecx, dword [edx + 0x48]
sub ecx, dword [eax + 0x48]
mov edx, ecx
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x44]
sub edx, dword [eax + 0x4c]
sub edx, dword [ebx + 0x14]
call fcn.004c4594
jmp case.default.0x5c411b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x40]
sub edx, dword [eax + 0x48]
sub edx, 4
sub edx, dword [ebx + 0x14]
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x44]
add edx, 3
call fcn.004c4594
jmp case.default.0x5c411b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov edx, dword [edx + 0x40]
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov ecx, dword [edx + 0x44]
add ecx, dword [edx + 0x4c]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004c4594
jmp case.default.0x5c411b
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1b0]
mov ecx, dword [edx + 0x48]
mov eax, dword [ebx + 0x1c]
sub ecx, dword [eax + 0x48]
sar ecx, 1
jns 0x5c42b4
adc ecx, 0
add ecx, dword [edx + 0x40]
mov edx, ecx
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov ecx, dword [edx + 0x44]
add ecx, dword [edx + 0x4c]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004c4594
jmp case.default.0x5c411b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov ecx, dword [edx + 0x40]
add ecx, dword [edx + 0x48]
sub ecx, dword [eax + 0x48]
mov edx, ecx
call fcn.004c4560
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1b0]
mov ecx, dword [edx + 0x44]
add ecx, dword [edx + 0x4c]
add ecx, dword [ebx + 0x14]
mov edx, ecx
call fcn.004c4594
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
cmp dword [ebx + 4], 0
je 0x5c433b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x70]
mov ecx, dword [ecx + 0xc]
sub ecx, 4
cmp edx, ecx
setge dl
call fcn.004766f4
pop ebx
ret