Function at 0x4c4440
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 0x4c4475
test eax, eax
je 0x4c4469
cmp eax, dword [esp + 0x8c]
je 0x4c4475
call fcn.00541079
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x90]
je 0x4c4a15
cmp eax, 0xfffffffc
je 0x4c44c6
test eax, eax
jne 0x4c449e
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c44a8
mov ecx, dword [eax + 4]
jmp 0x4c44ab
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c44c6
call fcn.00541079
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
cmp word [edi], 0x24
je 0x4c459d
mov esi, eax
cmp eax, 0xfffffffc
je 0x4c450f
test eax, eax
jne 0x4c44ee
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c44f8
mov ecx, dword [eax + 4]
jmp 0x4c44fb
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea eax, [ecx + edx*2]
cmp dword [esp + 0x88], eax
jb 0x4c450f
call fcn.00541079
add dword [esp + 0x88], 2
cmp esi, 0xfffffffc
je 0x4c4541
test esi, esi
jne 0x4c4525
call fcn.00541079
cmp dword [esi + 0x18], ebp
jb 0x4c452f
mov eax, dword [esi + 4]
jmp 0x4c4532
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x4c4541
call fcn.00541079
movzx ebx, word [edi]
mov edi, dword [esp + 0x80]
mov ebp, dword [edi + 0x18]
lea ecx, [edi + 4]
cmp ebp, 8
jb 0x4c455a
mov edx, dword [ecx]
jmp 0x4c455c
mov edx, ecx
mov eax, dword [edi + 0x14]
add eax, eax
lea esi, [edx + eax]
test esi, esi
je 0x4c4584
cmp ebp, 8
jb 0x4c4571
mov edx, dword [ecx]
jmp 0x4c4573
mov edx, ecx
cmp edx, esi
ja 0x4c4584
cmp ebp, 8
jb 0x4c457e
mov ecx, dword [ecx]
add ecx, eax
cmp esi, ecx
jbe 0x4c4589
call fcn.00541079
push ebx
push esi
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.004c2110
jmp 0x4c4447
cmp eax, 0xfffffffc
je 0x4c45da
test eax, eax
jne 0x4c45b2
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c45bc
mov ecx, dword [eax + 4]
jmp 0x4c45bf
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c45da
call fcn.00541079
mov eax, dword [esp + 0x84]
mov esi, 2
add dword [esp + 0x88], esi
cmp eax, 0xfffffffc
je 0x4c4604
test eax, eax
je 0x4c45f8
cmp eax, dword [esp + 0x8c]
je 0x4c4604
call fcn.00541079
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x90]
cmp dword [esp + 0x88], edx
je 0x4c4457
cmp eax, 0xfffffffc
je 0x4c4655
test eax, eax
jne 0x4c462d
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4637
mov ecx, dword [eax + 4]
jmp 0x4c463a
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c4655
call fcn.00541079
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x24
jne 0x4c46a1
mov ecx, dword [esp + 0x80]
push 0x24
call fcn.004c2330
mov eax, dword [esp + 0x84]
cmp eax, 0xfffffffc
je 0x4c4852
test eax, eax
jne 0x4c4690
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4834
mov ecx, dword [eax + 4]
jmp 0x4c4837
cmp eax, 0xfffffffc
je 0x4c46de
test eax, eax
jne 0x4c46b6
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c46c0
mov ecx, dword [eax + 4]
jmp 0x4c46c3
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c46de
call fcn.00541079
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x60
jne 0x4c4770
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.004c3050
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov dword [esp + 0x80], ecx
cmp eax, 0xfffffffc
je 0x4c4852
test eax, eax
jne 0x4c475f
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4834
mov ecx, dword [eax + 4]
jmp 0x4c4837
cmp eax, 0xfffffffc
je 0x4c47ad
test eax, eax
jne 0x4c4785
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c478f
mov ecx, dword [eax + 4]
jmp 0x4c4792
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c47ad
call fcn.00541079
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
cmp word [edx], 0x27
jne 0x4c485e
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.004c3050
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
mov dword [esp + 0x80], ecx
cmp eax, 0xfffffffc
je 0x4c4852
test eax, eax
jne 0x4c482a
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c4834
mov ecx, dword [eax + 4]
jmp 0x4c4837
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x88], ecx
jb 0x4c4852
call fcn.00541079
mov eax, dword [esp + 0x84]
add dword [esp + 0x88], esi
jmp 0x4c4457
cmp eax, 0xfffffffc
je 0x4c4894
test eax, eax
jne 0x4c4873
call fcn.00541079
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x18], ebp
jb 0x4c487d
mov ecx, dword [eax + 4]
jmp 0x4c4880
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea eax, [ecx + edx*2]
cmp dword [esp + 0x88], eax
jb 0x4c4894
call fcn.00541079
mov ecx, dword [esp + 0x88]
cmp word [ecx], 0x26
lea ecx, [esp + 0x84]
jne 0x4c48b4
xor esi, esi
call fcn.004bf110
jmp 0x4c4969
call fcn.004bef80
mov edx, 0x30
cmp dx, word [eax]
ja 0x4c49d6
lea ecx, [esp + 0x84]
call fcn.004bef80
cmp word [eax], 0x39
ja 0x4c49d6
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bf150
mov ecx, eax
call fcn.004bef80
movzx esi, word [eax]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x88]
sub esi, 0x30
call fcn.004c0190
test al, al
je 0x4c4961
lea ecx, [esp + 0x84]
call fcn.004bef80
mov edx, 0x30
cmp dx, word [eax]
ja 0x4c4961
lea ecx, [esp + 0x84]
call fcn.004bef80
cmp word [eax], 0x39
ja 0x4c4961
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bf150
mov ecx, eax
call fcn.004bef80
movzx edx, word [eax]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*2 - 0x30]
test esi, esi
jl 0x4c4450
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 0x4c4450
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.004be910
mov edx, dword [esp + 0x80]
push edx
mov edi, eax
push esi
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.004be910
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.004c3a60
mov eax, dword [eax]
add esp, 0x18
mov dword [esp + 0x80], eax
jmp 0x4c4450
mov ecx, dword [esp + 0x80]
push 0x24
call fcn.004c2330
mov esi, dword [esp + 0x80]
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x8c]
call fcn.004bf150
mov ecx, eax
call fcn.004bef80
movzx ecx, word [eax]
push ecx
mov ecx, esi
call fcn.004c2330
jmp 0x4c4450
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