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

Disassembly:
push 0xffffffffffffffff
push 0x66223e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov dword [esp + 0x44], 0x6f1b74
mov dword [esp + 0x48], 6
call fcn.00498870
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, 5
je 0x4c0688
cmp eax, 4
je 0x4c0688
xor eax, eax
jmp 0x4c0bd7
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x6f1b68
push ecx
mov ecx, edi
mov dword [esp + 0x38], 0xb
call fcn.00498870
push 4
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.0049b150
xor ebx, ebx
push 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], ebx
call fcn.0049b150
mov eax, dword [esi + 4]
mov byte [esp + 0x9c], 1
cmp eax, 5
jne 0x4c0781
cmp ebp, ebx
je 0x4c06e5
cmp dword [ebp + 4], 5
je 0x4c06e5
xor ebp, ebp
mov eax, dword [esi + 0x10]
xor edi, edi
cmp eax, ebx
jbe 0x4c07ea
lea edx, [esp + 0x14]
push edi
push edx
mov ecx, esi
call fcn.00498390
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 2
call fcn.0049b340
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x9c], 3
je 0x4c0737
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00499b80
cmp ebp, ebx
mov byte [esp + 0x9c], 2
je 0x4c0753
push edi
mov ecx, ebp
call fcn.00498430
mov edx, dword [esp + 0x4c]
push eax
push edx
jmp 0x4c0759
mov eax, dword [esp + 0x4c]
push ebx
push eax
lea ecx, [esp + 0x50]
call fcn.004e6060
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.00499a60
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x4c06f2
jmp 0x4c07ea
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00497720
mov esi, eax
mov edx, dword [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 4
call fcn.0049b340
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x9c], 5
je 0x4c07c3
push esi
mov ecx, eax
call fcn.00499b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 1
call fcn.00499a60
mov ecx, ebp
call fcn.00497890
push eax
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x50]
call fcn.004e6060
mov eax, dword [esp + 0x20]
cmp eax, 1
jle 0x4c07fa
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0xc4], ebx
je 0x4c08ac
cmp eax, 1
jne 0x4c08ac
lea ecx, [esp + 0x30]
mov esi, 0x6f1e78
mov edi, 0xb
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.00499da0
test al, al
je 0x4c08a8
mov edx, dword [esp + 0x48]
cmp dword [edx], ebx
jne 0x4c08a8
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.00499ca0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x9c], 0
mov dword [ecx], edx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xbc]
mov dword [eax], ecx
lea ecx, [esp + 0x48]
mov dword [edx], ebx
call fcn.0049b170
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9c], 6
call fcn.004c1180
jmp 0x4c0bbe
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
test eax, eax
jle 0x4c0b40
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul eax, ebx
add eax, edx
lea ecx, [esp + 0x10]
push eax
call fcn.00499b80
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xa0], 7
mov ebp, dword [ecx + ebx*4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x34], 0x6f1e78
mov dword [esp + 0x38], 0xb
call fcn.00499da0
test al, al
jne 0x4c0adc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x44], 0x6f2384
mov dword [esp + 0x48], 2
call fcn.00499da0
test al, al
jne 0x4c0adc
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x6f2378
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 9
call fcn.00499da0
test al, al
jne 0x4c0ac3
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x70], 0x6f2374
mov dword [esp + 0x74], 3
call fcn.00499da0
test al, al
jne 0x4c0ac3
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x60], 0x6f23a0
mov dword [esp + 0x64], 0xd
call fcn.00499da0
test al, al
jne 0x4c0aad
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], 0x6f239c
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 3
call fcn.00499da0
test al, al
jne 0x4c0aad
lea edx, [esp + 0x84]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x88], 0x6f238c
mov dword [esp + 0x8c], 0xe
call fcn.00499da0
test al, al
jne 0x4c0a97
lea eax, [esp + 0x74]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x78], 0x6f2388
mov dword [esp + 0x7c], 3
call fcn.00499da0
test al, al
jne 0x4c0a97
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0x6f2360
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xf
call fcn.00499da0
test al, al
jne 0x4c0a81
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x3c], 0x6f235c
mov dword [esp + 0x40], 2
call fcn.00499da0
test al, al
je 0x4c0bf0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push edi
call fcn.004c0120
add esp, 0x10
jmp 0x4c0afb
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push esi
push edi
call fcn.004bfe30
add esp, 0x10
jmp 0x4c0afb
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push edi
call fcn.004bf4e0
add esp, 0x10
jmp 0x4c0afb
mov edx, dword [esp + 0xc0]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push ebp
push esi
push edi
push 1
jmp 0x4c0af3
mov edx, dword [esp + 0xc0]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push ebp
push esi
push edi
push 0
call fcn.004bf8e0
add esp, 0x1c
mov esi, eax
mov eax, dword [esp + 0xa4]
cmp edi, eax
je 0x4c0b11
push edi
call fcn.00493a70
add esp, 4
cmp esi, 0xffffffff
je 0x4c0ccd
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.00499a60
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4c08c2
mov ecx, dword [esp + 0xb8]
push 0x7427d8
call fcn.00499c60
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov byte [esp + 0x9c], 0
mov dword [eax], 0
mov dword [ecx], edi
lea ecx, [esp + 0x48]
mov dword [edx], esi
call fcn.0049b170
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
mov dword [esp + 0x9c], 0xa
jle 0x4c0bb1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul ecx, esi
add ecx, edx
call fcn.00499a60
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x4c0b96
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.0049b180
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0049b170
mov eax, 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret
lea eax, [esp + 0x38]
mov ebx, 3
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0x6f2370
mov dword [esp + 0x40], ebx
call fcn.00499da0
test al, al
je 0x4c0c1a
push 0x6f1b88
jmp 0x4c0c3d
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x6f23b0
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.00499da0
test al, al
je 0x4c0c46
push 0x6f23c4
lea ecx, [esp + 0x14]
call fcn.00499c60
mov ecx, dword [esp + 0xb8]
lea edx, [esp + 0x10]
push edx
call fcn.00499cd0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov byte [esp + 0x9c], 1
mov dword [eax], ebp
mov dword [ecx], edi
lea ecx, [esp + 0x10]
mov dword [edx], esi
call fcn.00499a60
lea ecx, [esp + 0x48]
mov byte [esp + 0x9c], 0
call fcn.0049b170
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
mov dword [esp + 0x9c], 8
jle 0x4c0bb1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul ecx, esi
add ecx, edx
call fcn.00499a60
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x4c0cad
jmp 0x4c0bb1
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.00499a60
lea ecx, [esp + 0x48]
mov byte [esp + 0x9c], 0
call fcn.0049b170
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
mov dword [esp + 0x9c], 9
jle 0x4c0d1f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul ecx, esi
add ecx, edx
call fcn.00499a60
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x4c0d04
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.0049b180
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0049b170
xor eax, eax
jmp 0x4c0bd7