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

Disassembly:
push 0xffffffffffffffff
push 0x68dfa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x1c], edi
je 0x4febf7
cmp dword [edi + 0xbc], ebp
je 0x4febf7
lea esi, [edi + 0xdc]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
lea eax, [esi + 0x14]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, esp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.004ff320
mov eax, dword [edi + 0xbc]
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0xb0]
cmp ecx, ebp
je 0x4febf7
lea eax, [esp + 0x3c]
push eax
push edx
push ebx
call fcn.0042bcd0
cmp eax, ebp
je 0x4febf7
mov eax, dword [edi + 0xd0]
mov edx, dword [edi + 0xc8]
sub eax, edx
xor ebx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
jle 0x4fead1
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 4]
mov ecx, 0x6a3560
test eax, eax
je 0x4fe695
lea ecx, [eax + ebx]
cmp byte [ecx], 0xa
jne 0x4fe7ce
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.004031c0
mov eax, ebx
mov dword [esp + 0xcc], 0
sub eax, ebp
test eax, eax
jle 0x4fe74d
lea edi, [eax + 1]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x98]
mov byte [esp + 0x98], al
call fcn.004031c0
push edi
lea ecx, [esp + 0xb8]
push ebp
push ecx
mov ecx, dword [esp + 0xe0]
mov byte [esp + 0xd8], 1
call fcn.00408170
mov edx, dword [0x6a3564]
lea ecx, [esp + 0x44]
push edx
push 0
push eax
mov byte [esp + 0xd8], 2
call fcn.00402fc0
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd0], 1
call fcn.004031c0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xd0], 0
call fcn.004031c0
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4fe77f
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4fe77f
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4fe78f
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, esi
call fcn.004632a0
jmp 0x4fe79d
mov ecx, esi
call fcn.004632a0
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x10]
mov dword [esi + 0x1c], ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004dbfb0
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.004031c0
jmp 0x4feabd
test eax, eax
mov ecx, 0x6a3560
je 0x4fe7da
lea ecx, [eax + ebx]
cmp byte [ecx], 0x7c
jne 0x4fe908
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.004031c0
mov edi, ebx
mov dword [esp + 0xcc], 3
sub edi, ebp
test edi, edi
jle 0x4fe887
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
call fcn.004031c0
mov ecx, dword [esp + 0xd4]
push edi
lea edx, [esp + 0xa8]
push ebp
push edx
mov byte [esp + 0xd8], 4
call fcn.00408170
mov ecx, dword [0x6a3564]
mov byte [esp + 0xcc], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00402fc0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 4
call fcn.004031c0
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 3
call fcn.004031c0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4fe8b9
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4fe8b9
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4fe8c9
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, esi
call fcn.004632a0
jmp 0x4fe8d7
mov ecx, esi
call fcn.004632a0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.004dbfb0
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.004031c0
jmp 0x4feab9
test eax, eax
mov edi, 0x6a3560
je 0x4fe914
lea edi, [eax + ebx]
mov dl, byte [edi]
and dl, 0x80
neg dl
sbb edx, edx
neg edx
inc edx
test eax, eax
mov dword [esp + 0x34], edx
jne 0x4fe92f
mov ebx, 0x6a3560
jmp 0x4fe931
add ebx, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.004031c0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x6c]
call fcn.004083a0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], 6
mov eax, dword [ecx + 0xbc]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x4fe98e
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x68]
push eax
push edx
call fcn.0042bcd0
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0xd0], ebx
call fcn.004031c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jle 0x4fea9b
mov edi, dword [esp + 0x14]
sub edi, ebp
test edi, edi
jle 0x4feac9
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.004031c0
mov ecx, dword [esp + 0xd4]
push edi
lea eax, [esp + 0x78]
push ebp
push eax
mov dword [esp + 0xd8], 7
call fcn.00408170
mov ecx, dword [0x6a3564]
mov byte [esp + 0xcc], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 7
call fcn.004031c0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4fea58
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4fea58
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4fea68
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, esi
call fcn.004632a0
jmp 0x4fea76
mov ecx, esi
call fcn.004632a0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], ebx
call fcn.004031c0
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add edi, edx
add ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov ebx, edi
mov edi, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jl 0x4fe67f
jmp 0x4feacd
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, ebp
mov ebx, eax
test ebx, ebx
jle 0x4feba9
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call fcn.004031c0
mov ecx, dword [esp + 0xd4]
push ebx
lea edx, [esp + 0x78]
push ebp
push edx
mov dword [esp + 0xd8], 9
call fcn.00408170
mov ecx, dword [0x6a3564]
mov byte [esp + 0xcc], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 9
call fcn.004031c0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4feb6e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4feb6e
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4feb7e
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, esi
call fcn.004632a0
jmp 0x4feb8c
mov ecx, esi
call fcn.004632a0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004dbfb0
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004031c0
mov edx, dword [edi + 0x108]
mov eax, dword [edi + 0xd8]
sub edx, eax
jns 0x4febbb
xor edx, edx
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4febee
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x4febd7
push edx
push 0
call fcn.00410660
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x4febee
push 0
call fcn.004106b0
push 0
mov ecx, edi
call fcn.004fec20
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 4