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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [0x440080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0xf568dcab
sub edx, 1
add edx, 0xf568dcab
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x56], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x55], al
mov dword [ebp - 0x5c], 0x9cfd7328
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
sub eax, 0x8352f1f9
je 0x40c640
jmp 0x40bf45
mov eax, dword [ebp - 0x68]
sub eax, 0x85145241
je 0x40c712
jmp 0x40bf58
mov eax, dword [ebp - 0x68]
sub eax, 0x942dbc8b
je 0x40c97a
jmp 0x40bf6b
mov eax, dword [ebp - 0x68]
sub eax, 0x9cfd7328
je 0x40c326
jmp 0x40bf7e
mov eax, dword [ebp - 0x68]
sub eax, 0xa4e5a743
je 0x40cbc9
jmp 0x40bf91
mov eax, dword [ebp - 0x68]
sub eax, 0xad1f8e8c
je 0x40cd6f
jmp 0x40bfa4
mov eax, dword [ebp - 0x68]
sub eax, 0xb8a26d15
je 0x40cd7b
jmp 0x40bfb7
mov eax, dword [ebp - 0x68]
sub eax, 0xb9a7246e
je 0x40c80e
jmp 0x40bfca
mov eax, dword [ebp - 0x68]
sub eax, 0xbbd30955
je 0x40cbbd
jmp 0x40bfdd
mov eax, dword [ebp - 0x68]
sub eax, 0xbf1ae009
je 0x40ce00
jmp 0x40bff0
mov eax, dword [ebp - 0x68]
sub eax, 0xc8c2df20
je 0x40c802
jmp 0x40c003
mov eax, dword [ebp - 0x68]
sub eax, 0xdb612f02
je 0x40ca53
jmp 0x40c016
mov eax, dword [ebp - 0x68]
sub eax, 0xdd198c2d
je 0x40cb42
jmp 0x40c029
mov eax, dword [ebp - 0x68]
sub eax, 0xdfc3050f
je 0x40ccba
jmp 0x40c03c
mov eax, dword [ebp - 0x68]
sub eax, 0xe77446ba
je 0x40c903
jmp 0x40c04f
mov eax, dword [ebp - 0x68]
sub eax, 0xedf32457
je 0x40c724
jmp 0x40c062
mov eax, dword [ebp - 0x68]
sub eax, 0xee44f897
je 0x40ca41
jmp 0x40c075
mov eax, dword [ebp - 0x68]
sub eax, 0xf1cbb317
je 0x40c90f
jmp 0x40c088
mov eax, dword [ebp - 0x68]
sub eax, 0xf24fb32e
je 0x40c5a7
jmp 0x40c09b
mov eax, dword [ebp - 0x68]
sub eax, 0xf441bb72
je 0x40cd63
jmp 0x40c0ae
mov eax, dword [ebp - 0x68]
sub eax, 0xf6718a69
je 0x40c62c
jmp 0x40c0c1
mov eax, dword [ebp - 0x68]
sub eax, 0xa829b7d
je 0x40cdf1
jmp 0x40c0d4
mov eax, dword [ebp - 0x68]
sub eax, 0xd3c89e9
je 0x40c50f
jmp 0x40c0e7
mov eax, dword [ebp - 0x68]
sub eax, 0xf42d200
je 0x40cde5
jmp 0x40c0fa
mov eax, dword [ebp - 0x68]
sub eax, 0x125d5696
je 0x40ca00
jmp 0x40c10d
mov eax, dword [ebp - 0x68]
sub eax, 0x145131bd
je 0x40c371
jmp 0x40c120
mov eax, dword [ebp - 0x68]
sub eax, 0x1543e481
je 0x40cbf4
jmp 0x40c133
mov eax, dword [ebp - 0x68]
sub eax, 0x199134ab
je 0x40cc47
jmp 0x40c146
mov eax, dword [ebp - 0x68]
sub eax, 0x2058f0b8
je 0x40cacf
jmp 0x40c159
mov eax, dword [ebp - 0x68]
sub eax, 0x24258eb7
je 0x40cd9c
jmp 0x40c16c
mov eax, dword [ebp - 0x68]
sub eax, 0x2688248e
je 0x40ca26
jmp 0x40c17f
mov eax, dword [ebp - 0x68]
sub eax, 0x281fe5f5
je 0x40c797
jmp 0x40c192
mov eax, dword [ebp - 0x68]
sub eax, 0x2a97e8c1
je 0x40c595
jmp 0x40c1a5
mov eax, dword [ebp - 0x68]
sub eax, 0x2b523ac8
je 0x40c408
jmp 0x40c1b8
mov eax, dword [ebp - 0x68]
sub eax, 0x303fd2e2
je 0x40ca0c
jmp 0x40c1cb
mov eax, dword [ebp - 0x68]
sub eax, 0x34f9ab7b
je 0x40cda8
jmp 0x40c1de
mov eax, dword [ebp - 0x68]
sub eax, 0x389d65f4
je 0x40c6ab
jmp 0x40c1f1
mov eax, dword [ebp - 0x68]
sub eax, 0x3ab3fbbb
je 0x40ca5f
jmp 0x40c204
mov eax, dword [ebp - 0x68]
sub eax, 0x406c2820
je 0x40c9e5
jmp 0x40c217
mov eax, dword [ebp - 0x68]
sub eax, 0x42138f28
je 0x40c706
jmp 0x40c22a
mov eax, dword [ebp - 0x68]
sub eax, 0x531ce78f
je 0x40c57a
jmp 0x40c23d
mov eax, dword [ebp - 0x68]
sub eax, 0x531e5baf
je 0x40cac3
jmp 0x40c250
mov eax, dword [ebp - 0x68]
sub eax, 0x562cd09e
je 0x40cbe8
jmp 0x40c263
mov eax, dword [ebp - 0x68]
sub eax, 0x5b1c54a4
je 0x40cd37
jmp 0x40c276
mov eax, dword [ebp - 0x68]
sub eax, 0x5bbfd250
je 0x40c5b3
jmp 0x40c289
mov eax, dword [ebp - 0x68]
sub eax, 0x657c8d18
je 0x40c605
jmp 0x40c29c
mov eax, dword [ebp - 0x68]
sub eax, 0x6b4f8410
je 0x40c881
jmp 0x40c2af
mov eax, dword [ebp - 0x68]
sub eax, 0x6db07816
je 0x40cc2e
jmp 0x40c2c2
mov eax, dword [ebp - 0x68]
sub eax, 0x788d19d8
je 0x40c414
jmp 0x40c2d5
mov eax, dword [ebp - 0x68]
sub eax, 0x79a897cb
je 0x40ca79
jmp 0x40c2e8
mov eax, dword [ebp - 0x68]
sub eax, 0x7b81c623
je 0x40cd43
jmp 0x40c2fb
mov eax, dword [ebp - 0x68]
sub eax, 0x7bcb5320
je 0x40cc00
jmp 0x40c30e
mov eax, dword [ebp - 0x68]
sub eax, 0x7f4f7900
je 0x40c4a4
jmp 0x40c321
jmp 0x40ce0a
mov bl, byte [ebp - 0x56]
mov dh, byte [ebp - 0x55]
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, 0xf441bb72
mov ecx, 0x145131bd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
push eax
mov eax, esp
mov dword [ebp - 0x54], eax
push eax
mov eax, esp
mov dword [ebp - 0x50], eax
push eax
mov eax, esp
mov dword [ebp - 0x4c], eax
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
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0x1e4911d9
sub edx, 1
add edx, 0x1e4911d9
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, 0xf441bb72
mov ecx, 0x2b523ac8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x788d19d8
jmp 0x40ce0a
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
push eax
mov eax, esp
mov dword [ebp - 0x3c], eax
push eax
sub esp, 0xffc
mov eax, esp
mov dword [ebp - 0x38], eax
push eax
mov eax, esp
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
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 - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, 0xffffffff
cmp dword [eax], ecx
sete al
and al, 1
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x5c], 0x7f4f7900
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0xad1f8e8c
mov ecx, 0xd3c89e9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0xad1f8e8c
mov ecx, 0x531ce78f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dl, byte [ebp - 0x2d]
mov eax, 0x5bbfd250
mov ecx, 0x2a97e8c1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
mov dword [ebp - 0x5c], 0xf24fb32e
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x199134ab
jmp 0x40ce0a
mov eax, dword [ebp - 0x50]
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 dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], 0x657c8d18
jmp 0x40ce0a
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x44]
mov esi, 0xffffffff
mov eax, 0x85145241
mov ecx, 0xf6718a69
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x5c], 0x8352f1f9
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0xb8a26d15
mov ecx, 0x389d65f4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
mov eax, dword [0x441594]
mov ecx, dword [0x441590]
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, 0xb8a26d15
mov ecx, 0x42138f28
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x199134ab
jmp 0x40ce0a
mov eax, dword [ebp - 0x40]
mov byte [eax], 0
mov dword [ebp - 0x5c], 0xedf32457
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0x8b7f8eb
sub edx, 1
add edx, 0x8b7f8eb
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, 0x24258eb7
mov ecx, 0x281fe5f5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0x24258eb7
mov ecx, 0xc8c2df20
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0xb9a7246e
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
add edx, 0xbc38558c
sub edx, 1
sub edx, 0xbc38558c
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, 0x34f9ab7b
mov ecx, 0x6b4f8410
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov eax, dword [ebp - 0x34]
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]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0x22], al
mov eax, dword [0x441594]
mov ecx, dword [0x441590]
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, 0x34f9ab7b
mov ecx, 0xe77446ba
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0xf1cbb317
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0xf42d200
mov ecx, 0x942dbc8b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
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, 0xf42d200
mov ecx, 0x406c2820
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dl, byte [ebp - 0x22]
mov eax, 0x125d5696
mov ecx, 0x303fd2e2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x7bcb5320
jmp 0x40ce0a
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
sete al
and al, 1
mov byte [ebp - 0x21], al
mov dword [ebp - 0x5c], 0x2688248e
jmp 0x40ce0a
mov dl, byte [ebp - 0x21]
mov eax, 0x3ab3fbbb
mov ecx, 0xee44f897
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x40]
mov byte [eax], 1
mov dword [ebp - 0x5c], 0xdb612f02
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x7bcb5320
jmp 0x40ce0a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], 0x79a897cb
jmp 0x40ce0a
mov eax, dword [ebp - 0x44]
mov esi, dword [eax]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
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, 0x531e5baf
mov ecx, 0x2058f0b8
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x7bcb5320
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0x227ca2eb
sub edx, 1
add edx, 0x227ca2eb
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, 0xa829b7d
mov ecx, 0xdd198c2d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0xa08ca175
sub edx, 1
add edx, 0xa08ca175
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, 0xa829b7d
mov ecx, 0xbbd30955
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0xa4e5a743
jmp 0x40ce0a
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, 0x1543e481
mov ecx, 0x562cd09e
cmp edx, esi
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x7bcb5320
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0xb9a7246e
jmp 0x40ce0a
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], 0x6db07816
jmp 0x40ce0a
mov eax, dword [ebp - 0x40]
mov cl, byte [eax]
mov eax, dword [ebp - 0x54]
and cl, 1
mov byte [eax], cl
mov dword [ebp - 0x5c], 0x199134ab
jmp 0x40ce0a
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0x8808a87f
sub edx, 1
add edx, 0x8808a87f
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, 0xbf1ae009
mov ecx, 0xdfc3050f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov eax, dword [ebp - 0x54]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x11], al
mov ecx, dword [0x441594]
mov eax, dword [0x441590]
mov edx, ecx
sub edx, 0x3f95a828
sub edx, 1
add edx, 0x3f95a828
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, 0xbf1ae009
mov ecx, 0x5b1c54a4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x7b81c623
jmp 0x40ce0a
mov al, byte [ebp - 0x11]
and al, 1
movzx eax, al
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429290
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x5c], 0x145131bd
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0xd3c89e9
jmp 0x40ce0a
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
mov dword [ebp - 0x5c], 0x389d65f4
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x281fe5f5
jmp 0x40ce0a
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov eax, dword [ebp - 0x34]
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 - 0x5c], 0x6b4f8410
jmp 0x40ce0a
mov dword [ebp - 0x5c], 0x942dbc8b
jmp 0x40ce0a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], 0xdd198c2d
jmp 0x40ce0a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], 0xdfc3050f
jmp 0x40bf2f