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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4fbc49
sub esp, 0x9c
mov ecx, dword [esp + 0xb0]
cmp ecx, 2
jne 0x4fb967
mov edx, dword [esp + 0xac]
cmp word [edx], 0x7069
jne 0x4fb91b
mov ebx, dword [esp + 0xb8]
test ebx, ebx
je 0x4fb912
mov eax, dword [esp + 0xb4]
xor ebp, ebp
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea esi, [0x505c90]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
test ebx, ebx
jne 0x4fb677
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0045e49b
mov ecx, dword [esp + 0xb0]
cmp ecx, 2
jne 0x4fb484
cmp word [edx], 0x7069
jne 0x4fbbf8
lea eax, [0x5b1220]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb47a
mov dword [edi], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb467
mov dword [edi + 0xc], eax
lea eax, [0x611674]
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
lea ecx, [0x5a1c60]
mov dword [esp], ecx
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb455
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0x9c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e220
mov eax, ecx
jmp 0x4fb41b
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045e220
mov edi, edx
jmp 0x4fb3e4
call fcn.0045e220
jmp 0x4fb3c2
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x4fb5ea
cmp ecx, 4
jne 0x4fbbf4
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x5d0110]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004027f0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fb557
mov eax, dword [esp + 0xac]
cmp dword [eax], 0x34706374
jne 0x4fb54a
lea eax, [0x5b7340]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb543
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb533
mov dword [edi + 0x10], eax
lea eax, [0x61168c]
jmp 0x4fb3ea
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045e220
mov edi, edx
jmp 0x4fb528
call fcn.0045e220
jmp 0x4fb503
cmp dword [eax], 0x36706374
je 0x4fb4d3
jmp 0x4fbbe9
mov eax, dword [esp + 0xac]
cmp dword [eax], 0x34706475
jne 0x4fb5dd
lea eax, [0x5b73c0]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb5d6
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4fb5c6
mov dword [edi + 0x10], eax
lea eax, [0x6116a4]
jmp 0x4fb3ea
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045e220
mov edi, edx
jmp 0x4fb5bb
call fcn.0045e220
jmp 0x4fb596
cmp dword [eax], 0x36706475
je 0x4fb566
jmp 0x4fbbe9
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x5cff3e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.004027f0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fb645
mov eax, dword [esp + 0xac]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x4fb630
cmp byte [eax + 2], 0x34
je 0x4fb38e
cmp cx, 0x7069
jne 0x4fbbe9
cmp byte [eax + 2], 0x36
je 0x4fb38e
jmp 0x4fbbe9
mov eax, dword [esp + 0xac]
cmp word [eax], 0x6374
jne 0x4fb65d
cmp byte [eax + 2], 0x70
je 0x4fb4d3
cmp word [eax], 0x6475
jne 0x4fbbe9
cmp byte [eax + 2], 0x70
je 0x4fb566
jmp 0x4fbbe9
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], eax
mov ebp, dword [esp + 0xa0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xa8]
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.004fcc70
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 0x4fb8dc
mov dword [esp + 0x38], ebp
cmp ebp, 1
je 0x4fb888
xor eax, eax
test al, al
je 0x4fb87d
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045e49b
mov ecx, dword [0x701698]
mov edx, dword [0x70169c]
mov eax, ebx
mov ebx, dword [0x7016a0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
lea ecx, [ebp + 1]
cmp esi, ecx
jb 0x4fb849
mov dword [esp + 0x3c], ecx
mov edx, dword [0x71e9f0]
lea ebx, [ebp + ebp*4]
lea edi, [eax + ebx*4]
test edx, edx
jne 0x4fb817
mov edx, esi
lea esi, [esp + 0x88]
call fcn.0045e97e
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xb0]
test ebx, ebx
je 0x4fb80e
mov ebp, dword [esp + 0xac]
lea esi, [ebp + ebx - 1]
cmp byte [esi], 0x34
jne 0x4fb802
test ebx, ebx
lea esi, [0x5df054]
je 0x4fb7fe
lea ebx, [ebp + ebx - 1]
cmp byte [ebx], 0x36
jne 0x4fb7fe
lea ebx, [0x5df058]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea eax, [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
call fcn.004fa940
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 + 0xbc], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ebp
add esp, 0x9c
ret
mov ebx, esi
jmp 0x4fb794
test ebx, ebx
mov esi, 0
jmp 0x4fb783
mov ebp, dword [esp + 0xac]
jmp 0x4fb804
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], esi
lea eax, [0x5b1220]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.004106e0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
jmp 0x4fb754
lea edx, [0x5b1220]
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.00445360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov ebp, dword [esp + 0x38]
jmp 0x4fb72d
mov edx, esi
mov ecx, ebp
mov eax, ebx
jmp 0x4fb758
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [0x6fcfb0]
mov esi, dword [0x6fcfb4]
mov edi, dword [0x6fcfb8]
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.004f8dc0
movzx eax, byte [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
jmp 0x4fb6e3
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0x9c
ret
xor ebx, ebx
xor eax, eax
jmp 0x4fb328
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409170
mov eax, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x610cac]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
cmp ecx, 3
je 0x4fbb3b
cmp ecx, 4
je 0x4fb97e
mov edx, dword [esp + 0xac]
jmp 0x4fb91b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5d0110]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004027f0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fbb1a
mov ecx, dword [esp + 0xac]
cmp dword [ecx], 0x34706374
jne 0x4fbb02
mov edx, dword [esp + 0xb8]
test edx, edx
jne 0x4fb9ec
xor eax, eax
xor edx, edx
xor ebx, ebx
mov ecx, dword [esp + 0xb0]
mov ebp, eax
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0xac]
jmp 0x4fb32a
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004facb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4fbacc
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
mov esi, dword [esp + 0xac]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.004fd720
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x4fba96
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x60]
jmp 0x4fb9d3
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
add esp, 0x9c
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0x9c
ret
cmp dword [ecx], 0x36706374
je 0x4fb9c2
mov ecx, dword [esp + 0xb0]
jmp 0x4fb975
mov ecx, dword [esp + 0xac]
cmp dword [ecx], 0x34706475
je 0x4fb9c2
cmp dword [ecx], 0x36706475
je 0x4fb9c2
jmp 0x4fbb0e
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5cff3e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004027f0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fbbbe
mov ecx, dword [esp + 0xac]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4fbb97
cmp byte [ecx + 2], 0x34
jne 0x4fbb92
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x4fb312
cmp dx, 0x7069
jne 0x4fbbb2
cmp byte [ecx + 2], 0x36
jne 0x4fbbb2
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x4fb312
mov ecx, dword [esp + 0xb0]
jmp 0x4fb975
mov ecx, dword [esp + 0xac]
cmp word [ecx], 0x6374
jne 0x4fbbd6
cmp byte [ecx + 2], 0x70
je 0x4fb9c2
cmp word [ecx], 0x6475
jne 0x4fbbb2
cmp byte [ecx + 2], 0x70
je 0x4fb9c2
jmp 0x4fbbb2
mov ecx, dword [esp + 0xb0]
mov edx, eax
jmp 0x4fbbf8
mov eax, edx
jmp 0x4fbbe9
mov dword [esp], 0
lea eax, [0x5d454c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004486c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x5a5ba0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431c00
nop
call fcn.0045ccc0
jmp fcn.004fb2d0