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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 8], eax
xorps xmm0, xmm0
mov dword [esp], ecx
movups xmmword [ecx + 4], xmm0
mov eax, dword [edx]
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 4]
sub ecx, eax
je 0x4c5a89
sar ecx, 3
cmp ecx, 2
mov ebp, 1
cmovae ebp, ecx
xor ebx, ebx
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x10]
jmp 0x4c5a43
movzx ecx, byte [esi + 0x87cde2]
mov esi, dword [esp + 8]
mov byte [esi + ebx], cl
inc ebx
cmp ebp, ebx
je 0x4c5a89
movzx ecx, word [eax + ebx*8 + 4]
cmp ecx, 0x40
jb 0x4c5a60
bsr ecx, ecx
xor ecx, 0xffffffe0
add ecx, 0x33
jmp 0x4c5a67
movzx ecx, byte [ecx + 0x87cda2]
movzx esi, word [eax + ebx*8 + 6]
mov byte [edx + ebx], cl
bsr ecx, dword [eax + ebx*8]
mov byte [edi + ebx], cl
cmp esi, 0x80
jb 0x4c5a30
bsr ecx, esi
xor ecx, 0xffffffe0
add ecx, 0x44
jmp 0x4c5a37
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
cmp eax, 1
jne 0x4c5aab
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 4]
mov byte [edx + eax], 0x23
mov eax, dword [esi + 0x24]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
lea edx, [ecx + 0x8b0]
mov dword [esp + 0x20], edx
cmp eax, 2
mov esi, ecx
jne 0x4c5ad3
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 8]
mov byte [ecx + eax], 0x34
mov dword [esp + 0x1c], 0x23
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x58]
push ecx
push dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x10]
push edi
push eax
push ebx
call fcn.00674cd0
add esp, 0x18
mov ebp, dword [esp + 0x3c]
mov edx, dword [ebp + 0xddc]
lea ecx, [esi + 0xddc]
mov dword [esi + 0xddc], edx
add ebp, 0x8b0
push dword [esp + 0x4c]
push 1
push 6
push 0x87ce62
push ebp
push 9
mov esi, dword [esp + 0x50]
push esi
push eax
push dword [esp + 0x3c]
push ebx
push ecx
call fcn.0067ce90
add esp, 0x2c
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
sub eax, edx
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x524
push ebp
push 0x23
push 6
push 0x87ce62
push esi
push edi
push dword [esp + 0x40]
push ecx
push ebx
push 9
push dword [esp + 0x54]
push eax
push edx
call fcn.0067d1f0
add esp, 0x40
mov edi, eax
cmp eax, 0xffffff88
ja 0x4c5d3f
mov eax, dword [esp + 0x44]
cmp ebx, 2
jne 0x4c5b94
mov ecx, dword [esp]
mov dword [ecx + 0x10], edi
add edi, eax
mov dword [esp + 0x18], 0x1f
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push ecx
push esi
push dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.00674cd0
add esp, 0x18
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x18]
xor ebx, ebx
cmp ecx, 0x1d
setb bl
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0xdd4]
mov ebp, dword [esp + 0x40]
lea edx, [ebp + 0xdd4]
mov dword [ebp + 0xdd4], esi
mov esi, dword [esp + 0x38]
mov ebp, dword [esp]
push dword [esp + 0x4c]
push ebx
push 5
push 0x87ceaa
push eax
push 8
push esi
push dword [esp + 0x20]
push ecx
push dword [esp + 0x74]
push edx
call fcn.0067ce90
add esp, 0x2c
mov ebx, eax
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x48]
sub eax, edi
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x304
push dword [esp + 0x48]
push 0x1c
push 5
push 0x87ceaa
push esi
push dword [esp + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x78]
push ebx
push 8
push dword [esp + 0x74]
push eax
push edi
call fcn.0067d1f0
add esp, 0x40
cmp eax, 0xffffff88
ja 0x4c5d47
mov ebp, esi
mov ecx, dword [esp + 0x40]
add ecx, 0x304
mov dword [esp + 4], ecx
cmp ebx, 2
jne 0x4c5c79
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
add edi, eax
mov dword [esp + 0x14], 0x34
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push ecx
push ebp
push dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x64]
push eax
mov ebx, eax
call fcn.00674cd0
add esp, 0x18
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 0xdd8]
mov edx, dword [esp + 0x40]
mov dword [edx + 0xdd8], ecx
add edx, 0xdd8
add esi, 0x304
push dword [esp + 0x4c]
push 1
push 6
push 0x87cee4
push esi
push 9
push ebp
push eax
push dword [esp + 0x34]
push ebx
push edx
call fcn.0067ce90
add esp, 0x2c
mov ebx, eax
mov eax, dword [esp]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x48]
sub eax, edi
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x5ac
push esi
push 0x34
push 6
push 0x87cee4
push ebp
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x78]
push ebx
push 9
push dword [esp + 0x38]
push eax
push edi
call fcn.0067d1f0
add esp, 0x40
cmp eax, 0xffffff88
ja 0x4c5d47
cmp ebx, 2
jne 0x4c5d39
mov ecx, dword [esp]
mov dword [ecx + 0x10], eax
add edi, eax
sub edi, dword [esp + 0x44]
mov eax, dword [esp]
mov dword [eax + 0xc], edi
jmp 0x4c5d4d
mov ecx, dword [esp]
mov dword [ecx + 0xc], eax
mov eax, dword [esp]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret