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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov ebx, 0xffff8000
test ecx, ecx
je 0x4c1118
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x4c1118
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x4c1110
mov eax, dword [edx + 0x10]
mov esi, ebx
add esi, esi
mov edx, 0x1b
mov ecx, edi
push dword [eax + esi*8]
mov eax, dword [esp + 0x1c]
push 0
push dword [eax]
call fcn.004baa90
add esp, 0xc
test eax, eax
jne 0x4c1a01
cmp ebx, 1
je 0x4c116c
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x4c116c
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.004bab20
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x4c1195
cmp dword [edi + 0x74], esi
jne 0x4c1184
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4c1184
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00491bf0
mov esi, eax
test esi, esi
je 0x4c1a01
mov eax, dword [ebp + 8]
test eax, eax
js 0x4c11a6
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
jmp 0x4c11b1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov edx, eax
mov ecx, edi
call fcn.004c4a40
mov edx, dword [edi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
lea ecx, [edx + 1]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x4c11d1
inc dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x78], ecx
jg 0x4c1205
push eax
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00491e40
lea edx, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x4c1246
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edx, [esi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c1261
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00492950
add esp, 4
jmp 0x4c129b
test eax, eax
jns 0x4c1269
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4c128c
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00492ba0
add esp, 8
jmp 0x4c129b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c129b
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0x65
push dword [esp + 0x34]
push ebx
call fcn.004cef90
mov edx, dword [esi + 0x74]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4c12d9
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x26
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4c130f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [edi + 0x13]
test al, al
jne 0x4c131e
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4c132d
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
mov dword [esp + 0x14], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.004c7490
mov ecx, dword [esi + 0x74]
add esp, 0x18
cmp dword [esi + 0x78], ecx
jg 0x4c1380
push 0
push dword [esp + 0x18]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x18]
call fcn.00491e40
add esp, 0xc
jmp 0x4c13b6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c13e8
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c13dc
push edx
mov edx, dword [edi + 8]
call fcn.00492660
add esp, 4
jmp 0x4c13e8
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4c1411
push 0
push eax
push dword [esp + 0x28]
mov edx, 5
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x4c1447
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
cmp byte [eax + 0x57], 0
je 0x4c1461
mov eax, 0x5cdb30
jmp 0x4c1479
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x30]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
mov dword [eax + 8], ecx
jge 0x4c14d0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c14a2
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0x90
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x4c14d0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4c14f4
push ebx
push dword [esp + 0x2c]
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x24]
call fcn.00491e40
add esp, 0xc
mov edx, eax
jmp 0x4c152a
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c1549
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00492950
mov ebx, dword [esp + 0x10]
add esp, 4
jmp 0x4c1587
test edx, edx
jns 0x4c1551
mov edx, dword [esi + 0x74]
dec edx
mov ebx, dword [esp + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4c1578
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00492ba0
add esp, 8
jmp 0x4c1587
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c1587
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4c15a9
cmp dword [ebp + 8], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x24], edx
cmp dword [esi + 0x78], edx
jg 0x4c15d2
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4c1604
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x36], 0
je 0x4c1737
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4c163b
push 0
push 1
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00491e40
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x4c1671
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4c16a5
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x83
call fcn.00491e40
add esp, 0xc
mov ecx, eax
jmp 0x4c16db
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4c16f5
mov eax, dword [ebx]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push dword [esp + 0x18]
mov edx, 2
mov ecx, edi
call fcn.004c41f0
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4c171d
mov eax, 0x5cdb30
mov dword [eax + 8], edx
jmp 0x4c174c
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c174c
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c1775
push dword [esp + 0x1c]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00491e40
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4c17a7
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test dword [eax + 0x38], 0x200
jne 0x4c1804
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c17d2
push 0
push 0
push edx
mov edx, 0x88
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x4c1804
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c182b
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x24]
call fcn.00491e40
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4c185d
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4c1877
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x2c]
test edx, edx
je 0x4c188f
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4c188f
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x74]
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x4c18b3
push 0
push dword [esp + 0x2c]
mov edx, 3
mov ecx, esi
push edi
call fcn.00491e40
add esp, 0xc
jmp 0x4c18e1
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4c18f3
mov eax, 0x5cdb30
jmp 0x4c1907
mov ecx, dword [esp + 0x24]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c192b
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x79
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x4c195d
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c197e
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x79
mov ecx, esi
call fcn.00491e40
add esp, 0xc
jmp 0x4c19b0
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c19d3
push 0
push 0
push edi
mov edx, 0x79
mov ecx, esi
call fcn.00491e40
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret