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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x5a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x59], al
mov dword [ebp - 0x60], 0xf6efe496
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
sub eax, 0x993292eb
je 0x408949
jmp 0x407bad
mov eax, dword [ebp - 0x6c]
sub eax, 0xa80e26b5
je 0x4082ba
jmp 0x407bc0
mov eax, dword [ebp - 0x6c]
sub eax, 0xada7f43f
je 0x4088e0
jmp 0x407bd3
mov eax, dword [ebp - 0x6c]
sub eax, 0xb559f6cf
je 0x408039
jmp 0x407be6
mov eax, dword [ebp - 0x6c]
sub eax, 0xb7734216
je 0x4085c2
jmp 0x407bf9
mov eax, dword [ebp - 0x6c]
sub eax, 0xb8b1b430
je 0x4080de
jmp 0x407c0c
mov eax, dword [ebp - 0x6c]
sub eax, 0xbb164017
je 0x408620
jmp 0x407c1f
mov eax, dword [ebp - 0x6c]
sub eax, 0xc496f10a
je 0x4086e5
jmp 0x407c32
mov eax, dword [ebp - 0x6c]
sub eax, 0xc8194922
je 0x408443
jmp 0x407c45
mov eax, dword [ebp - 0x6c]
sub eax, 0xce118859
je 0x408778
jmp 0x407c58
mov eax, dword [ebp - 0x6c]
sub eax, 0xd10d1ff0
je 0x408294
jmp 0x407c6b
mov eax, dword [ebp - 0x6c]
sub eax, 0xd9bf14e7
je 0x40893a
jmp 0x407c7e
mov eax, dword [ebp - 0x6c]
sub eax, 0xdb5c9509
je 0x4085aa
jmp 0x407c91
mov eax, dword [ebp - 0x6c]
sub eax, 0xdd78b762
je 0x408666
jmp 0x407ca4
mov eax, dword [ebp - 0x6c]
sub eax, 0xdf273d21
je 0x408282
jmp 0x407cb7
mov eax, dword [ebp - 0x6c]
sub eax, 0xe0973d26
je 0x4084ab
jmp 0x407cca
mov eax, dword [ebp - 0x6c]
sub eax, 0xebe25441
je 0x4083c4
jmp 0x407cdd
mov eax, dword [ebp - 0x6c]
sub eax, 0xf1809780
je 0x40802d
jmp 0x407cf0
mov eax, dword [ebp - 0x6c]
sub eax, 0xf6efe496
je 0x407f8e
jmp 0x407d03
mov eax, dword [ebp - 0x6c]
sub eax, 0xff6f9dd0
je 0x4085d6
jmp 0x407d16
mov eax, dword [ebp - 0x6c]
sub eax, 0x43f254f
je 0x4087d2
jmp 0x407d29
mov eax, dword [ebp - 0x6c]
sub eax, 0x941f9a5
je 0x4083d0
jmp 0x407d3c
mov eax, dword [ebp - 0x6c]
sub eax, 0xd51ca88
je 0x407fb4
jmp 0x407d4f
mov eax, dword [ebp - 0x6c]
sub eax, 0x1484f802
je 0x4081cc
jmp 0x407d62
mov eax, dword [ebp - 0x6c]
sub eax, 0x1e9a0f92
je 0x4088d4
jmp 0x407d75
mov eax, dword [ebp - 0x6c]
sub eax, 0x21599c7a
je 0x408351
jmp 0x407d88
mov eax, dword [ebp - 0x6c]
sub eax, 0x21dd5054
je 0x40871e
jmp 0x407d9b
mov eax, dword [ebp - 0x6c]
sub eax, 0x229d2ec5
je 0x408916
jmp 0x407dae
mov eax, dword [ebp - 0x6c]
sub eax, 0x24477cf3
je 0x408253
jmp 0x407dc1
mov eax, dword [ebp - 0x6c]
sub eax, 0x255be0a0
je 0x408973
jmp 0x407dd4
mov eax, dword [ebp - 0x6c]
sub eax, 0x2ec843b0
je 0x4086d9
jmp 0x407de7
mov eax, dword [ebp - 0x6c]
sub eax, 0x302dba3d
je 0x40895b
jmp 0x407dfa
mov eax, dword [ebp - 0x6c]
sub eax, 0x30839b0f
je 0x408159
jmp 0x407e0d
mov eax, dword [ebp - 0x6c]
sub eax, 0x3723b422
je 0x408967
jmp 0x407e20
mov eax, dword [ebp - 0x6c]
sub eax, 0x3bb17b91
je 0x40892e
jmp 0x407e33
mov eax, dword [ebp - 0x6c]
sub eax, 0x42ffd7a8
je 0x4087c6
jmp 0x407e46
mov eax, dword [ebp - 0x6c]
sub eax, 0x4764e8f0
je 0x408539
jmp 0x407e59
mov eax, dword [ebp - 0x6c]
sub eax, 0x50098771
je 0x4081d8
jmp 0x407e6c
mov eax, dword [ebp - 0x6c]
sub eax, 0x55fc15d9
je 0x408303
jmp 0x407e7f
mov eax, dword [ebp - 0x6c]
sub eax, 0x58489e50
je 0x4081ec
jmp 0x407e92
mov eax, dword [ebp - 0x6c]
sub eax, 0x627841bd
je 0x4082a0
jmp 0x407ea5
mov eax, dword [ebp - 0x6c]
sub eax, 0x632c7ddb
je 0x40810b
jmp 0x407eb8
mov eax, dword [ebp - 0x6c]
sub eax, 0x63cf91bd
je 0x40849f
jmp 0x407ecb
mov eax, dword [ebp - 0x6c]
sub eax, 0x668d6a93
je 0x4080f9
jmp 0x407ede
mov eax, dword [ebp - 0x6c]
sub eax, 0x6d57afdc
je 0x408701
jmp 0x407ef1
mov eax, dword [ebp - 0x6c]
sub eax, 0x7104653d
je 0x408270
jmp 0x407f04
mov eax, dword [ebp - 0x6c]
sub eax, 0x729cf983
je 0x4084c6
jmp 0x407f17
mov eax, dword [ebp - 0x6c]
sub eax, 0x74d079bc
je 0x4087f7
jmp 0x407f2a
mov eax, dword [ebp - 0x6c]
sub eax, 0x752bf9d9
je 0x4088f6
jmp 0x407f3d
mov eax, dword [ebp - 0x6c]
sub eax, 0x7cb6c1a7
je 0x40872a
jmp 0x407f50
mov eax, dword [ebp - 0x6c]
sub eax, 0x7d2f6717
je 0x4085b6
jmp 0x407f63
mov eax, dword [ebp - 0x6c]
sub eax, 0x7f685cca
je 0x408922
jmp 0x407f76
mov eax, dword [ebp - 0x6c]
sub eax, 0x7faf29c6
je 0x408845
jmp 0x407f89
jmp 0x408996
mov al, byte [ebp - 0x5a]
mov cl, byte [ebp - 0x59]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x229d2ec5
mov ecx, 0xd51ca88
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
push eax
mov eax, esp
mov dword [ebp - 0x58], eax
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
sub edx, 0x32343a34
sub edx, 1
add edx, 0x32343a34
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, 0x229d2ec5
mov ecx, 0xf1809780
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0xb559f6cf
jmp 0x408996
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
push eax
mov eax, esp
mov dword [ebp - 0x54], eax
push eax
mov eax, esp
push eax
mov edx, esp
mov dword [ebp - 0x50], edx
push eax
mov edx, esp
mov dword [ebp - 0x4c], edx
push eax
mov edx, esp
mov dword [ebp - 0x48], edx
push eax
mov edx, esp
mov dword [ebp - 0x44], edx
push eax
sub esp, 0xffc
mov edx, esp
mov dword [ebp - 0x40], edx
push eax
mov edx, esp
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x54]
mov dword [edx], esi
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 - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov ecx, 0xffffffff
cmp dword [eax], ecx
sete al
and al, 1
mov byte [ebp - 0x35], al
mov dword [ebp - 0x60], 0xb8b1b430
jmp 0x408996
mov dl, byte [ebp - 0x35]
mov eax, 0x50098771
mov ecx, 0x668d6a93
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [ebp - 0x58]
mov byte [eax], 0
mov dword [ebp - 0x60], 0x632c7ddb
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
add edx, 0x65c9cc94
sub edx, 1
sub edx, 0x65c9cc94
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, 0x7f685cca
mov ecx, 0x30839b0f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
add edx, 0xd2334835
sub edx, 1
sub edx, 0xd2334835
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, 0x7f685cca
mov ecx, 0x1484f802
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0xada7f43f
jmp 0x408996
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], 0x58489e50
jmp 0x408996
mov eax, dword [ebp - 0x34]
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 - 0x4c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x4c]
mov esi, 0xffffffff
mov eax, 0xdf273d21
mov ecx, 0x24477cf3
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x60], 0x7104653d
jmp 0x408996
mov eax, dword [ebp - 0x58]
mov byte [eax], 0
mov dword [ebp - 0x60], 0xada7f43f
jmp 0x408996
mov eax, dword [ebp - 0x48]
mov byte [eax], 0
mov dword [ebp - 0x60], 0xd10d1ff0
jmp 0x408996
mov dword [ebp - 0x60], 0x627841bd
jmp 0x408996
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], 0xa80e26b5
jmp 0x408996
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
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, 0x55fc15d9
mov ecx, 0x941f9a5
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
add edx, 0xea221cfb
sub edx, 1
sub edx, 0xea221cfb
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, 0x3bb17b91
mov ecx, 0x21599c7a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
add edx, 0x7beee8c3
sub edx, 1
sub edx, 0x7beee8c3
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, 0x3bb17b91
mov ecx, 0xebe25441
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0x43f254f
jmp 0x408996
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
sub edx, 0xf6b59c78
sub edx, 1
add edx, 0xf6b59c78
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, 0xd9bf14e7
mov ecx, 0xc8194922
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
sete al
and al, 1
mov byte [ebp - 0x25], al
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
sub edx, 0x45fc271
sub edx, 1
add edx, 0x45fc271
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, 0xd9bf14e7
mov ecx, 0x63cf91bd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0xe0973d26
jmp 0x408996
mov dl, byte [ebp - 0x25]
mov eax, 0xb7734216
mov ecx, 0x729cf983
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
sub edx, 0xeddeaa3c
sub edx, 1
add edx, 0xeddeaa3c
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, 0x993292eb
mov ecx, 0x4764e8f0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [ebp - 0x48]
mov byte [eax], 1
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
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, 0x993292eb
mov ecx, 0xdb5c9509
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0x7d2f6717
jmp 0x408996
mov dword [ebp - 0x60], 0x43f254f
jmp 0x408996
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x60], 0xff6f9dd0
jmp 0x408996
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
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 edx, eax
mov eax, 0xbb164017
mov ecx, 0xc496f10a
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
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, 0x302dba3d
mov ecx, 0xdd78b762
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
sub edx, 0x119347fc
sub edx, 1
add edx, 0x119347fc
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, 0x302dba3d
mov ecx, 0x2ec843b0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0x43f254f
jmp 0x408996
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], 0x6d57afdc
jmp 0x408996
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov eax, 0x7cb6c1a7
mov ecx, 0x21dd5054
cmp edx, esi
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0x43f254f
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
sub edx, 0xb417917c
sub edx, 1
add edx, 0xb417917c
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, 0x3723b422
mov ecx, 0xce118859
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
sub edx, 0xa62e3803
sub edx, 1
add edx, 0xa62e3803
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, 0x3723b422
mov ecx, 0x42ffd7a8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0x627841bd
jmp 0x408996
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x60], 0x74d079bc
jmp 0x408996
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b5b0]
mov edx, eax
sub edx, 0x7fe81a40
sub edx, 1
add edx, 0x7fe81a40
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, 0x255be0a0
mov ecx, 0x7faf29c6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x48]
mov cl, byte [eax]
mov eax, dword [ebp - 0x58]
and cl, 1
mov byte [eax], cl
mov ecx, dword [0x43b5b4]
mov eax, dword [0x43b5b0]
mov edx, ecx
add edx, 0xbb863017
sub edx, 1
sub edx, 0xbb863017
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, 0x255be0a0
mov ecx, 0x1e9a0f92
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x408996
mov dword [ebp - 0x60], 0xada7f43f
jmp 0x408996
mov eax, dword [ebp - 0x58]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x60], 0x752bf9d9
jmp 0x408996
mov al, byte [ebp - 0x11]
and al, 1
movzx eax, al
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423ec0
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x60], 0xd51ca88
jmp 0x408996
mov dword [ebp - 0x60], 0x30839b0f
jmp 0x408996
mov dword [ebp - 0x60], 0x21599c7a
jmp 0x408996
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], 0xc8194922
jmp 0x408996
mov eax, dword [ebp - 0x48]
mov byte [eax], 1
mov dword [ebp - 0x60], 0x4764e8f0
jmp 0x408996
mov dword [ebp - 0x60], 0xdd78b762
jmp 0x408996
mov dword [ebp - 0x60], 0xce118859
jmp 0x408996
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x48]
mov cl, byte [eax]
mov eax, dword [ebp - 0x58]
and cl, 1
mov byte [eax], cl
mov dword [ebp - 0x60], 0x7faf29c6
jmp 0x407b97