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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [0x446080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
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 - 0x4e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x54], 0xc50344b
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
sub eax, 0x8f80e002
je 0x412eda
jmp 0x41276d
mov eax, dword [ebp - 0x60]
sub eax, 0x91ae8ad9
je 0x41313c
jmp 0x412780
mov eax, dword [ebp - 0x60]
sub eax, 0x9585b25f
je 0x413629
jmp 0x412793
mov eax, dword [ebp - 0x60]
sub eax, 0x9859278c
je 0x412da6
jmp 0x4127a6
mov eax, dword [ebp - 0x60]
sub eax, 0x990b26c4
je 0x413212
jmp 0x4127b9
mov eax, dword [ebp - 0x60]
sub eax, 0x9c8326d6
je 0x412f9b
jmp 0x4127cc
mov eax, dword [ebp - 0x60]
sub eax, 0xa3f1a582
je 0x4131a7
jmp 0x4127df
mov eax, dword [ebp - 0x60]
sub eax, 0xa5318c12
je 0x4135d4
jmp 0x4127f2
mov eax, dword [ebp - 0x60]
sub eax, 0xa84333d8
je 0x412fe0
jmp 0x412805
mov eax, dword [ebp - 0x60]
sub eax, 0xb38963ee
je 0x4132df
jmp 0x412818
mov eax, dword [ebp - 0x60]
sub eax, 0xba118ef8
je 0x413291
jmp 0x41282b
mov eax, dword [ebp - 0x60]
sub eax, 0xba8a4abd
je 0x41359b
jmp 0x41283e
mov eax, dword [ebp - 0x60]
sub eax, 0xbd9ba8fe
je 0x4133ce
jmp 0x412851
mov eax, dword [ebp - 0x60]
sub eax, 0xbdfedae5
je 0x413115
jmp 0x412864
mov eax, dword [ebp - 0x60]
sub eax, 0xbed0e38a
je 0x412c26
jmp 0x412877
mov eax, dword [ebp - 0x60]
sub eax, 0xbfbb7d37
je 0x412f47
jmp 0x41288a
mov eax, dword [ebp - 0x60]
sub eax, 0xc31a7776
je 0x412e5b
jmp 0x41289d
mov eax, dword [ebp - 0x60]
sub eax, 0xc41741cd
je 0x412f01
jmp 0x4128b0
mov eax, dword [ebp - 0x60]
sub eax, 0xc459fbe3
je 0x412dc4
jmp 0x4128c3
mov eax, dword [ebp - 0x60]
sub eax, 0xc4e1c487
je 0x412fc2
jmp 0x4128d6
mov eax, dword [ebp - 0x60]
sub eax, 0xc5ece255
je 0x412ef5
jmp 0x4128e9
mov eax, dword [ebp - 0x60]
sub eax, 0xc7c23a60
je 0x4135a7
jmp 0x4128fc
mov eax, dword [ebp - 0x60]
sub eax, 0xcf9b2ec1
je 0x412bad
jmp 0x41290f
mov eax, dword [ebp - 0x60]
sub eax, 0xd3e8c6c7
je 0x4135c2
jmp 0x412922
mov eax, dword [ebp - 0x60]
sub eax, 0xd401914d
je 0x412ca5
jmp 0x412935
mov eax, dword [ebp - 0x60]
sub eax, 0xd6e41e0f
je 0x41335e
jmp 0x412948
mov eax, dword [ebp - 0x60]
sub eax, 0xe2d55c82
je 0x412e47
jmp 0x41295b
mov eax, dword [ebp - 0x60]
sub eax, 0xee8ed349
je 0x4135ec
jmp 0x41296e
mov eax, dword [ebp - 0x60]
sub eax, 0xee9cefd9
je 0x41321e
jmp 0x412981
mov eax, dword [ebp - 0x60]
sub eax, 0xf3897e97
je 0x41357b
jmp 0x412994
mov eax, dword [ebp - 0x60]
sub eax, 0xf49ef7f3
je 0x413510
jmp 0x4129a7
mov eax, dword [ebp - 0x60]
sub eax, 0xf66fda63
je 0x4133f3
jmp 0x4129ba
mov eax, dword [ebp - 0x60]
sub eax, 0xfa696781
je 0x41361a
jmp 0x4129cd
mov eax, dword [ebp - 0x60]
sub eax, 0xfb709b5c
je 0x4130b5
jmp 0x4129e0
mov eax, dword [ebp - 0x60]
sub eax, 0xfff8fd96
je 0x412e9a
jmp 0x4129f3
mov eax, dword [ebp - 0x60]
sub eax, 0x3f16f1c
je 0x41304a
jmp 0x412a06
mov eax, dword [ebp - 0x60]
sub eax, 0xc50344b
je 0x412b87
jmp 0x412a19
mov eax, dword [ebp - 0x60]
sub eax, 0xc5e4ff0
je 0x412fa7
jmp 0x412a2c
mov eax, dword [ebp - 0x60]
sub eax, 0x15d9715f
je 0x4135b3
jmp 0x412a3f
mov eax, dword [ebp - 0x60]
sub eax, 0x1c5dff12
je 0x412ff4
jmp 0x412a52
mov eax, dword [ebp - 0x60]
sub eax, 0x1c8dfeb9
je 0x412e2c
jmp 0x412a65
mov eax, dword [ebp - 0x60]
sub eax, 0x1f79a110
je 0x412e7c
jmp 0x412a78
mov eax, dword [ebp - 0x60]
sub eax, 0x222d7880
je 0x412db8
jmp 0x412a8b
mov eax, dword [ebp - 0x60]
sub eax, 0x253c2553
je 0x412d0f
jmp 0x412a9e
mov eax, dword [ebp - 0x60]
sub eax, 0x29f46d91
je 0x412fd4
jmp 0x412ab1
mov eax, dword [ebp - 0x60]
sub eax, 0x2e8b3e82
je 0x4135e0
jmp 0x412ac4
mov eax, dword [ebp - 0x60]
sub eax, 0x328200f3
je 0x413491
jmp 0x412ad7
mov eax, dword [ebp - 0x60]
sub eax, 0x334be52b
je 0x41349d
jmp 0x412aea
mov eax, dword [ebp - 0x60]
sub eax, 0x3abef761
je 0x413121
jmp 0x412afd
mov eax, dword [ebp - 0x60]
sub eax, 0x51ec42a1
je 0x41303e
jmp 0x412b10
mov eax, dword [ebp - 0x60]
sub eax, 0x53088b11
je 0x412c32
jmp 0x412b23
mov eax, dword [ebp - 0x60]
sub eax, 0x5a3c4dc9
je 0x412d03
jmp 0x412b36
mov eax, dword [ebp - 0x60]
sub eax, 0x60fb3f69
je 0x4132eb
jmp 0x412b49
mov eax, dword [ebp - 0x60]
sub eax, 0x639fe504
je 0x412e8e
jmp 0x412b5c
mov eax, dword [ebp - 0x60]
sub eax, 0x77ae2167
je 0x413439
jmp 0x412b6f
mov eax, dword [ebp - 0x60]
sub eax, 0x7d45f82b
je 0x4133da
jmp 0x412b82
jmp 0x413630
mov al, byte [ebp - 0x4e]
mov cl, byte [ebp - 0x4d]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xba8a4abd
mov ecx, 0xcf9b2ec1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
push eax
mov eax, esp
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
mov edx, ecx
sub edx, 0xef335546
sub edx, 1
add edx, 0xef335546
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, 0xba8a4abd
mov ecx, 0xbed0e38a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x53088b11
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
mov edx, ecx
add edx, 0xf315c5a8
sub edx, 1
sub edx, 0xf315c5a8
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, 0xc7c23a60
mov ecx, 0xd401914d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
push eax
mov eax, esp
mov dword [ebp - 0x48], eax
push eax
mov eax, esp
mov dword [ebp - 0x44], eax
push eax
mov eax, esp
mov dword [ebp - 0x40], eax
push eax
mov eax, esp
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
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, 0xc7c23a60
mov ecx, 0x5a3c4dc9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x253c2553
jmp 0x413630
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
push eax
mov eax, esp
mov dword [ebp - 0x38], eax
push eax
mov eax, esp
mov dword [ebp - 0x34], eax
push eax
sub esp, 0xffc
mov eax, esp
mov dword [ebp - 0x30], eax
push eax
mov eax, esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
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 - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov esi, 0xffffffff
mov eax, 0xc459fbe3
mov ecx, 0x9859278c
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x4c]
mov byte [eax], 0
mov dword [ebp - 0x54], 0x222d7880
jmp 0x413630
mov dword [ebp - 0x54], 0xf66fda63
jmp 0x413630
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
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 - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, 0xffffffff
cmp dword [eax], ecx
sete al
and al, 1
mov byte [ebp - 0x25], al
mov dword [ebp - 0x54], 0x1c8dfeb9
jmp 0x413630
mov dl, byte [ebp - 0x25]
mov eax, 0x1f79a110
mov ecx, 0xe2d55c82
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x54], 0xc31a7776
jmp 0x413630
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov byte [eax], 0
mov dword [ebp - 0x54], 0xf66fda63
jmp 0x413630
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
mov dword [ebp - 0x54], 0x639fe504
jmp 0x413630
mov dword [ebp - 0x54], 0xfff8fd96
jmp 0x413630
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov eax, 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 dword [ebp - 0x20], eax
mov dword [ebp - 0x54], 0x8f80e002
jmp 0x413630
mov edx, dword [ebp - 0x20]
mov eax, 0xc5ece255
mov ecx, 0xc41741cd
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x60fb3f69
jmp 0x413630
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
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, 0x15d9715f
mov ecx, 0xbfbb7d37
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
sete al
and al, 1
mov byte [ebp - 0x19], al
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
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, 0x15d9715f
mov ecx, 0x9c8326d6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0xc5e4ff0
jmp 0x413630
mov dl, byte [ebp - 0x19]
mov eax, 0xa84333d8
mov ecx, 0xc4e1c487
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov dword [ebp - 0x54], 0x29f46d91
jmp 0x413630
mov dword [ebp - 0x54], 0x60fb3f69
jmp 0x413630
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], 0x1c5dff12
jmp 0x413630
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
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, 0x51ec42a1
mov ecx, 0x3f16f1c
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x60fb3f69
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
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, 0xd3e8c6c7
mov ecx, 0xfb709b5c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx]
setne al
and al, 1
mov byte [ebp - 0x12], al
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
mov edx, eax
sub edx, 0xb539d70a
sub edx, 1
add edx, 0xb539d70a
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, 0xd3e8c6c7
mov ecx, 0xbdfedae5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x3abef761
jmp 0x413630
mov dl, byte [ebp - 0x12]
mov eax, 0xee9cefd9
mov ecx, 0x91ae8ad9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
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, 0xa5318c12
mov ecx, 0xa3f1a582
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
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, 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, 0xa5318c12
mov ecx, 0x990b26c4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x60fb3f69
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
mov edx, ecx
add edx, 0x315146ff
sub edx, 1
sub edx, 0x315146ff
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, 0x2e8b3e82
mov ecx, 0xba118ef8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
mov edx, eax
add edx, 0x747f6dad
sub edx, 1
sub edx, 0x747f6dad
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, 0x2e8b3e82
mov ecx, 0xb38963ee
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0xfff8fd96
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
mov edx, ecx
add edx, 0x7e333ce
sub edx, 1
sub edx, 0x7e333ce
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, 0xee8ed349
mov ecx, 0xd6e41e0f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
mov edx, eax
add edx, 0x6764e2b1
sub edx, 1
sub edx, 0x6764e2b1
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, 0xee8ed349
mov ecx, 0xbd9ba8fe
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x7d45f82b
jmp 0x413630
mov eax, dword [ebp - 0x38]
mov cl, byte [eax]
mov eax, dword [ebp - 0x4c]
and cl, 1
mov byte [eax], cl
mov dword [ebp - 0x54], 0xf66fda63
jmp 0x413630
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
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, 0xfa696781
mov ecx, 0x77ae2167
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov eax, dword [ebp - 0x4c]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x11], al
mov eax, dword [0x4475b4]
mov ecx, dword [0x4475b0]
mov edx, eax
add edx, 0x7b42d209
sub edx, 1
sub edx, 0x7b42d209
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, 0xfa696781
mov ecx, 0x328200f3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov dword [ebp - 0x54], 0x334be52b
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
mov edx, ecx
add edx, 0xd6dd1025
sub edx, 1
sub edx, 0xd6dd1025
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, 0x9585b25f
mov ecx, 0xf49ef7f3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov ecx, dword [0x4475b4]
mov eax, dword [0x4475b0]
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, 0x9585b25f
mov ecx, 0xf3897e97
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x54], eax
jmp 0x413630
mov al, byte [ebp - 0x11]
and al, 1
movzx eax, al
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed80
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x54], 0xcf9b2ec1
jmp 0x413630
mov dword [ebp - 0x54], 0xd401914d
jmp 0x413630
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], 0xbfbb7d37
jmp 0x413630
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], 0xfb709b5c
jmp 0x413630
mov dword [ebp - 0x54], 0xa3f1a582
jmp 0x413630
mov dword [ebp - 0x54], 0xba118ef8
jmp 0x413630
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], 0xd6e41e0f
jmp 0x413630
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0x77ae2167
jmp 0x413630
mov dword [ebp - 0x54], 0xf49ef7f3
jmp 0x412757