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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], edi
call fcn.004c20ad
xor ebx, ebx
mov dword [esp + 0x2c], eax
inc ebx
lea ecx, [esp + 0x64]
push ebx
call fcn.004b686a
lea esi, [edi + 0x14]
mov ecx, dword [esi + 8]
cmp ecx, dword [edi + 8]
cmovb ecx, dword [edi + 8]
push ecx
push ecx
lea ecx, [esp + 0x20]
call fcn.004b6a9d
lea ecx, [esp + 0x18]
cmp dword [esi + 0x10], ebx
je 0x4c3310
mov edx, esi
push edi
cmp dword [edi + 0x10], ebx
jne 0x4c3326
call fcn.004b79d8
jmp 0x4c332b
cmp dword [edi + 0x10], ebx
je 0x4c3323
push edi
mov edx, esi
call fcn.004b79d8
mov dword [esp + 0x2c], ebx
jmp 0x4c332b
push esi
mov edx, edi
call fcn.004b7abc
pop ecx
lea ecx, [esp + 0x50]
call fcn.004b677d
lea ecx, [esp + 0x78]
call fcn.004b677d
lea ebp, [edi + 0x28]
lea eax, [esp + 0x18]
push ebp
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x58]
call fcn.004b804b
pop ecx
pop ecx
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.00472a06
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
call fcn.004b7c14
push 0x8000
lea ecx, [esp + 0x90]
call fcn.004b686a
mov esi, eax
lea ecx, [esp + 0x34]
push esi
call fcn.004b82ba
push dword [esp + 0x94]
test eax, eax
lea ecx, [esp + 0x38]
push dword [esp + 0x9c]
cmovns ecx, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [ecx + 0xc]
mov esi, dword [eax]
neg esi
cmp dword [ecx + 0x10], ebx
cmove esi, dword [eax]
call fcn.00472a06
push dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.00472a06
push dword [esp + 0x80]
push dword [esp + 0x88]
call fcn.00472a06
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.00472a06
push dword [esp + 0x6c]
push dword [esp + 0x74]
call fcn.00472a06
lea eax, [edi + 0x44]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x48], eax
push ecx
mov ecx, eax
call fcn.004c1cd1
lea ecx, [esp + 0xa8]
push dword [eax + 4]
push dword [eax]
push ebx
push dword [edi + 0x44]
push ecx
lea ecx, [edi + 0x44]
call fcn.004c4080
push ecx
push esi
lea ecx, [edi + 0x44]
call fcn.004c3f03
cmp dword [edi + 0x3c], ebx
jne 0x4c3478
cmp dword [esp + 0x14], ebx
jbe 0x4c35a0
mov esi, dword [esp + 0x2c]
movzx eax, word [esi + ebx*2]
mov ecx, ebp
push eax
call fcn.004b87f3
mov dx, word [esi + ebx*2]
lea ecx, [edi + 0x44]
push eax
push ebp
push edi
call fcn.004c316b
add esp, 0xc
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4c344e
jmp 0x4c35a0
push dword [edi + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.004b686a
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0x20]
cmovb eax, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004b6a9d
xor esi, esi
lea ecx, [esp + 0x34]
inc esi
cmp dword [edi + 0x10], esi
je 0x4c34bb
lea eax, [esp + 0x18]
mov edx, edi
push eax
cmp dword [esp + 0x2c], esi
jne 0x4c34d8
call fcn.004b79d8
jmp 0x4c34dd
cmp dword [esp + 0x28], esi
je 0x4c34d3
lea eax, [esp + 0x18]
mov edx, edi
push eax
call fcn.004b79d8
mov dword [esp + 0x48], esi
jmp 0x4c34dd
push edi
lea edx, [esp + 0x1c]
call fcn.004b7abc
pop ecx
push esi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
call fcn.004aae74
push dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.00472a06
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.00472a06
push esi
lea eax, [esp + 0x68]
mov ecx, ebp
push eax
call fcn.004aae74
cmp dword [esp + 0x14], ebx
jbe 0x4c3586
mov eax, dword [esp + 0x2c]
lea ecx, [edi + 0x28]
movzx ebp, word [eax + ebx*2]
mov ebx, ebp
push ebx
call fcn.004b87f3
movzx esi, ax
lea ecx, [edi + 0x44]
push esi
lea eax, [edi + 0x28]
mov edx, ebp
push eax
push edi
call fcn.004c316b
lea edi, [esi + esi]
add esp, 0xc
mov eax, edi
add esi, esi
sub eax, ebp
mov edx, ebp
movzx ecx, ax
cmp esi, ebx
movzx eax, di
cmovb ecx, eax
movzx eax, cx
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004c316b
mov ebx, dword [esp + 0x3c]
add esp, 0xc
mov edi, dword [esp + 0x4c]
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, dword [esp + 0x14]
jb 0x4c351a
push dword [esp + 0x6c]
push dword [esp + 0x74]
call fcn.00472a06
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.00472a06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret