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

Disassembly:
push 0xffffffffffffffff
push 0x4f1e13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
call fcn.004d9b70
mov eax, dword [esp + 0xc4]
xor ebp, ebp
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0xb8], ebp
jle 0x4c31a1
dec eax
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esi + 0x20]
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 3
lea ecx, [esp + 0x54]
sete bl
call fcn.004ba050
test bl, bl
je 0x4c31a1
mov edi, 1
cmp dword [esi + 0x5c], ebp
je 0x4c33bf
cmp edi, ebp
je 0x4c33bf
cmp dword [esi + 0xf0], ebp
je 0x4c33bf
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], ebp
call fcn.004ba030
mov byte [esp + 0xb8], 1
xor ebx, ebx
lea edi, [esp + 0x70]
lea ebp, [esi + 0x20]
mov ecx, ebp
call fcn.004272c0
mov ecx, dword [esp + 0x20]
sub esp, 0x14
sub eax, ecx
mov edx, esp
mov dword [esp + 0x24], esp
push eax
push edx
mov ecx, ebp
call fcn.00416560
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x68]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x9c]
call fcn.004ba050
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
inc ecx
cmp eax, 0xa
mov dword [esp + 0x20], ecx
je 0x4c31d9
lea eax, [esp + 0x54]
lea ecx, [esp + 0x58]
neg eax
sbb eax, eax
add edi, 8
and eax, ecx
inc ebx
cmp ebx, 3
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi - 8], edx
mov dword [edi - 4], eax
jl 0x4c31d9
mov eax, dword [esi + 0xe0]
mov ebx, dword [esp + 0xc0]
test eax, eax
jne 0x4c3268
push 7
push ebx
lea ecx, [esi + 0x7c]
call fcn.004d9c60
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x80]
push ebp
push edi
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004c0740
test eax, eax
lea edx, [esi + 0x34]
je 0x4c3341
test edx, edx
je 0x4c32c2
lea eax, [esi + 0x38]
jmp 0x4c32c4
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x10]
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
call fcn.004346a0
lea eax, [esp + 0x24]
push eax
call fcn.004346a0
lea ecx, [esp + 0x20]
push ecx
call fcn.004346a0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov byte [esp + 0x2c], 0x14
jmp 0x4c339d
test edx, edx
je 0x4c334a
lea eax, [esi + 0x38]
jmp 0x4c334c
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
call fcn.004346a0
lea ecx, [esp + 0x14]
push ecx
call fcn.004346a0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x2c], 0xa
push 7
push ebx
lea ecx, [esp + 0x30]
call fcn.004d9c60
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 0
call fcn.004ba050
jmp 0x4c3529
mov eax, dword [esi + 0xdc]
cmp eax, ebp
mov eax, dword [esi + 0xe0]
je 0x4c3490
mov ebx, dword [esp + 0xc0]
cmp eax, ebp
jne 0x4c33e9
push 7
push ebx
lea ecx, [esi + 0x7c]
call fcn.004d9c60
lea eax, [esi + 0x48]
test eax, eax
je 0x4c33f5
lea eax, [esi + 0x4c]
jmp 0x4c33f7
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esi + 0x34]
mov dword [esp + 0x18], ecx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4c3410
lea eax, [esi + 0x38]
jmp 0x4c3412
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.004346a0
lea ecx, [esp + 0x14]
push ecx
call fcn.004346a0
lea edx, [esp + 0x28]
push edx
call fcn.004346a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov byte [esp + 0x2c], 0x14
jmp 0x4c3513
mov ebx, dword [esp + 0xc0]
cmp eax, ebp
jne 0x4c34a6
push 7
push ebx
lea ecx, [esi + 0x7c]
call fcn.004d9c60
lea eax, [esi + 0x34]
test eax, eax
je 0x4c34b2
lea eax, [esi + 0x38]
jmp 0x4c34b4
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
call fcn.004346a0
lea ecx, [esp + 0x14]
push ecx
call fcn.004346a0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x2c], 0xa
push 7
push ebx
lea ecx, [esp + 0x30]
call fcn.004d9c60
mov dword [esi + 0xf0], 1
mov cl, byte [esp + 0x2c]
sub esp, 0x2c
mov eax, esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebp
mov dword [esp + 0x3c], esp
mov byte [eax + 4], cl
mov dl, byte [esp + 0x59]
mov byte [eax + 5], dl
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x9c]
mov dword [eax + 0x28], ecx
push edx
lea ecx, [esi + 0x7c]
mov dword [eax], 0x4f67d4
call fcn.004d9bb0
lea ecx, [esp + 0x70]
call fcn.004d9ba0
lea ecx, [esp + 0x28]
mov dword [esi + 0xd8], 1
mov dword [esp + 0xb8], 0xffffffff
call fcn.004d9ba0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret 0x10