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

Disassembly:
push 0xffffffffffffffff
push 0x48eff4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov al, byte [esp + 0x13]
xor esi, esi
xor ebp, ebp
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xbc], esi
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], al
call fcn.004024d0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb8], 1
mov dword [esp + 0x50], esi
call fcn.00404470
test ax, ax
jle 0x465c49
mov ecx, dword [ebx + 0x14]
push esi
mov eax, dword [ecx + 0xcc]
lea ecx, [esp + 0xc4]
test eax, eax
je 0x465bfb
call fcn.004043e0
and eax, 0xff
lea edx, [esp + 0x4c]
push eax
push str._02x
push edx
jmp 0x465c10
call fcn.004043e0
and eax, 0xff
push eax
lea eax, [esp + 0x50]
push 0x49e22c
push eax
call fcn.0047edef
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040f8b0
lea ecx, [esp + 0xc0]
inc esi
call fcn.00404470
movsx edx, ax
cmp esi, edx
jl 0x465bcf
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x465c72
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x465c63
mov eax, 0x490148
push 0x10
push 0
push eax
call fcn.0047fe0e
add esp, 0xc
jmp 0x465cc4
lea ecx, [esp + 0x14]
call fcn.00413210
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.00413210
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x465c94
xor ebp, ebp
jmp 0x465c9b
mov ecx, dword [esp + 0x1c]
lea ebp, [ecx + eax]
lea ecx, [esp + 0x14]
call fcn.00413210
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x465cc0
movsx edx, byte [esi]
push edx
call fcn.0047f1fa
add esp, 4
mov byte [edi], al
inc esi
inc edi
cmp esi, ebp
jne 0x465cac
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x6f]
lea ecx, [esp + 0x5b]
push eax
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.004668a0
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
mov byte [esp + 0xb8], 2
jbe 0x465e7c
xor edi, edi
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x70]
mov eax, dword [edi + edx]
push eax
push ecx
mov ecx, dword [ebx + 0x10]
call fcn.0043e3d0
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc4], 3
mov byte [esp + 0x1f], 0x2a
call fcn.004190f0
cmp eax, dword [0x49014c]
je 0x465de0
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
push eax
call fcn.004023b0
mov dword [esp + 0x90], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 4
push ecx
lea ecx, [esp + 0x98]
call fcn.004023b0
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa4], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 5
call fcn.004668d0
mov edx, dword [eax]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x24]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00454610
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xbc], 4
call fcn.004024d0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xbc], 3
call fcn.004024d0
jmp 0x465e5a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x70]
push eax
call fcn.00403780
test eax, eax
je 0x465ede
push str.0000
lea ecx, [esp + 0x74]
call fcn.004674f0
test eax, eax
jne 0x465e1e
push 0x49d050
lea ecx, [esp + 0x18]
call fcn.004674f0
test eax, eax
je 0x465ede
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
cmp eax, edx
ja 0x465e2c
mov edx, eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x465e39
mov ecx, 0x490148
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x465e46
mov eax, 0x490148
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00465ae0
cmp eax, ebp
jbe 0x465e5a
mov ebp, eax
mov dword [esp + 0x50], esi
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 2
call fcn.004024d0
mov eax, dword [ebx + 4]
inc esi
add edi, 0x24
cmp esi, eax
jb 0x465cf0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x54], ecx
je 0x465fc4
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x1c]
cmp edx, eax
jbe 0x465e9b
mov edx, eax
mov eax, dword [ecx + 0x10]
mov ecx, 0x490148
test eax, eax
je 0x465ea9
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x465eb6
mov eax, 0x490148
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00465b20
test eax, eax
jne 0x465f1d
lea ecx, [esp + 0x54]
call fcn.004672d0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jne 0x465e8e
jmp 0x465fc4
push 1
lea ecx, [esp + 0x74]
mov dword [ebx + 0x18], esi
mov byte [esp + 0xbc], 2
call fcn.004024d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 1
call fcn.00466840
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0
call fcn.004024d0
jmp 0x466599
mov ecx, dword [esp + 0x54]
or esi, 0xffffffff
mov edi, 0x49e220
xor eax, eax
lea edx, [ecx + 0xc]
mov ecx, esi
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push 0x49e220
push eax
push 0
mov ecx, edx
call fcn.004037d0
test eax, eax
jne 0x465f8a
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 1
call fcn.00466840
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0
call fcn.004024d0
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], esi
call fcn.00404260
xor eax, eax
jmp 0x4665b5
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xb8], 1
mov edx, dword [ecx + 0x1c]
lea ecx, [esp + 0x3c]
mov dword [ebx + 0x18], edx
call fcn.00466840
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0
call fcn.004024d0
mov dword [esp + 0xb8], esi
jmp 0x4665a4
mov eax, dword [ebx + 0x18]
or esi, 0xffffffff
cmp eax, esi
jne 0x465fe5
mov ecx, dword [ebx + 0x14]
call fcn.0043c010
test eax, eax
je 0x465f4c
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4662da
mov ecx, dword [eax + 0x2018]
test ecx, ecx
jne 0x4662da
lea ecx, [esp + 0x2c]
push 0xc
push ecx
mov ecx, 0x4a6710
call fcn.00426540
mov edi, 0x49e21c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb8], 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x49e21c
lea ecx, [esp + 0x34]
call fcn.0040f8b0
mov edx, dword [0x49014c]
lea eax, [esp + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040f7d0
mov edi, 0x49e21c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x49e21c
lea ecx, [esp + 0x34]
call fcn.0040f8b0
lea ecx, [esp + 0x70]
push 0xd
push ecx
mov ecx, 0x4a6710
call fcn.00426540
mov edx, dword [0x49014c]
lea ecx, [esp + 0x2c]
push edx
push 0
push eax
mov byte [esp + 0xc4], 7
call fcn.0040f7d0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 6
call fcn.004024d0
push 0
push 1
sub esp, 0x10
mov ecx, 0x4a6710
mov eax, esp
mov dword [esp + 0x3c], esp
push 0xf
push eax
call fcn.00426540
sub esp, 0x10
lea ecx, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x78], esp
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xe4], 8
call fcn.004139f0
push eax
mov ecx, esi
call fcn.0040f1c0
mov ecx, 0x4a6290
mov byte [esp + 0xe0], 6
call fcn.00412b80
lea edx, [esp + 0x70]
push 0xe
push edx
mov ecx, 0x4a6710
call fcn.00426540
mov ecx, dword [0x49014c]
mov byte [esp + 0xb8], 9
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040f3e0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 6
call fcn.004024d0
mov edi, 0x49e21c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x49014c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x34]
sub edx, ecx
cmp edx, esi
ja 0x466161
call fcn.0047e19b
test esi, esi
jbe 0x4661a6
mov eax, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x30]
lea ebp, [eax + esi]
push ebp
call fcn.00402900
test al, al
je 0x4661a6
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x49e21c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004028e0
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
lea ecx, [eax + eax*8]
mov eax, dword [edx + ecx*4]
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, dword [ebx + 0x10]
call fcn.0043e3d0
mov edx, dword [0x49014c]
lea ecx, [esp + 0x2c]
push edx
push 0
push eax
mov byte [esp + 0xc4], 0xa
call fcn.0040f7d0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 6
call fcn.004024d0
mov edi, 0x49e21c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x49014c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x466213
call fcn.0047e19b
test esi, esi
jbe 0x46625a
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00402900
test al, al
je 0x46625a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x49e21c
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [eax + ebp], 0
push 0
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xf
push ecx
mov ecx, 0x4a6710
call fcn.00426540
sub esp, 0x10
lea edx, [esp + 0x3b]
mov esi, esp
mov dword [esp + 0x78], esp
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xe4], 0xb
call fcn.004139f0
push eax
mov ecx, esi
call fcn.0040f1c0
mov ecx, 0x4a6290
mov byte [esp + 0xe0], 6
call fcn.00412b80
mov eax, dword [esp + 0x30]
mov byte [esp + 0xb8], 2
test eax, eax
je 0x4662da
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4662d1
cmp al, 0xff
je 0x4662d1
dec al
mov byte [ecx], al
jmp 0x4662da
push ecx
call fcn.0047e190
add esp, 4
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
call fcn.004667e0
mov eax, dword [esp + 0x64]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xb8], 0xc
je 0x4664e2
cmp dword [ebx + 0x14], esi
je 0x46640d
mov dl, byte [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x49014c]
lea edx, [esp + 0x6c]
push eax
push esi
push edx
call fcn.0040f3e0
mov ecx, dword [ebx + 0x14]
call fcn.0042e0a0
mov edi, eax
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x46635d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x466354
cmp al, 0xff
je 0x466354
dec al
mov byte [ecx], al
jmp 0x46635d
push ecx
call fcn.0047e190
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 1
call fcn.00466a30
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047e190
mov eax, dword [0x4a7fbc]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x4a7fbc], eax
jne 0x4663be
mov edx, dword [0x4a7fb8]
push edx
call fcn.0047e190
add esp, 4
mov dword [0x4a7fb8], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4663e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4663da
cmp al, 0xff
je 0x4663da
dec al
mov byte [ecx], al
jmp 0x4663e3
push ecx
call fcn.0047e190
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb8], 0xffffffff
call fcn.00404260
mov eax, edi
jmp 0x4665b5
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x466432
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x466429
cmp al, 0xff
je 0x466429
dec al
mov byte [ecx], al
jmp 0x466432
push ecx
call fcn.0047e190
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 1
call fcn.00466a30
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047e190
mov eax, dword [0x4a7fbc]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x4a7fbc], eax
jne 0x466493
mov edx, dword [0x4a7fb8]
push edx
call fcn.0047e190
add esp, 4
mov dword [0x4a7fb8], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4664b8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4664af
cmp al, 0xff
je 0x4664af
dec al
mov byte [ecx], al
jmp 0x4664b8
push ecx
call fcn.0047e190
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb8], 0xffffffff
call fcn.00404260
xor eax, eax
jmp 0x4665b5
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x466507
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4664fe
cmp al, 0xff
je 0x4664fe
dec al
mov byte [ecx], al
jmp 0x466507
push ecx
call fcn.0047e190
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 1
call fcn.00466a30
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047e190
mov eax, dword [0x4a7fbc]
add esp, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
mov dword [0x4a7fbc], eax
jne 0x466568
mov edx, dword [0x4a7fb8]
push edx
call fcn.0047e190
add esp, 4
mov dword [0x4a7fb8], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x46658d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x466584
cmp al, 0xff
je 0x466584
dec al
mov byte [ecx], al
jmp 0x46658d
push ecx
call fcn.0047e190
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0xc0]
call fcn.00404260
mov eax, 1
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret 4