Function at 0x434260
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2b9c
call fcn.004493b0
mov dword [ebp - 0x2ba8], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0x10], 0
jne 0x43429b
lea eax, [ebp - 0x18]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
push 0x47fe44
lea ecx, [ebp - 0x30]
call fcn.0040204e
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x104
cmp dword [ebp + 0x14], 0
je 0x434329
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x94]
call fcn.00409a7c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004388c0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x2ba8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2ba8]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x94]
sub ecx, 0x10
mov dword [ebp - 0x2884], ecx
mov ecx, dword [ebp - 0x2884]
call fcn.00401741
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x434343
mov dword [ebp - 0x1c], 0x80070002
jmp 0x43516d
lea ecx, [ebp - 0xa4]
call fcn.00403078
mov byte [ebp - 4], 2
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0x10], 0
jne 0x434382
mov dword [ebp - 0x2888], 0
jmp 0x434394
mov eax, dword [ebp - 0x10]
push eax
call fcn.00449260
add esp, 4
mov dword [ebp - 0x2888], eax
mov ecx, dword [ebp - 0x2888]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0xa4]
call fcn.00403cc5
cmp dword [ebp + 0xc], 0
je 0x434412
mov eax, dword [ebp - 0x2ba8]
xor ecx, ecx
cmp dword [eax + 0x424], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x434412
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x2ba8]
add ecx, 0x420
call fcn.00438790
movzx ecx, al
test ecx, ecx
je 0x434412
mov dword [ebp - 0x1c], 0x330001
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xa4]
sub edx, 0x10
mov dword [ebp - 0x28a0], edx
mov ecx, dword [ebp - 0x28a0]
call fcn.00401741
jmp 0x43516d
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa4]
sub eax, 0x10
mov dword [ebp - 0x28a4], eax
mov ecx, dword [ebp - 0x28a4]
call fcn.00401741
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00423ba0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ebp - 0x28a8], eax
mov ecx, dword [ebp - 0x28a8]
call fcn.00433df0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x28ac], edx
push 0x433e50
mov eax, dword [ebp - 0x28ac]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00430ad0
add esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x70]
call fcn.004178f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409a7c
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28b4], ecx
mov edx, dword [ebp - 0x28b4]
push edx
lea ecx, [ebp - 0x78]
call fcn.00409a7c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.00438940
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28c0], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x28c4], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x28c0]
push ecx
mov ecx, dword [ebp - 0x28c4]
call fcn.004352a0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jl 0x434738
xor edx, edx
cmp dword [ebp - 0x6c], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x434738
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xac], ecx
jmp 0x43453f
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xac]
jae 0x434738
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28c8], ecx
mov edx, dword [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0xbc]
call fcn.00409a7c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.004388c0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x6c]
jb 0x434590
push 0x80070057
call fcn.0040109c
mov ecx, dword [ebp - 0xa8]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
add edx, 0xc
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb4]
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0xad], cl
mov edx, dword [ebp - 0xb4]
movzx eax, byte [edx]
test eax, eax
je 0x4346e1
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc0], edx
jmp 0x434602
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [ebp - 0xc0]
jae 0x4346e1
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc4]
cmp eax, dword [edx + 4]
jb 0x43462f
push 0x80070057
call fcn.0040109c
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc4]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x28d8], ecx
mov edx, dword [ebp - 0x28d8]
push edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, 0x47fc80
call fcn.00427bf0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x28dc], ecx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x28e0], edx
mov eax, dword [ebp - 0x28dc]
push eax
mov ecx, dword [ebp - 0x28e0]
push ecx
call fcn.00435760
add esp, 8
movzx edx, al
test edx, edx
je 0x4346be
mov byte [ebp - 0xad], 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xc8]
sub eax, 0x10
mov dword [ebp - 0x2984], eax
mov ecx, dword [ebp - 0x2984]
call fcn.00401741
jmp 0x4346e1
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc8]
sub ecx, 0x10
mov dword [ebp - 0x2988], ecx
mov ecx, dword [ebp - 0x2988]
call fcn.00401741
jmp 0x4345f3
movzx edx, byte [ebp - 0xad]
test edx, edx
je 0x434715
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x298c], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x298c]
push eax
mov ecx, dword [ebp - 0x2ba8]
call fcn.00437c10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xbc]
sub ecx, 0x10
mov dword [ebp - 0x2990], ecx
mov ecx, dword [ebp - 0x2990]
call fcn.00401741
jmp 0x434530
lea edx, [ebp - 0x60]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x4347b3
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x78]
sub ecx, 0x10
mov dword [ebp - 0x2994], ecx
mov ecx, dword [ebp - 0x2994]
call fcn.00401741
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x34]
sub edx, 0x10
mov dword [ebp - 0x2998], edx
mov ecx, dword [ebp - 0x2998]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
jmp 0x43516d
cmp dword [ebp - 0x44], 0
je 0x434820
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x78]
sub eax, 0x10
mov dword [ebp - 0x29ac], eax
mov ecx, dword [ebp - 0x29ac]
call fcn.00401741
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
sub ecx, 0x10
mov dword [ebp - 0x29b0], ecx
mov ecx, dword [ebp - 0x29b0]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
jmp 0x43516d
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x81], 0
cmp dword [ebp - 0x74], 0
jbe 0x43490f
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov dword [ebp - 0x29c4], ecx
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x29c4]
add ecx, 0x1f4
call fcn.00418250
mov dword [ebp - 0x29c8], eax
cmp dword [ebp - 0x29c8], 0
jne 0x434873
mov byte [ebp - 0x29c9], 0
jmp 0x434889
mov eax, dword [ebp - 0x29c8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0x29c9], 1
movzx edx, byte [ebp - 0x29c9]
test edx, edx
je 0x4348b9
mov eax, dword [ebp - 0x88]
and eax, 2
je 0x4348a5
mov byte [ebp - 0x35], 1
jmp 0x4348b7
mov ecx, dword [ebp - 0x88]
and ecx, 1
je 0x4348b7
mov byte [ebp - 0x81], 1
jmp 0x43490f
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ebp - 0x29d0], eax
mov ecx, dword [ebp - 0x29d0]
mov dl, byte [ecx + 0x11]
mov byte [ebp - 0x29d1], dl
movzx eax, byte [ebp - 0x29d1]
test eax, eax
je 0x43490f
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x29d8], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ebp - 0x29dc], eax
mov ecx, dword [ebp - 0x29d8]
push ecx
mov ecx, dword [ebp - 0x29dc]
call fcn.004356c0
movzx edx, al
test edx, edx
je 0x43490f
mov byte [ebp - 0x35], 1
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x434bc3
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x2ba8]
add ecx, 0x404
call fcn.00463530
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4349ad
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x78]
sub ecx, 0x10
mov dword [ebp - 0x29f0], ecx
mov ecx, dword [ebp - 0x29f0]
call fcn.00401741
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x34]
sub edx, 0x10
mov dword [ebp - 0x29f4], edx
mov ecx, dword [ebp - 0x29f4]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
jmp 0x43516d
lea ecx, [ebp - 0xe8]
call fcn.004178f0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov dword [ebp - 0x2a08], ecx
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x2a08]
call fcn.004355b0
mov dword [ebp - 0x80], eax
xor ecx, ecx
cmp dword [ebp - 0xe4], 0
sete cl
movzx edx, cl
test edx, edx
je 0x434a6c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00438c60
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x78]
sub eax, 0x10
mov dword [ebp - 0x2a0c], eax
mov ecx, dword [ebp - 0x2a0c]
call fcn.00401741
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
sub ecx, 0x10
mov dword [ebp - 0x2a10], ecx
mov ecx, dword [ebp - 0x2a10]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
jmp 0x43516d
cmp dword [ebp - 0x80], 0
jge 0x434ae8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00438c60
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
sub edx, 0x10
mov dword [ebp - 0x2a24], edx
mov ecx, dword [ebp - 0x2a24]
call fcn.00401741
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
sub eax, 0x10
mov dword [ebp - 0x2a28], eax
mov ecx, dword [ebp - 0x2a28]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
jmp 0x43516d
mov dword [ebp - 0xec], 0
jmp 0x434b03
mov ecx, dword [ebp - 0xec]
add ecx, 1
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x2a3c], edx
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x2a3c]
jae 0x434bb4
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [ebp - 0xe4]
jb 0x434b39
push 0x80070057
call fcn.0040109c
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xe8]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2a40], ecx
mov edx, dword [ebp - 0x2a40]
mov eax, dword [edx]
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x114]
call fcn.00435250
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], 0x2710
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x2ba8]
call fcn.00437c10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x108]
call fcn.0040ec45
jmp 0x434af4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00438c60
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x435103
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2a44], ecx
mov edx, dword [ebp - 0x2a44]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00409a7c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x11c]
call fcn.004388c0
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
push edx
push ecx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2ba8]
add ecx, 4
call fcn.00438ca0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x434c52
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x11c]
sub edx, 0x10
mov dword [ebp - 0x2a98], edx
mov ecx, dword [ebp - 0x2a98]
call fcn.00401741
jmp 0x435103
lea ecx, [ebp - 0x12c]
call fcn.004178f0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov dword [ebp - 0x2a9c], ecx
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x2a9c]
call fcn.00435460
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x434cc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x12c]
call fcn.00439270
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x11c]
sub ecx, 0x10
mov dword [ebp - 0x2aa0], ecx
mov ecx, dword [ebp - 0x2aa0]
call fcn.00401741
jmp 0x435103
xor edx, edx
cmp dword [ebp - 0x128], 0
sete dl
movzx eax, dl
test eax, eax
je 0x434d05
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x12c]
call fcn.00439270
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x11c]
sub ecx, 0x10
mov dword [ebp - 0x2aa4], ecx
mov ecx, dword [ebp - 0x2aa4]
call fcn.00401741
jmp 0x435103
mov dword [ebp - 0x134], 0
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x138], edx
jmp 0x434d2c
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [ebp - 0x138]
jae 0x4350ce
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0x128]
jb 0x434d56
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp - 0x134]
imul eax, eax, 0x28
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14c], 0
mov byte [ebp - 4], 0x13
xor ecx, ecx
jne 0x434d79
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocStringLen
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2aa8], eax
cmp dword [ebp - 0x2aa8], 0xffffffff
jne 0x434db5
call fcn.004021a3
mov dword [ebp - 0x2864], eax
jmp 0x434dcf
xor eax, eax
jne 0x434db5
mov ecx, dword [ebp - 0x2aa8]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x2864], 0
cmp dword [ebp - 0x2864], 0
jge 0x434e0a
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14c], 0
je 0x434e05
cmp dword [ebp - 0x14c], 0
je 0x434e05
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
jmp 0x434d1d
mov dword [ebp - 0x148], 0
xor eax, eax
jne 0x434e14
push 0
lea ecx, [ebp - 0x148]
push ecx
push 0x2710
lea edx, [ebp - 0x285c]
push edx
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x2aac], eax
cmp dword [ebp - 0x2aac], 0
jne 0x434e56
call fcn.004021a3
mov dword [ebp - 0x2864], eax
jmp 0x434e60
mov dword [ebp - 0x2864], 0
cmp dword [ebp - 0x2864], 0
jge 0x434e9b
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14c], 0
je 0x434e96
cmp dword [ebp - 0x14c], 0
je 0x434e96
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
jmp 0x434d1d
mov edx, dword [ebp - 0x148]
xor eax, eax
mov dword [ebp - 0x2ab8], edx
mov dword [ebp - 0x2ab4], eax
mov dword [ebp - 0x2ab0], 0xffffffff
mov ecx, dword [ebp - 0x2ab4]
push ecx
mov edx, dword [ebp - 0x2ab8]
push edx
lea eax, [ebp - 0x285c]
push eax
lea ecx, [ebp - 0x2ab0]
push ecx
mov ecx, dword [ebp - 0x2ba8]
add ecx, 4
call fcn.004390a0
mov edx, dword [ebp - 0x2ab0]
xor edx, 0xffffffff
mov dword [ebp - 0x2860], edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x2860]
cmp ecx, dword [eax + 0x20]
je 0x434f35
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14c], 0
je 0x434f30
cmp dword [ebp - 0x14c], 0
je 0x434f30
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
jmp 0x434d1d
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14c], 0
je 0x434f62
cmp dword [ebp - 0x14c], 0
je 0x434f62
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x140]
movzx edx, byte [ecx]
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x139], dl
mov eax, dword [ebp - 0x140]
add eax, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x140]
movzx edx, byte [ecx]
test edx, edx
je 0x4350a1
mov dword [ebp - 0x286c], 0
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2868], ecx
jmp 0x434fc2
mov edx, dword [ebp - 0x286c]
add edx, 1
mov dword [ebp - 0x286c], edx
mov eax, dword [ebp - 0x286c]
cmp eax, dword [ebp - 0x2868]
jae 0x4350a1
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x286c]
cmp edx, dword [ecx + 4]
jb 0x434fef
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x286c]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x2abc], eax
mov ecx, dword [ebp - 0x2abc]
push ecx
lea edx, [ebp - 0x2870]
push edx
mov ecx, 0x47fc80
call fcn.00427bf0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x2870]
mov dword [ebp - 0x2ac0], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x2ac4], ecx
mov edx, dword [ebp - 0x2ac0]
push edx
mov eax, dword [ebp - 0x2ac4]
push eax
call fcn.00435760
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43507e
mov byte [ebp - 0x139], 1
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2870]
sub edx, 0x10
mov dword [ebp - 0x2b68], edx
mov ecx, dword [ebp - 0x2b68]
call fcn.00401741
jmp 0x4350a1
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2870]
sub eax, 0x10
mov dword [ebp - 0x2b6c], eax
mov ecx, dword [ebp - 0x2b6c]
call fcn.00401741
jmp 0x434fb3
movzx ecx, byte [ebp - 0x139]
test ecx, ecx
je 0x4350c9
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x2ba8]
call fcn.00437c10
mov dword [ebp - 0x1c], eax
jmp 0x434d1d
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x12c]
call fcn.00439270
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x11c]
sub edx, 0x10
mov dword [ebp - 0x2b70], edx
mov ecx, dword [ebp - 0x2b70]
call fcn.00401741
xor eax, eax
jne 0x434bd2
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x78]
sub ecx, 0x10
mov dword [ebp - 0x2b74], ecx
mov ecx, dword [ebp - 0x2b74]
call fcn.00401741
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x34]
sub edx, 0x10
mov dword [ebp - 0x2b78], edx
mov ecx, dword [ebp - 0x2b78]
call fcn.00401741
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00439270
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004162e0
xor eax, eax
jne 0x4342c5
lea ecx, [ebp - 0x2c]
call fcn.00403078
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x10], 0
jne 0x43518b
mov dword [ebp - 0x2b8c], 0
jmp 0x43519d
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00449260
add esp, 4
mov dword [ebp - 0x2b8c], eax
mov edx, dword [ebp - 0x2b8c]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403cc5
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2ba8]
xor edx, edx
cmp dword [ecx + 0x410], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x4351f3
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x2ba8]
add ecx, 0x40c
call fcn.0042fbc0
cmp dword [ebp - 0x20], 0
jl 0x435216
cmp dword [ebp - 0x24], 0x330002
jne 0x435216
mov edx, dword [ebp - 0x2ba8]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00463840
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2874], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402073
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402073
mov eax, dword [ebp - 0x2874]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10