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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4fde1d
sub esp, 0x94
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4fd67d
mov edx, dword [esp + 0xa4]
cmp word [edx], 0x7069
je 0x4fd6b3
jmp 0x4fdd80
cmp ecx, 3
jne 0x4fd6f5
mov edx, dword [esp + 0xa4]
cmp byte [edx], 0x69
jg 0x4fd6d2
movzx ebx, word [edx]
cmp bx, 0x7069
jne 0x4fd6a3
cmp byte [edx + 2], 0x34
je 0x4fd6b3
cmp bx, 0x7069
jne 0x4fdd80
cmp byte [edx + 2], 0x36
jne 0x4fdd80
mov ebx, dword [esp + 0xb0]
test ebx, ebx
je 0x4fd6c7
mov eax, dword [esp + 0xac]
jmp 0x4fd6cb
xor ebx, ebx
xor eax, eax
xor ebp, ebp
jmp 0x4fd7f1
cmp word [edx], 0x6374
jne 0x4fd6df
cmp byte [edx + 2], 0x70
je 0x4fd733
cmp word [edx], 0x6475
jne 0x4fdd80
cmp byte [edx + 2], 0x70
je 0x4fd733
jmp 0x4fdd80
cmp ecx, 4
jne 0x4fdd79
mov edx, dword [esp + 0xa4]
cmp byte [edx], 0x74
jg 0x4fd71f
cmp dword [edx], 0x34706374
je 0x4fd733
cmp dword [edx], 0x36706374
je 0x4fd733
jmp 0x4fdd80
cmp dword [edx], 0x34706475
je 0x4fd733
cmp dword [edx], 0x36706475
jne 0x4fdd80
mov ebx, dword [esp + 0xb0]
test ebx, ebx
jne 0x4fd749
xor ebx, ebx
xor eax, eax
xor ebp, ebp
jmp 0x4fd7e9
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004fd050
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4fdd3f
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00500330
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fdd05
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x64]
mov esi, ebp
mov ebp, ebx
mov ebx, eax
mov eax, esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea esi, [0x4fde30]
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ebp
test ebx, ebx
jne 0x4fdaa1
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046c08b
mov ecx, dword [esp + 0xa8]
cmp ecx, 2
jne 0x4fd86a
cmp word [edx], 0x7069
je 0x4fd8a3
jmp 0x4fddcc
mov dword [esp + 0x34], ebp
cmp ecx, 3
jne 0x4fd92b
cmp byte [edx], 0x69
jg 0x4fd904
movzx eax, word [edx]
cmp ax, 0x7069
jne 0x4fd893
cmp byte [edx + 2], 0x34
je 0x4fd8a3
cmp ax, 0x7069
jne 0x4fddcc
cmp byte [edx + 2], 0x36
jne 0x4fddcc
lea eax, [0x5eab60]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fd8d8
call fcn.0046be70
mov dword [edi], ebx
mov dword [eax], ebx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fd8f6
call fcn.0046be70
mov dword [edi], edx
mov dword [eax + 0xc], edx
lea ecx, [0x659110]
jmp 0x4fda29
cmp word [edx], 0x6374
jne 0x4fd911
cmp byte [edx + 2], 0x70
je 0x4fd94d
cmp word [edx], 0x6475
jne 0x4fddcc
cmp byte [edx + 2], 0x70
je 0x4fd9c6
jmp 0x4fddcc
cmp ecx, 4
jne 0x4fddcc
cmp byte [edx], 0x74
jg 0x4fd9b2
cmp dword [edx], 0x34706374
je 0x4fd94d
cmp dword [edx], 0x36706374
jne 0x4fddcc
lea eax, [0x5efd80]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fd982
call fcn.0046be70
mov dword [edi], ebx
mov dword [eax], ebx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fd9a7
call fcn.0046be70
mov dword [edi], edx
mov dword [eax + 0x10], edx
lea ecx, [0x6590f8]
jmp 0x4fda29
cmp dword [edx], 0x34706475
je 0x4fd9c6
cmp dword [edx], 0x36706475
jne 0x4fddcc
lea eax, [0x5efd00]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fd9fb
call fcn.0046be70
mov dword [edi], ebx
mov dword [eax], ebx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x4fda20
call fcn.0046be70
mov dword [edi], edx
mov dword [eax + 0x10], edx
lea ecx, [0x6590e0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], eax
lea edx, [0x5dc9a0]
mov dword [esp], edx
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x4fda59
mov ecx, dword [esp + 0x48]
jmp 0x4fda64
call fcn.0046be70
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x94
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], eax
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xa0]
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.004ff4e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4fdccb
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edx, 1
je 0x4fdb03
xor eax, eax
jmp 0x4fdb52
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [0x790a10]
mov esi, dword [0x790a14]
mov edi, dword [0x790a18]
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.004fb040
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
test al, al
je 0x4fdc18
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0046c08b
lea ecx, [edx + 1]
mov edx, dword [0x79b160]
mov ebp, dword [0x79b164]
mov eax, dword [0x79b168]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jae 0x4fdbbe
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5eab60]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [0x7da640]
lea ebp, [ecx + ecx*4]
lea edi, [ebx + ebp*4 - 0x14]
test eax, eax
je 0x4fdc09
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], edi
lea eax, [0x5eab60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00412350
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x70]
call fcn.0046c56e
mov ecx, edx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4fdc41
mov ebp, dword [esp + 0xa4]
lea esi, [ebp + eax - 1]
cmp byte [esi], 0x34
jne 0x4fdc3d
test eax, eax
lea esi, [0x620858]
jmp 0x4fdc4d
test eax, eax
jmp 0x4fdc48
mov ebp, dword [esp + 0xa4]
mov esi, 0
je 0x4fdc5e
lea eax, [ebp + eax - 1]
cmp byte [eax], 0x36
jne 0x4fdc5e
lea esi, [0x62085c]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004fcd50
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 + 0xb4], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ebp
add esp, 0x94
ret
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x94
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x94
ret
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x94
ret
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040aa80
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x658e14]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
mov dword [esp], 0
lea eax, [0x60f87e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00453a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004391b0
nop
call fcn.0046aa70
jmp fcn.004fd640