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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x4c15bc
sub esp, 0xec
jmp 0x4c11b7
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
lea eax, [0x4e0492]
mov dword [esp], eax
mov dword [esp + 4], 3
mov ecx, dword [esp + 0xf0]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xc], edx
call fcn.0049e1e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jmp 0x4c123c
mov dword [esp + 4], 0
mov dword [esp], 0xb2d05e00
call fcn.0045a2a0
lea eax, [0x4e0492]
mov dword [esp], eax
mov dword [esp + 4], 3
mov ecx, dword [esp + 0xf0]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xc], edx
call fcn.0049e1e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c11a3
jmp 0x4c1152
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00449370
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
lea edx, [0x4d05c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408cc0
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ebx, [0x507344]
cmp ecx, ebx
je 0x4c126e
mov eax, 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], edx
jne 0x4c1285
cmp dword [eax + 4], 0x1000
jge 0x4c132e
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0045c175
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00445bf0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045c175
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1000
mov dword [esp + 0x9c], 0x1000
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], 0xffffffff
lea edi, [esp + 0xc0]
lea esi, [esp + 0x94]
call fcn.0045c622
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.004afb80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4c11b7
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x4e02f9]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
lea ecx, [0x4e0bb3]
mov dword [esp], ecx
mov dword [esp + 4], 7
lea edx, [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00498560
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
lea ecx, [0x4d9d20]
mov dword [esp], ecx
call fcn.0040b170
mov eax, dword [esp + 4]
mov byte [eax], 1
mov ecx, dword [esp + 0x6c]
test byte [ecx], al
mov edx, dword [0x5bb250]
test edx, edx
jne 0x4c1404
mov dword [ecx + 0x4c], eax
jmp 0x4c140c
lea edi, [ecx + 0x4c]
call fcn.0045bfa0
lea eax, [0x4d4720]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
lea ecx, [0x4d4720]
mov dword [esp], ecx
call fcn.0040b170
mov eax, dword [esp + 4]
lea ecx, [0x507358]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x30], ecx
mov ebx, dword [0x5bb250]
test ebx, ebx
jne 0x4c1454
mov ebx, dword [esp + 0x7c]
mov dword [edx + 0x34], ebx
jmp 0x4c1468
lea edi, [edx + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045bfa0
mov eax, ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov dword [edx + 0x38], ecx
mov ebp, dword [0x5bb250]
test ebp, ebp
jne 0x4c1481
mov dword [edx + 0x3c], eax
jmp 0x4c1489
lea edi, [edx + 0x3c]
call fcn.0045bfa0
mov dword [esp], edx
call fcn.00499340
mov eax, dword [esp + 4]
test eax, eax
je 0x4c14c7
lea eax, [0x4e05ad]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c1000
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4c1512
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x4c15b6
lea edx, [esp + 0x44]
mov dword [esp], edx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
lea edx, [ebx + ebp]
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.00449210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x4c151d
mov ecx, 5
lea eax, [0x4e06bc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00449370
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4c15a1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp ecx, eax
jb 0x4c15b1
lea ebp, [esp + 0x24]
mov dword [esp], ebp
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
add edx, ebx
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.00449210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x4c11f8
mov ecx, 5
lea eax, [0x4e06bc]
jmp 0x4c11f8
call fcn.0045c080
call fcn.0045c080
nop
call fcn.0045ab60
jmp fcn.004c1130