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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x4fed68
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 1
jle 0x4fed4f
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jbe 0x4fed46
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
test eax, 1
je 0x4fe403
mov eax, dword [esp + 0x120]
cmp eax, 1
je 0x4fe39a
lea ecx, [eax + 0x1f]
shr ecx, 5
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.004fc470
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0xb8]
mov ebp, eax
xor eax, eax
call fcn.00462790
xor eax, eax
jmp 0x4fe44a
mov eax, dword [esp + 0x104]
cmp eax, 1
jl 0x4fe3b6
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
jmp 0x4fe3dd
lea eax, [0x5ff3c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00449ec0
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0
mov eax, dword [esp + 0x104]
mov dword [esp + 0x12c], eax
add esp, 0xf8
ret
mov dword [esp + ecx*4 + 0xb8], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x98]
cmp eax, 0x10
jge 0x4fe471
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004fc470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x10
jb 0x4fe431
jmp 0x4fed3a
mov ecx, dword [esp + 0xb8]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebp
mov ebp, dword [0x7f3584]
mov dword [esp + 0x54], ebp
mov edi, edx
mov edx, dword [0x7f3580]
cmp esi, ebp
jge 0x4fe528
mov dword [esp + 0xa4], edx
cmp ebp, 1
jne 0x4fe4e9
lea eax, [0x5ff3c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00449ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, 1
mov esi, 1
jmp 0x4fe528
lea eax, [0x5ff3c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.00449ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jg 0x4fe532
mov ebx, ebp
cmp ecx, edx
je 0x4fe572
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00462e90
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x4fe58d
mov dword [edx], ecx
jmp 0x4fe596
mov edi, edx
mov eax, ecx
call fcn.00462500
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], ebx
call fcn.004fcc80
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4fe608
mov dword [edi], eax
jmp 0x4fe60d
call fcn.00462500
mov eax, 2
jmp 0x4fe61b
mov edx, dword [esp + 0x74]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x4fe7f1
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x4fed30
mov ebx, dword [esp + eax*4 + 0xb8]
cmp edx, 0x10
jae 0x4fed24
mov ebp, dword [esp + edx*4 + 0xb8]
lea eax, [edx + 1]
cmp eax, 0x10
jae 0x4fed1a
mov dword [esp + 0x74], edx
mov dword [esp + 0xac], ebp
mov eax, dword [esp + edx*4 + 0xbc]
mov dword [esp + 0xa8], eax
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004fbca0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x4fe6c6
mov dword [edi], eax
jmp 0x4fe6cb
call fcn.00462500
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x4fe719
mov dword [edi], eax
jmp 0x4fe71e
call fcn.00462500
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x20], edx
call fcn.004fabd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x4fe791
mov dword [edi], eax
jmp 0x4fe796
call fcn.00462500
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4fe7e7
mov dword [edi], eax
jmp 0x4fe614
call fcn.00462500
jmp 0x4fe614
mov edx, dword [esp + 0x120]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x4fe80d
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x4fe812
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x118]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x4fe82a
mov eax, esi
jmp 0x4fe82e
mov eax, esi
mov esi, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], ebx
nop
mov ebp, dword [esp + 0x104]
cmp ebp, 1
jl 0x4fe84c
mov edi, dword [esp + 0xfc]
jmp 0x4fe893
mov dword [esp + 0x64], esi
lea eax, [0x5ff3c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00449ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x78]
mov dword [edi], 1
mov dword [esp + 0x8c], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
jmp 0x4fe8e1
dec esi
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
test esi, esi
jl 0x4fe91c
cmp ecx, esi
jbe 0x4fed13
mov edx, dword [esp + 0x114]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x4fe8fd
and edx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
jmp 0x4feb03
mov dword [esp + 0x94], edi
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4fe951
mov eax, dword [esp + 0x9c]
mov dword [edx], eax
jmp 0x4fe95f
mov eax, dword [esp + 0x9c]
mov edi, edx
call fcn.00462500
lea eax, [0x7f8890]
mov dword [esp], eax
lea ecx, [0x62e540]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046bda0
xor eax, eax
jmp 0x4fe9ab
mov dword [esp + 0x60], eax
mov ecx, dword [esp + eax*4 + 0xb8]
lea edx, [0x7f8890]
mov dword [esp], edx
lea ebx, [0x62e540]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0046bda0
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 0x10
jge 0x4fe9b4
jb 0x4fe97f
jmp 0x4fea0a
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov eax, ecx
jmp 0x4fe9c5
mov ecx, ebp
test ecx, ecx
jle 0x4fe9d8
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x4fea01
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x4fe9c3
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x4fe9fc
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
add esp, 0xf8
ret
call fcn.004625c0
mov ecx, eax
mov eax, ebp
call fcn.00462580
mov ecx, 0x10
call fcn.00462580
mov dword [esp + 0x74], ebp
mov dword [esp + 0xb0], edi
mov dword [esp + 0x6c], eax
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xb8]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
call fcn.004fabd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x5c]
add eax, 4
mov edx, dword [esp + 0x50]
shl edx, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x74]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x118]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
cmp ebx, 0x20
jge 0x4fe8b8
mov dword [esp + 0x50], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x4feb26
mov eax, dword [esp + 0x74]
jmp 0x4fea14
mov dword [esp + 0x70], ebp
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.004fbca0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004fbca0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004fbca0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004fbca0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x18], eax
call fcn.004fcc80
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
jmp 0x4fea14
mov eax, esi
call fcn.00462580
mov ecx, 0x10
call fcn.00462580
mov eax, edx
mov ecx, 0x10
call fcn.00462580
mov ecx, 0x10
call fcn.00462580
mov eax, ecx
mov ecx, 0x10
call fcn.00462580
xor eax, eax
mov ecx, eax
call fcn.00462580
lea eax, [0x5ff840]
mov dword [esp], eax
lea eax, [0x68b7b4]
mov dword [esp + 4], eax
call fcn.004351d0
nop
call fcn.004610f0
jmp fcn.004fe2f0