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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5a46
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c530d
lea eax, [0x4f1220]
mov dword [esp], eax
call fcn.0040aa30
mov edi, dword [esp + 4]
mov eax, dword [0x62b220]
test eax, eax
jne 0x4c510c
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x4c5115
mov eax, dword [esp + 0x68]
call fcn.0045d410
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x4c5159
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x4c512f
xor edx, edx
xor ebp, ebp
jmp 0x4c5180
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
jmp 0x4c5180
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edx
mov esi, dword [eax + 0x140]
mov ecx, dword [eax + 0x144]
cmp ecx, 4
jne 0x4c51a3
cmp dword [esi], 0x78696e75
je 0x4c51f7
jmp 0x4c521c
cmp ecx, 8
jne 0x4c51bb
cmp dword [esi], 0x78696e75
jne 0x4c521c
cmp dword [esi + 4], 0x6d617267
je 0x4c51f7
jmp 0x4c521c
cmp ecx, 0xa
jne 0x4c521c
mov dword [esp], esi
lea eax, [0x505cd2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c5208
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
jmp 0x4c52ba
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
movzx ebx, byte [esi + ecx - 1]
cmp bl, 0x34
je 0x4c52ba
cmp bl, 0x36
je 0x4c52ba
cmp dword [eax + 0x134], 2
jne 0x4c5280
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x537764]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004499d0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4c52ba
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x537768]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004499d0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x84]
mov ebx, dword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
lea ecx, [0x538970]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x84]
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x4c5a34
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4c531b
xor ebp, ebp
xor esi, esi
jmp 0x4c5394
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x4c5a22
test ebp, ebp
je 0x4c5394
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004672d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4c59b7
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4c545a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x4c5448
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004b8850
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4c5436
mov eax, dword [esp + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x4c5482
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004b8740
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4c59a5
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004673b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c565b
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4c54e5
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c54cb
lea ebp, [0x51144c]
jmp 0x4c5522
cmp ebp, 2
jne 0x4c54d8
lea ebp, [0x511444]
jmp 0x4c5522
cmp ebp, 5
jne 0x4c551c
lea ebp, [0x511448]
jmp 0x4c5522
cmp ebp, 2
je 0x4c54ef
cmp ebp, 0x17
jne 0x4c551c
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c5502
lea ebp, [0x51143c]
jmp 0x4c5522
cmp ebp, 2
jne 0x4c550f
lea ebp, [0x511440]
jmp 0x4c5522
cmp ebp, 3
jne 0x4c551c
lea ebp, [0x511438]
jmp 0x4c5522
lea ebp, [0x5113e0]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4c557c
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c5562
lea ecx, [0x51144c]
jmp 0x4c55b9
cmp ecx, 2
jne 0x4c556f
lea ecx, [0x511444]
jmp 0x4c55b9
cmp ecx, 5
jne 0x4c55b3
lea ecx, [0x511448]
jmp 0x4c55b9
cmp ecx, 2
je 0x4c5586
cmp ecx, 0x17
jne 0x4c55b3
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c5599
lea ecx, [0x51143c]
jmp 0x4c55b9
cmp ecx, 2
jne 0x4c55a6
lea ecx, [0x511440]
jmp 0x4c55b9
cmp ecx, 3
jne 0x4c55b3
lea ecx, [0x511438]
jmp 0x4c55b9
lea ecx, [0x5113e4]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x62b220]
test ebx, ebx
jne 0x4c55fa
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x4c560d
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0045d410
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x62b220]
test ecx, ecx
jne 0x4c5625
mov dword [ebp + 0x154], eax
jmp 0x4c5630
lea edi, [ebp + 0x154]
call fcn.0045d410
lea eax, [0x500b20]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4ec680]
mov dword [esp + 8], eax
lea eax, [0x5113dc]
mov dword [esp + 0xc], eax
call fcn.00413370
jmp 0x4c598b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00467490
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x4c5845
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4c56ca
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c56b0
lea edx, [0x51144c]
jmp 0x4c5707
cmp ebp, 2
jne 0x4c56bd
lea edx, [0x511444]
jmp 0x4c5707
cmp ebp, 5
jne 0x4c5701
lea edx, [0x511448]
jmp 0x4c5707
cmp ebp, 2
je 0x4c56d4
cmp ebp, 0x17
jne 0x4c5701
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c56e7
lea edx, [0x51143c]
jmp 0x4c5707
cmp ebp, 2
jne 0x4c56f4
lea edx, [0x511440]
jmp 0x4c5707
cmp ebp, 3
jne 0x4c5701
lea edx, [0x511438]
jmp 0x4c5707
lea edx, [0x5113e8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4c5766
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c574c
lea ecx, [0x51144c]
jmp 0x4c57a3
cmp ecx, 2
jne 0x4c5759
lea ecx, [0x511444]
jmp 0x4c57a3
cmp ecx, 5
jne 0x4c579d
lea ecx, [0x511448]
jmp 0x4c57a3
cmp ecx, 2
je 0x4c5770
cmp ecx, 0x17
jne 0x4c579d
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c5783
lea ecx, [0x51143c]
jmp 0x4c57a3
cmp ecx, 2
jne 0x4c5790
lea ecx, [0x511440]
jmp 0x4c57a3
cmp ecx, 3
jne 0x4c579d
lea ecx, [0x511438]
jmp 0x4c57a3
lea ecx, [0x5113ec]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x62b220]
test ebx, ebx
jne 0x4c57e4
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x14c], edx
jmp 0x4c57f7
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0045d410
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x62b220]
test ecx, ecx
jne 0x4c580f
mov dword [ebp + 0x154], eax
jmp 0x4c581a
lea edi, [ebp + 0x154]
call fcn.0045d410
lea eax, [0x500b20]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4ec680]
mov dword [esp + 8], eax
lea eax, [0x5113dc]
mov dword [esp + 0xc], eax
call fcn.00413370
jmp 0x4c598b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4c5881
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c5867
lea ecx, [0x51144c]
jmp 0x4c58be
cmp ecx, 2
jne 0x4c5874
lea ecx, [0x511444]
jmp 0x4c58be
cmp ecx, 5
jne 0x4c58b8
lea ecx, [0x511448]
jmp 0x4c58be
cmp ecx, 2
je 0x4c588b
cmp ecx, 0x17
jne 0x4c58b8
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c589e
lea ecx, [0x51143c]
jmp 0x4c58be
cmp ecx, 2
jne 0x4c58ab
lea ecx, [0x511440]
jmp 0x4c58be
cmp ecx, 3
jne 0x4c58b8
lea ecx, [0x511438]
jmp 0x4c58be
lea ecx, [0x5113f0]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea ebx, [0x4f1920]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.00408510
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x62b220]
test ecx, ecx
jne 0x4c5921
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x14c], ecx
jmp 0x4c5934
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045d410
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0x62b220]
test ecx, ecx
jne 0x4c5953
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x154], eax
jmp 0x4c5965
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x80]
call fcn.0045d410
lea eax, [0x500b20]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x4ec680]
mov dword [esp + 8], eax
lea eax, [0x5113dc]
mov dword [esp + 0xc], eax
call fcn.00413370
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x4f3540]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x504b74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x62b220]
test ecx, ecx
jne 0x4c59fa
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
jmp 0x4c5a0a
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045d410
mov eax, ecx
lea ecx, [0x5386b8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
call fcn.0045c000
jmp fcn.004c50c0