Function at 0x406660
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], 0xb043dfe3
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
sub eax, 0x830b58ea
je 0x406ce7
jmp 0x40669c
mov eax, dword [ebp - 0x50]
sub eax, 0x87a1590f
je 0x407555
jmp 0x4066af
mov eax, dword [ebp - 0x50]
sub eax, 0x887a62dd
je 0x406ccf
jmp 0x4066c2
mov eax, dword [ebp - 0x50]
sub eax, 0x8d7c1412
je 0x4074c6
jmp 0x4066d5
mov eax, dword [ebp - 0x50]
sub eax, 0x90135448
je 0x4072fe
jmp 0x4066e8
mov eax, dword [ebp - 0x50]
sub eax, 0xa07edfff
je 0x4074f3
jmp 0x4066fb
mov eax, dword [ebp - 0x50]
sub eax, 0xa204a19d
je 0x4073a2
jmp 0x40670e
mov eax, dword [ebp - 0x50]
sub eax, 0xa39bc078
je 0x406fb7
jmp 0x406721
mov eax, dword [ebp - 0x50]
sub eax, 0xa4fd2ce8
je 0x406e08
jmp 0x406734
mov eax, dword [ebp - 0x50]
sub eax, 0xab7c2569
je 0x406b69
jmp 0x406747
mov eax, dword [ebp - 0x50]
sub eax, 0xaf39cae0
je 0x406b2e
jmp 0x40675a
mov eax, dword [ebp - 0x50]
sub eax, 0xb043dfe3
je 0x406aa3
jmp 0x40676d
mov eax, dword [ebp - 0x50]
sub eax, 0xb1d30c44
je 0x406e7b
jmp 0x406780
mov eax, dword [ebp - 0x50]
sub eax, 0xb872f49b
je 0x406f63
jmp 0x406793
mov eax, dword [ebp - 0x50]
sub eax, 0xbc202dd0
je 0x407471
jmp 0x4067a6
mov eax, dword [ebp - 0x50]
sub eax, 0xc6f3361e
je 0x406f02
jmp 0x4067b9
mov eax, dword [ebp - 0x50]
sub eax, 0xc7a2df2f
je 0x406fc3
jmp 0x4067cc
mov eax, dword [ebp - 0x50]
sub eax, 0xc8992182
je 0x406bdc
jmp 0x4067df
mov eax, dword [ebp - 0x50]
sub eax, 0xcafee66b
je 0x4074d2
jmp 0x4067f2
mov eax, dword [ebp - 0x50]
sub eax, 0xd39a56c8
je 0x406c4f
jmp 0x406805
mov eax, dword [ebp - 0x50]
sub eax, 0xd39fb1e0
je 0x406bbd
jmp 0x406818
mov eax, dword [ebp - 0x50]
sub eax, 0xd5ce05cc
je 0x406ef6
jmp 0x40682b
mov eax, dword [ebp - 0x50]
sub eax, 0xddca191b
je 0x406dfc
jmp 0x40683e
mov eax, dword [ebp - 0x50]
sub eax, 0xe5f50b31
je 0x406d68
jmp 0x406851
mov eax, dword [ebp - 0x50]
sub eax, 0xe7fe6851
je 0x406d1f
jmp 0x406864
mov eax, dword [ebp - 0x50]
sub eax, 0xef5cc072
je 0x407549
jmp 0x406877
mov eax, dword [ebp - 0x50]
sub eax, 0xf9e583c2
je 0x4071d8
jmp 0x40688a
mov eax, dword [ebp - 0x50]
sub eax, 0xfb697599
je 0x407084
jmp 0x40689d
mov eax, dword [ebp - 0x50]
sub eax, 0xc965ebe
je 0x407485
jmp 0x4068b0
mov eax, dword [ebp - 0x50]
sub eax, 0xca20db4
je 0x40753d
jmp 0x4068c3
mov eax, dword [ebp - 0x50]
sub eax, 0x1b567d63
je 0x407415
jmp 0x4068d6
mov eax, dword [ebp - 0x50]
sub eax, 0x1e478d2b
je 0x406cdb
jmp 0x4068e9
mov eax, dword [ebp - 0x50]
sub eax, 0x271a8d68
je 0x407103
jmp 0x4068fc
mov eax, dword [ebp - 0x50]
sub eax, 0x2a1a58b2
je 0x407036
jmp 0x40690f
mov eax, dword [ebp - 0x50]
sub eax, 0x3404a39a
je 0x4074ff
jmp 0x406922
mov eax, dword [ebp - 0x50]
sub eax, 0x3598cac1
je 0x40744a
jmp 0x406935
mov eax, dword [ebp - 0x50]
sub eax, 0x36997ac9
je 0x406b5d
jmp 0x406948
mov eax, dword [ebp - 0x50]
sub eax, 0x39bf271a
je 0x406cf9
jmp 0x40695b
mov eax, dword [ebp - 0x50]
sub eax, 0x3a6f748e
je 0x406f1d
jmp 0x40696e
mov eax, dword [ebp - 0x50]
sub eax, 0x3c38addd
je 0x407239
jmp 0x406981
mov eax, dword [ebp - 0x50]
sub eax, 0x3f10950b
je 0x40742d
jmp 0x406994
mov eax, dword [ebp - 0x50]
sub eax, 0x43c91550
je 0x4074a5
jmp 0x4069a7
mov eax, dword [ebp - 0x50]
sub eax, 0x52401179
je 0x407337
jmp 0x4069ba
mov eax, dword [ebp - 0x50]
sub eax, 0x5585fb24
je 0x40731c
jmp 0x4069cd
mov eax, dword [ebp - 0x50]
sub eax, 0x56f9a872
je 0x406b4d
jmp 0x4069e0
mov eax, dword [ebp - 0x50]
sub eax, 0x5d6da2f0
je 0x406d05
jmp 0x4069f3
mov eax, dword [ebp - 0x50]
sub eax, 0x5dedeb8a
je 0x407421
jmp 0x406a06
mov eax, dword [ebp - 0x50]
sub eax, 0x6177da51
je 0x407186
jmp 0x406a19
mov eax, dword [ebp - 0x50]
sub eax, 0x622e8b26
je 0x406db6
jmp 0x406a2c
mov eax, dword [ebp - 0x50]
sub eax, 0x63485dfe
je 0x40721e
jmp 0x406a3f
mov eax, dword [ebp - 0x50]
sub eax, 0x676c6b46
je 0x407090
jmp 0x406a52
mov eax, dword [ebp - 0x50]
sub eax, 0x689a2b46
je 0x4072f2
jmp 0x406a65
mov eax, dword [ebp - 0x50]
sub eax, 0x6e3d75e7
je 0x4072a4
jmp 0x406a78
mov eax, dword [ebp - 0x50]
sub eax, 0x72fc4ee3
je 0x407192
jmp 0x406a8b
mov eax, dword [ebp - 0x50]
sub eax, 0x79764d85
je 0x4074e1
jmp 0x406a9e
jmp 0x40755c
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
push eax
mov eax, esp
push eax
mov esi, esp
mov dword [ebp - 0x38], esi
push eax
mov esi, esp
mov dword [ebp - 0x34], esi
push eax
mov esi, esp
mov dword [ebp - 0x30], esi
push eax
mov esi, esp
mov dword [ebp - 0x2c], esi
push eax
sub esp, 0xffc
mov esi, esp
mov dword [ebp - 0x28], esi
push eax
mov esi, esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], edx
mov dword [eax], ecx
mov eax, dword [eax]
xor ecx, ecx
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov dword [ebp - 0x44], 0xaf39cae0
jmp 0x40755c
mov edx, dword [ebp - 0x38]
mov esi, 0xffffffff
mov eax, 0xab7c2569
mov ecx, 0x56f9a872
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x44], 0x36997ac9
jmp 0x40755c
mov dword [ebp - 0x44], 0xbc202dd0
jmp 0x40755c
mov eax, dword [ebp - 0x40]
xor ecx, ecx
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], 0x40000000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov dword [ebp - 0x44], 0xd39fb1e0
jmp 0x40755c
mov edx, dword [ebp - 0x34]
mov esi, 0xffffffff
mov eax, 0x830b58ea
mov ecx, 0xc8992182
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
sub edx, 0x9d74102d
sub edx, 1
add edx, 0x9d74102d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x43c91550
mov ecx, 0xd39a56c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x39], 0
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x43c91550
mov ecx, 0x887a62dd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x1e478d2b
jmp 0x40755c
mov dword [ebp - 0x44], 0xbc202dd0
jmp 0x40755c
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov dword [ebp - 0x44], 0x39bf271a
jmp 0x40755c
mov dword [ebp - 0x44], 0x5d6da2f0
jmp 0x40755c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0xe7fe6851
jmp 0x40755c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
xor esi, esi
sub esp, 0x14
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, eax
mov eax, 0xe5f50b31
mov ecx, 0xa4fd2ce8
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
mov edx, eax
add edx, 0xfaaacafc
sub edx, 1
sub edx, 0xfaaacafc
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x8d7c1412
mov ecx, 0x622e8b26
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x8d7c1412
mov ecx, 0xddca191b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x3f10950b
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
add edx, 0xe94630c5
sub edx, 1
sub edx, 0xe94630c5
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xcafee66b
mov ecx, 0xb1d30c44
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
sub edx, 0x7b2866f9
sub edx, 1
add edx, 0x7b2866f9
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xcafee66b
mov ecx, 0xd5ce05cc
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0xc6f3361e
jmp 0x40755c
mov edx, dword [ebp - 0x18]
mov eax, 0x676c6b46
mov ecx, 0x3a6f748e
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x79764d85
mov ecx, 0xb872f49b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [ebp - 0x30]
mov byte [eax], 1
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
mov edx, eax
sub edx, 0x1b488ea0
sub edx, 1
add edx, 0x1b488ea0
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x79764d85
mov ecx, 0xa39bc078
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0xc7a2df2f
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
add edx, 0xa107e55a
sub edx, 1
sub edx, 0xa107e55a
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xa07edfff
mov ecx, 0x2a1a58b2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
mov edx, eax
add edx, 0x85f405a
sub edx, 1
sub edx, 0x85f405a
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa07edfff
mov ecx, 0xfb697599
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x3f10950b
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
add edx, 0x18175402
sub edx, 1
sub edx, 0x18175402
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x3404a39a
mov ecx, 0x271a8d68
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
xor edi, edi
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0x13], al
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x3404a39a
mov ecx, 0x6177da51
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x72fc4ee3
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xca20db4
mov ecx, 0xf9e583c2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xca20db4
mov ecx, 0x63485dfe
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dl, byte [ebp - 0x13]
mov eax, 0x3c38addd
mov ecx, 0x90135448
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xef5cc072
mov ecx, 0x6e3d75e7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov eax, dword [0x439584]
mov ecx, dword [0x439580]
mov edx, eax
add edx, 0xddf24f28
sub edx, 1
sub edx, 0xddf24f28
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xef5cc072
mov ecx, 0x689a2b46
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x3f10950b
jmp 0x40755c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
setne al
and al, 1
mov byte [ebp - 0x12], al
mov dword [ebp - 0x44], 0x5585fb24
jmp 0x40755c
mov dl, byte [ebp - 0x12]
mov eax, 0x5dedeb8a
mov ecx, 0x52401179
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x87a1590f
mov ecx, 0xa204a19d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov ecx, dword [0x439584]
mov eax, dword [0x439580]
mov edx, ecx
sub edx, 0x62ad82e8
sub edx, 1
add edx, 0x62ad82e8
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x87a1590f
mov ecx, 0x1b567d63
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x40755c
mov dword [ebp - 0x44], 0x3f10950b
jmp 0x40755c
mov dword [ebp - 0x44], 0x5d6da2f0
jmp 0x40755c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0x3598cac1
jmp 0x40755c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x39], al
mov dword [ebp - 0x44], 0xbc202dd0
jmp 0x40755c
mov al, byte [ebp - 0x39]
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x44], 0xc965ebe
jmp 0x40755c
mov al, byte [ebp - 0x11]
and al, 1
movzx eax, al
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421bd0
mov eax, dword [ebp - 0x54]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x44], 0xd39a56c8
jmp 0x40755c
mov dword [ebp - 0x44], 0x622e8b26
jmp 0x40755c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], 0xb1d30c44
jmp 0x40755c
mov eax, dword [ebp - 0x30]
mov byte [eax], 1
mov dword [ebp - 0x44], 0xb872f49b
jmp 0x40755c
mov dword [ebp - 0x44], 0x2a1a58b2
jmp 0x40755c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
xor edi, edi
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x44], 0x271a8d68
jmp 0x40755c
mov dword [ebp - 0x44], 0xf9e583c2
jmp 0x40755c
mov dword [ebp - 0x44], 0x6e3d75e7
jmp 0x40755c
mov dword [ebp - 0x44], 0xa204a19d
jmp 0x406686