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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4f5d58
sub esp, 0x90
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
jne 0x4f5483
mov edx, dword [esp + 0xa0]
cmp word [edx], 0x7069
je 0x4f558f
jmp 0x4f5cad
cmp ecx, 3
je 0x4f5518
cmp ecx, 4
je 0x4f549d
mov edx, dword [esp + 0xa0]
jmp 0x4f5cad
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x659a97]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004028a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4f54eb
mov ecx, dword [esp + 0xa0]
cmp dword [ecx], 0x34706374
je 0x4f55d7
cmp dword [ecx], 0x36706374
je 0x4f55d7
jmp 0x4f550a
mov ecx, dword [esp + 0xa0]
cmp dword [ecx], 0x34706475
je 0x4f55d7
cmp dword [ecx], 0x36706475
je 0x4f55d7
mov edx, ecx
mov ecx, dword [esp + 0xa4]
jmp 0x4f5cad
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x6595e7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004028a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4f55ae
mov ecx, dword [esp + 0xa0]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4f5571
cmp byte [ecx + 2], 0x34
jne 0x4f556c
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
jmp 0x4f558f
cmp dx, 0x7069
jne 0x4f5ca4
cmp byte [ecx + 2], 0x36
jne 0x4f5ca4
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x4f55a3
mov eax, dword [esp + 0xa8]
jmp 0x4f55a7
xor ebx, ebx
xor eax, eax
xor ebp, ebp
jmp 0x4f56aa
mov ecx, dword [esp + 0xa0]
cmp word [ecx], 0x6374
jne 0x4f55c2
cmp byte [ecx + 2], 0x70
je 0x4f55d7
cmp word [ecx], 0x6475
jne 0x4f5ca4
cmp byte [ecx + 2], 0x70
jne 0x4f5ca4
mov edx, dword [esp + 0xac]
test edx, edx
jne 0x4f55ed
xor eax, eax
xor edx, edx
xor ebx, ebx
jmp 0x4f5696
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004f4e20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
test edx, edx
jne 0x4f5c6e
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x9c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa0]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004f8030
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x4f5c38
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0xa4]
mov ebp, eax
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea esi, [0x4f5d70]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebp
test ebx, ebx
jne 0x4f59d2
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0046293b
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
jne 0x4f570f
cmp word [edx], 0x7069
je 0x4f57e5
jmp 0x4f5d54
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x4f578f
cmp ecx, 4
jne 0x4f5d50
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x659a97]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004028a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4f576b
mov eax, dword [esp + 0xa0]
cmp dword [eax], 0x34706374
je 0x4f5863
cmp dword [eax], 0x36706374
je 0x4f5863
jmp 0x4f5cf9
mov eax, dword [esp + 0xa0]
cmp dword [eax], 0x34706475
je 0x4f58e9
cmp dword [eax], 0x36706475
je 0x4f58e9
jmp 0x4f5cf9
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x6595e7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.004028a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4f584f
mov eax, dword [esp + 0xa0]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x4f57d5
cmp byte [eax + 2], 0x34
je 0x4f57e5
cmp cx, 0x7069
jne 0x4f5cf9
cmp byte [eax + 2], 0x36
jne 0x4f5cf9
lea eax, [0x637280]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f5817
mov dword [edi], eax
jmp 0x4f581c
call fcn.004626c0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f5836
mov dword [edi + 0xc], eax
jmp 0x4f5844
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.004626c0
mov edi, edx
lea eax, [0x6c3e60]
jmp 0x4f5955
mov eax, dword [esp + 0xa0]
cmp word [eax], 0x6374
jne 0x4f58d4
cmp byte [eax + 2], 0x70
jne 0x4f58d4
lea eax, [0x63e480]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f5895
mov dword [edi], eax
jmp 0x4f589a
call fcn.004626c0
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f58bb
mov dword [edi + 0x10], eax
jmp 0x4f58c9
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.004626c0
mov edi, edx
lea eax, [0x6c3e78]
jmp 0x4f5955
cmp word [eax], 0x6475
jne 0x4f5cf9
cmp byte [eax + 2], 0x70
jne 0x4f5cf9
lea eax, [0x63e500]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f591b
mov dword [edi], eax
jmp 0x4f5920
call fcn.004626c0
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f5941
mov dword [edi + 0x10], eax
jmp 0x4f594f
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.004626c0
mov edi, edx
lea eax, [0x6c3e90]
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
lea ecx, [0x6236e0]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f5988
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x4f5998
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.004626c0
mov eax, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0x90
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.004f7200
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x4f5c02
mov dword [esp + 0x38], ebp
cmp ebp, 1
je 0x4f5a3c
xor eax, eax
jmp 0x4f5a8b
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [0x84f6f8]
mov esi, dword [0x84f6fc]
mov edi, dword [0x84f700]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004f2520
movzx eax, byte [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
test al, al
je 0x4f5b52
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0046293b
mov ecx, dword [0x855398]
mov edx, dword [0x85539c]
mov eax, ebx
mov ebx, dword [0x8553a0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
lea ecx, [ebp + 1]
cmp esi, ecx
jae 0x4f5afe
lea edx, [0x637280]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0044b2b0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov ebp, dword [esp + 0x38]
mov eax, ebx
mov dword [esp + 0x38], ecx
mov edx, dword [0x87bd00]
lea ebx, [ebp + ebp*4]
lea edi, [eax + ebx*4]
test edx, edx
jne 0x4f5b20
mov edx, esi
lea esi, [esp + 0x7c]
call fcn.00462e1e
jmp 0x4f5b4a
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], esi
lea eax, [0x637280]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00410890
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov esi, edx
mov ebp, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4f5b7b
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + eax - 1]
cmp byte [edx], 0x34
jne 0x4f5b77
test eax, eax
lea edx, [0x675218]
jmp 0x4f5b87
test eax, eax
jmp 0x4f5b82
mov ecx, dword [esp + 0xa0]
mov edx, 0
je 0x4f5b98
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x36
jne 0x4f5b98
lea edx, [0x67521c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea eax, [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004f4ac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebp
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
add esp, 0x90
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebp
add esp, 0x90
ret
mov edx, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [0x6c3b94]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
mov dword [esp], 0
lea ecx, [0x660e3f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
call fcn.0044e9d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6282a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004369c0
mov eax, edx
jmp 0x4f5cf9
mov eax, edx
jmp 0x4f5cf9
call fcn.004612b0
jmp fcn.004f5440