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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x7c]
mov ebp, 8
mov eax, dword [esp + 0x84]
cmp eax, 0xfffffffc
je 0x4c4e45
test eax, eax
je 0x4c4e39
cmp eax, dword [esp + 0x8c]
je 0x4c4e45
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x90]
je 0x4c53e5
cmp eax, 0xfffffffc
je 0x4c4e96
test eax, eax
jne 0x4c4e6e
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4e78
mov ecx, dword [eax + 4]
jmp 0x4c4e7b
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c4e96
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
cmp word [edi], 0x24
je 0x4c4f6d
mov esi, eax
cmp eax, 0xfffffffc
je 0x4c4edf
test eax, eax
jne 0x4c4ebe
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4ec8
mov ecx, dword [eax + 4]
jmp 0x4c4ecb
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea eax, [ecx + edx*2]
cmp dword [esp + 0x88], eax
jb 0x4c4edf
call fcn.00543ca9
add dword [esp + 0x88], 2
cmp esi, 0xfffffffc
je 0x4c4f11
test esi, esi
jne 0x4c4ef5
call fcn.00543ca9
cmp dword [esi + 0x18], ebp
jb 0x4c4eff
mov eax, dword [esi + 4]
jmp 0x4c4f02
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x4c4f11
call fcn.00543ca9
movzx ebx, word [edi]
mov edi, dword [esp + 0x80]
mov ebp, dword [edi + 0x18]
lea ecx, [edi + 4]
cmp ebp, 8
jb 0x4c4f2a
mov edx, dword [ecx]
jmp 0x4c4f2c
mov edx, ecx
mov eax, dword [edi + 0x14]
add eax, eax
lea esi, [edx + eax]
test esi, esi
je 0x4c4f54
cmp ebp, 8
jb 0x4c4f41
mov edx, dword [ecx]
jmp 0x4c4f43
mov edx, ecx
cmp edx, esi
ja 0x4c4f54
cmp ebp, 8
jb 0x4c4f4e
mov ecx, dword [ecx]
add ecx, eax
cmp esi, ecx
jbe 0x4c4f59
call fcn.00543ca9
push ebx
push esi
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.004c2af0
jmp 0x4c4e17
cmp eax, 0xfffffffc
je 0x4c4faa
test eax, eax
jne 0x4c4f82
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4f8c
mov ecx, dword [eax + 4]
jmp 0x4c4f8f
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c4faa
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov esi, 2
add dword [esp + 0x88], esi
cmp eax, 0xfffffffc
je 0x4c4fd4
test eax, eax
je 0x4c4fc8
cmp eax, dword [esp + 0x8c]
je 0x4c4fd4
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x90]
cmp dword [esp + 0x88], edx
je 0x4c4e27
cmp eax, 0xfffffffc
je 0x4c5025
test eax, eax
jne 0x4c4ffd
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c5007
mov ecx, dword [eax + 4]
jmp 0x4c500a
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c5025
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x24
jne 0x4c5071
mov ecx, dword [esp + 0x80]
push 0x24
call fcn.004c2d90
mov eax, dword [esp + 0x84]
cmp eax, 0xfffffffc
je 0x4c5222
test eax, eax
jne 0x4c5060
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c5204
mov ecx, dword [eax + 4]
jmp 0x4c5207
cmp eax, 0xfffffffc
je 0x4c50ae
test eax, eax
jne 0x4c5086
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c5090
mov ecx, dword [eax + 4]
jmp 0x4c5093
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c50ae
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x60
jne 0x4c5140
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x24]
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.004c4350
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov dword [esp + 0x80], ecx
cmp eax, 0xfffffffc
je 0x4c5222
test eax, eax
jne 0x4c512f
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c5204
mov ecx, dword [eax + 4]
jmp 0x4c5207
cmp eax, 0xfffffffc
je 0x4c517d
test eax, eax
jne 0x4c5155
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c515f
mov ecx, dword [eax + 4]
jmp 0x4c5162
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c517d
call fcn.00543ca9
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x27
jne 0x4c522e
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x34]
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x40]
push edx
push eax
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x38]
push ecx
lea eax, [esp + 0x34]
push eax
call fcn.004c4350
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x80], ecx
cmp eax, 0xfffffffc
je 0x4c5222
test eax, eax
jne 0x4c51fa
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c5204
mov ecx, dword [eax + 4]
jmp 0x4c5207
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c5222
call fcn.00543ca9
mov eax, dword [esp + 0x84]
add dword [esp + 0x88], esi
jmp 0x4c4e27
cmp eax, 0xfffffffc
je 0x4c5264
test eax, eax
jne 0x4c5243
call fcn.00543ca9
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c524d
mov ecx, dword [eax + 4]
jmp 0x4c5250
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea eax, [ecx + edx*2]
cmp dword [esp + 0x88], eax
jb 0x4c5264
call fcn.00543ca9
mov ecx, dword [esp + 0x88]
cmp word [ecx], 0x26
lea ecx, [esp + 0x84]
jne 0x4c5284
xor esi, esi
call fcn.004bf550
jmp 0x4c5339
call fcn.004bf420
mov edx, 0x30
cmp dx, word [eax]
ja 0x4c53a6
lea ecx, [esp + 0x84]
call fcn.004bf420
cmp word [eax], 0x39
ja 0x4c53a6
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bfa40
mov ecx, eax
call fcn.004bf420
movzx esi, word [eax]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x88]
sub esi, 0x30
call fcn.004c0710
test al, al
je 0x4c5331
lea ecx, [esp + 0x84]
call fcn.004bf420
mov edx, 0x30
cmp dx, word [eax]
ja 0x4c5331
lea ecx, [esp + 0x84]
call fcn.004bf420
cmp word [eax], 0x39
ja 0x4c5331
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bfa40
mov ecx, eax
call fcn.004bf420
movzx edx, word [eax]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*2 - 0x30]
test esi, esi
jl 0x4c4e20
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x14]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jge 0x4c4e20
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.004bea10
mov edx, dword [esp + 0x80]
push edx
mov edi, eax
push esi
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.004bea10
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004c48d0
mov eax, dword [eax]
add esp, 0x18
mov dword [esp + 0x80], eax
jmp 0x4c4e20
mov ecx, dword [esp + 0x80]
push 0x24
call fcn.004c2d90
mov esi, dword [esp + 0x80]
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bfa40
mov ecx, eax
call fcn.004bf420
movzx ecx, word [eax]
push ecx
mov ecx, esi
call fcn.004c2d90
jmp 0x4c4e20
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret