Function at 0x4fb9f0
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 0x4fc369
sub esp, 0x9c
mov ecx, dword [esp + 0xb0]
cmp ecx, 2
jne 0x4fc087
mov edx, dword [esp + 0xac]
cmp word [edx], 0x7069
jne 0x4fc03b
mov ebx, dword [esp + 0xb8]
test ebx, ebx
je 0x4fc032
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, [0x504bd0]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
test ebx, ebx
jne 0x4fbd97
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0045e1fb
mov ecx, dword [esp + 0xb0]
cmp ecx, 2
jne 0x4fbba4
cmp word [edx], 0x7069
jne 0x4fc318
lea eax, [0x5ca280]
mov dword [esp], eax
call fcn.0040b8e0
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 [0x770e60]
test ecx, ecx
jne 0x4fbb9a
mov dword [edi], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4fbb87
mov dword [edi + 0xc], eax
lea eax, [0x63aec8]
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
lea ecx, [0x5ba500]
mov dword [esp], ecx
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4fbb75
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.0045df70
mov eax, ecx
jmp 0x4fbb3b
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045df70
mov edi, edx
jmp 0x4fbb04
call fcn.0045df70
jmp 0x4fbae2
mov dword [esp + 0x34], ebp
cmp ecx, 3
je 0x4fbd0a
cmp ecx, 4
jne 0x4fc314
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x5eb80b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00402790
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fbc77
mov eax, dword [esp + 0xac]
cmp dword [eax], 0x34706374
jne 0x4fbc6a
lea eax, [0x5cff20]
mov dword [esp], eax
call fcn.0040b8e0
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 [0x770e60]
test ecx, ecx
jne 0x4fbc63
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 [0x770e60]
test ecx, ecx
jne 0x4fbc53
mov dword [edi + 0x10], eax
lea eax, [0x63aee0]
jmp 0x4fbb0a
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045df70
mov edi, edx
jmp 0x4fbc48
call fcn.0045df70
jmp 0x4fbc23
cmp dword [eax], 0x36706374
je 0x4fbbf3
jmp 0x4fc309
mov eax, dword [esp + 0xac]
cmp dword [eax], 0x34706475
jne 0x4fbcfd
lea eax, [0x5cffa0]
mov dword [esp], eax
call fcn.0040b8e0
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 [0x770e60]
test ecx, ecx
jne 0x4fbcf6
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 [0x770e60]
test ecx, ecx
jne 0x4fbce6
mov dword [edi + 0x10], eax
lea eax, [0x63aef8]
jmp 0x4fbb0a
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0045df70
mov edi, edx
jmp 0x4fbcdb
call fcn.0045df70
jmp 0x4fbcb6
cmp dword [eax], 0x36706475
je 0x4fbc86
jmp 0x4fc309
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x5eb584]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00402790
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fbd65
mov eax, dword [esp + 0xac]
movzx ecx, word [eax]
cmp cx, 0x7069
jne 0x4fbd50
cmp byte [eax + 2], 0x34
je 0x4fbaae
cmp cx, 0x7069
jne 0x4fc309
cmp byte [eax + 2], 0x36
je 0x4fbaae
jmp 0x4fc309
mov eax, dword [esp + 0xac]
cmp word [eax], 0x6374
jne 0x4fbd7d
cmp byte [eax + 2], 0x70
je 0x4fbbf3
cmp word [eax], 0x6475
jne 0x4fc309
cmp byte [eax + 2], 0x70
je 0x4fbc86
jmp 0x4fc309
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.004fd390
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 0x4fbffc
mov dword [esp + 0x38], ebp
cmp ebp, 1
je 0x4fbfa8
xor eax, eax
test al, al
je 0x4fbf9d
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045e1fb
mov ecx, dword [0x7530b8]
mov edx, dword [0x7530bc]
mov eax, ebx
mov ebx, dword [0x7530c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
lea ecx, [ebp + 1]
cmp esi, ecx
jb 0x4fbf69
mov dword [esp + 0x3c], ecx
mov edx, dword [0x770e60]
lea ebx, [ebp + ebp*4]
lea edi, [eax + ebx*4]
test edx, edx
jne 0x4fbf37
mov edx, esi
lea esi, [esp + 0x88]
call fcn.0045e6de
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xb0]
test ebx, ebx
je 0x4fbf2e
mov ebp, dword [esp + 0xac]
lea esi, [ebp + ebx - 1]
cmp byte [esi], 0x34
jne 0x4fbf22
test ebx, ebx
lea esi, [0x601df0]
je 0x4fbf1e
lea ebx, [ebp + ebx - 1]
cmp byte [ebx], 0x36
jne 0x4fbf1e
lea ebx, [0x601df4]
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.004fb060
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 0x4fbeb4
test ebx, ebx
mov esi, 0
jmp 0x4fbea3
mov ebp, dword [esp + 0xac]
jmp 0x4fbf24
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], esi
lea eax, [0x5ca280]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.004106b0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
jmp 0x4fbe74
lea edx, [0x5ca280]
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.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov ebp, dword [esp + 0x38]
jmp 0x4fbe4d
mov edx, esi
mov ecx, ebp
mov eax, ebx
jmp 0x4fbe78
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 [0x74db70]
mov esi, dword [0x74db74]
mov edi, dword [0x74db78]
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.004f8bf0
movzx eax, byte [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
jmp 0x4fbe03
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 0x4fba48
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x63a300]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
cmp ecx, 3
je 0x4fc25b
cmp ecx, 4
je 0x4fc09e
mov edx, dword [esp + 0xac]
jmp 0x4fc03b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5eb80b]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402790
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fc23a
mov ecx, dword [esp + 0xac]
cmp dword [ecx], 0x34706374
jne 0x4fc222
mov edx, dword [esp + 0xb8]
test edx, edx
jne 0x4fc10c
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 0x4fba4a
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004fb3d0
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 0x4fc1ec
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.004fde40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x4fc1b6
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x60]
jmp 0x4fc0f3
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 0x4fc0e2
mov ecx, dword [esp + 0xb0]
jmp 0x4fc095
mov ecx, dword [esp + 0xac]
cmp dword [ecx], 0x34706475
je 0x4fc0e2
cmp dword [ecx], 0x36706475
je 0x4fc0e2
jmp 0x4fc22e
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5eb584]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402790
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4fc2de
mov ecx, dword [esp + 0xac]
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x4fc2b7
cmp byte [ecx + 2], 0x34
jne 0x4fc2b2
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x4fba32
cmp dx, 0x7069
jne 0x4fc2d2
cmp byte [ecx + 2], 0x36
jne 0x4fc2d2
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
jmp 0x4fba32
mov ecx, dword [esp + 0xb0]
jmp 0x4fc095
mov ecx, dword [esp + 0xac]
cmp word [ecx], 0x6374
jne 0x4fc2f6
cmp byte [ecx + 2], 0x70
je 0x4fc0e2
cmp word [ecx], 0x6475
jne 0x4fc2d2
cmp byte [ecx + 2], 0x70
je 0x4fc0e2
jmp 0x4fc2d2
mov ecx, dword [esp + 0xb0]
mov edx, eax
jmp 0x4fc318
mov eax, edx
jmp 0x4fc309
mov dword [esp], 0
lea eax, [0x5f0ecf]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00448400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
nop
call fcn.0045ca10
jmp fcn.004fb9f0