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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x4c4671
xchg dword [ebp - 4], ecx
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4c4dce
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, edx
je 0x4c469c
cmp edx, 6
jne 0x4c46a9
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c4c3f
sub edx, 1
jb 0x4c46bb
dec edx
sub edx, 3
jb 0x4c46c8
dec edx
jne 0x4c4c3f
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4c4c3f
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x14]
call fcn.0040c1d4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004060a4
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov dl, 0x3b
call fcn.00494928
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, 0x4c4de4
call fcn.00406130
push dword [ebx]
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 8]
call fcn.0040c1d4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004060a4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x14]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0xc]
call fcn.0040c1d4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.004060a4
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x20]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x34]
movzx eax, byte [esi + 0x10]
call fcn.0040c1d4
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.004060a4
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x2c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x38]
mov dl, 0x3b
mov eax, dword [esi + 0x18]
call fcn.00494928
push dword [ebp - 0x38]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x44]
movzx eax, byte [esi + 0x11]
call fcn.0040c1d4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.004060a4
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x3c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x48]
mov dl, 0x3b
mov eax, dword [esi + 0x48]
call fcn.00494928
push dword [ebp - 0x48]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x4c]
mov dl, 0x3b
mov eax, dword [esi + 0x4c]
call fcn.00494928
push dword [ebp - 0x4c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x50]
mov dl, 0x3b
mov eax, dword [esi + 0x50]
call fcn.00494928
push dword [ebp - 0x50]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x54]
mov dl, 0x3b
mov eax, dword [esi + 0x24]
call fcn.00494928
push dword [ebp - 0x54]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x58]
mov dl, 0x3b
mov eax, dword [esi + 0x1c]
call fcn.00494928
push dword [ebp - 0x58]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x5c]
mov dl, 0x3b
mov eax, dword [esi + 0x28]
call fcn.00494928
push dword [ebp - 0x5c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x68]
mov eax, dword [esi + 0x3c]
call fcn.0040c1d4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
call fcn.004060a4
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x60]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x6c]
mov dl, 0x3b
mov eax, dword [esi + 0x54]
call fcn.00494928
push dword [ebp - 0x6c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0x70]
mov dl, 0x3b
mov eax, dword [esi + 0x44]
call fcn.00494928
push dword [ebp - 0x70]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x7c]
mov eax, dword [esi + 0x34]
call fcn.0040c1d4
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
call fcn.004060a4
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x74]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0x88]
mov eax, dword [esi + 0x40]
call fcn.0040c1d4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.004060a4
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x80]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
mov eax, dword [esi + 0x60]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.0040c3a4
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
call fcn.004060a4
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x8c]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
mov eax, dword [esi + 0x64]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.0040c3a4
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
call fcn.004060a4
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0x98]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
mov eax, dword [esi + 0x68]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xac]
call fcn.0040c3a4
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
call fcn.004060a4
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0xa4]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0xb8]
mov eax, dword [esi + 0x38]
call fcn.0040c1d4
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
call fcn.004060a4
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0xb0]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0xc4]
mov eax, dword [esi + 0x20]
call fcn.0040c1d4
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
call fcn.004060a4
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0xbc]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0xc8]
mov dl, 0x3b
mov eax, dword [esi + 4]
call fcn.00494928
push dword [ebp - 0xc8]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0xd4]
movzx eax, byte [esi + 0x30]
call fcn.0040c1d4
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
call fcn.004060a4
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0xcc]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea edx, [ebp - 0xe0]
movzx eax, byte [esi + 0x6c]
call fcn.0040c1d4
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
call fcn.004060a4
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov dl, 0x3b
call fcn.00494928
push dword [ebp - 0xd8]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
push dword [ebx]
lea ecx, [ebp - 0xe4]
mov dl, 0x3b
mov eax, dword [esi + 0x2c]
call fcn.00494928
push dword [ebp - 0xe4]
push 0x4c4de4
mov eax, ebx
mov edx, 3
call fcn.004061a0
cmp byte [ebp - 1], 0
jne 0x4c4c4a
xor eax, eax
mov dword [esi + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4dd8
lea eax, [ebp - 0xe4]
call fcn.00405ebc
lea eax, [ebp - 0xe0]
call fcn.00405684
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0xd4]
call fcn.00405684
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00405ed4
lea eax, [ebp - 0xc4]
call fcn.00405684
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0xb8]
call fcn.00405684
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0xac]
call fcn.00405684
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0xa0]
call fcn.00405684
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x94]
call fcn.00405684
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x88]
call fcn.00405684
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x7c]
call fcn.00405684
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.00405ed4
lea eax, [ebp - 0x68]
call fcn.00405684
lea eax, [ebp - 0x64]
mov edx, 8
call fcn.00405ed4
lea eax, [ebp - 0x44]
call fcn.00405684
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405ed4
lea eax, [ebp - 0x34]
call fcn.00405684
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x28]
call fcn.00405684
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x1c]
call fcn.00405684
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x10]
call fcn.00405684
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405ed4
ret