Function at 0x40eda0
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 [0x442080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
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 - 0x56], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x55], al
mov dword [ebp - 0x5c], 0x11a93f0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
sub eax, 0x85f7df87
je 0x40f239
jmp 0x40ee0d
mov eax, dword [ebp - 0x68]
sub eax, 0x8ac80897
je 0x40f354
jmp 0x40ee20
mov eax, dword [ebp - 0x68]
sub eax, 0x8bdaede8
je 0x40fbb6
jmp 0x40ee33
mov eax, dword [ebp - 0x68]
sub eax, 0x99bf7962
je 0x40f433
jmp 0x40ee46
mov eax, dword [ebp - 0x68]
sub eax, 0x9c7cb5a7
je 0x40fb43
jmp 0x40ee59
mov eax, dword [ebp - 0x68]
sub eax, 0xa105838e
je 0x40faa6
jmp 0x40ee6c
mov eax, dword [ebp - 0x68]
sub eax, 0xa56c02a1
je 0x40fb98
jmp 0x40ee7f
mov eax, dword [ebp - 0x68]
sub eax, 0xa8531e61
je 0x40fba4
jmp 0x40ee92
mov eax, dword [ebp - 0x68]
sub eax, 0xac2171f6
je 0x40f3d9
jmp 0x40eea5
mov eax, dword [ebp - 0x68]
sub eax, 0xae58eb0f
je 0x40fa60
jmp 0x40eeb8
mov eax, dword [ebp - 0x68]
sub eax, 0xb1806e0c
je 0x40f366
jmp 0x40eecb
mov eax, dword [ebp - 0x68]
sub eax, 0xb1be64ab
je 0x40f689
jmp 0x40eede
mov eax, dword [ebp - 0x68]
sub eax, 0xb2a0956a
je 0x40fb01
jmp 0x40eef1
mov eax, dword [ebp - 0x68]
sub eax, 0xb6a3ba89
je 0x40f4c4
jmp 0x40ef04
mov eax, dword [ebp - 0x68]
sub eax, 0xb6b72eda
je 0x40f6ca
jmp 0x40ef17
mov eax, dword [ebp - 0x68]
sub eax, 0xbd276965
je 0x40f491
jmp 0x40ef2a
mov eax, dword [ebp - 0x68]
sub eax, 0xc7ea6e6a
je 0x40fb17
jmp 0x40ef3d
mov eax, dword [ebp - 0x68]
sub eax, 0xcb7963ce
je 0x40f299
jmp 0x40ef50
mov eax, dword [ebp - 0x68]
sub eax, 0xcd7259c3
je 0x40f9e1
jmp 0x40ef63
mov eax, dword [ebp - 0x68]
sub eax, 0xd6afe353
je 0x40fb4f
jmp 0x40ef76
mov eax, dword [ebp - 0x68]
sub eax, 0xd9f752a5
je 0x40f9ae
jmp 0x40ef89
mov eax, dword [ebp - 0x68]
sub eax, 0xdb8aeda3
je 0x40fb37
jmp 0x40ef9c
mov eax, dword [ebp - 0x68]
sub eax, 0xddbc5413
je 0x40f766
jmp 0x40efaf
mov eax, dword [ebp - 0x68]
sub eax, 0xe4b5fbf8
je 0x40f427
jmp 0x40efc2
mov eax, dword [ebp - 0x68]
sub eax, 0xe8d908d2
je 0x40f781
jmp 0x40efd5
mov eax, dword [ebp - 0x68]
sub eax, 0x11a93f0
je 0x40f1ee
jmp 0x40efe8
mov eax, dword [ebp - 0x68]
sub eax, 0x13676979
je 0x40f8bc
jmp 0x40effb
mov eax, dword [ebp - 0x68]
sub eax, 0x14a94d84
je 0x40f793
jmp 0x40f00e
mov eax, dword [ebp - 0x68]
sub eax, 0x194d135c
je 0x40f5b1
jmp 0x40f021
mov eax, dword [ebp - 0x68]
sub eax, 0x1968e395
je 0x40f718
jmp 0x40f034
mov eax, dword [ebp - 0x68]
sub eax, 0x1d963a10
je 0x40f80a
jmp 0x40f047
mov eax, dword [ebp - 0x68]
sub eax, 0x1de9d83b
je 0x40fab2
jmp 0x40f05a
mov eax, dword [ebp - 0x68]
sub eax, 0x1e671e8c
je 0x40f545
jmp 0x40f06d
mov eax, dword [ebp - 0x68]
sub eax, 0x21ab1040
je 0x40f59f
jmp 0x40f080
mov eax, dword [ebp - 0x68]
sub eax, 0x24210849
je 0x40f593
jmp 0x40f093
mov eax, dword [ebp - 0x68]
sub eax, 0x2cb4fd3f
je 0x40f92f
jmp 0x40f0a6
mov eax, dword [ebp - 0x68]
sub eax, 0x2d540cf7
je 0x40f9a2
jmp 0x40f0b9
mov eax, dword [ebp - 0x68]
sub eax, 0x3e75ea4d
je 0x40f9c2
jmp 0x40f0cc
mov eax, dword [ebp - 0x68]
sub eax, 0x3efac895
je 0x40fbc2
jmp 0x40f0df
mov eax, dword [ebp - 0x68]
sub eax, 0x43d8093a
je 0x40f4b0
jmp 0x40f0f2
mov eax, dword [ebp - 0x68]
sub eax, 0x469d20f6
je 0x40faea
jmp 0x40f105
mov eax, dword [ebp - 0x68]
sub eax, 0x498626f2
je 0x40f6a4
jmp 0x40f118
mov eax, dword [ebp - 0x68]
sub eax, 0x4b9af2e1
je 0x40f872
jmp 0x40f12b
mov eax, dword [ebp - 0x68]
sub eax, 0x4ec00851
je 0x40f9ed
jmp 0x40f13e
mov eax, dword [ebp - 0x68]
sub eax, 0x53ca195c
je 0x40f4e5
jmp 0x40f151
mov eax, dword [ebp - 0x68]
sub eax, 0x5cb5ecd0
je 0x40f28d
jmp 0x40f164
mov eax, dword [ebp - 0x68]
sub eax, 0x61aa64be
je 0x40fb5b
jmp 0x40f177
mov eax, dword [ebp - 0x68]
sub eax, 0x663aa2b7
je 0x40f2e3
jmp 0x40f18a
mov eax, dword [ebp - 0x68]
sub eax, 0x6880838d
je 0x40f6b0
jmp 0x40f19d
mov eax, dword [ebp - 0x68]
sub eax, 0x6cdcb238
je 0x40f79f
jmp 0x40f1b0
mov eax, dword [ebp - 0x68]
sub eax, 0x6d2bedfb
je 0x40f5ff
jmp 0x40f1c3
mov eax, dword [ebp - 0x68]
sub eax, 0x6e829f52
je 0x40f866
jmp 0x40f1d6
mov eax, dword [ebp - 0x68]
sub eax, 0x7d73e472
je 0x40f4f7
jmp 0x40f1e9
jmp 0x40fbc9
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, 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, 0xdb8aeda3
mov ecx, 0x85f7df87
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
push eax
mov eax, esp
mov dword [ebp - 0x54], eax
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0xd63563eb
sub edx, 1
add edx, 0xd63563eb
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, 0xdb8aeda3
mov ecx, 0x5cb5ecd0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0xcb7963ce
jmp 0x40fbc9
mov ecx, dword [ebp - 0x64]
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
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], ecx
mov dword [ebp - 0x5c], 0x663aa2b7
jmp 0x40fbc9
mov ecx, dword [ebp - 0x60]
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 edx, dword [ebp - 0x48]
mov esi, 0xffffffff
mov eax, 0x99bf7962
mov ecx, 0x8ac80897
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
mov dword [ebp - 0x5c], 0xb1806e0c
jmp 0x40fbc9
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0xe6059361
sub edx, 1
sub edx, 0xe6059361
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, 0x9c7cb5a7
mov ecx, 0xac2171f6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0x7c55c4c0
sub edx, 1
add edx, 0x7c55c4c0
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, 0x9c7cb5a7
mov ecx, 0xe4b5fbf8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0xb2a0956a
jmp 0x40fbc9
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 ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x5c], 0xbd276965
jmp 0x40fbc9
mov edx, dword [ebp - 0x30]
mov esi, 0xffffffff
mov eax, 0x53ca195c
mov ecx, 0x43d8093a
cmp edx, esi
cmove eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], 0xb6a3ba89
jmp 0x40fbc9
mov eax, dword [ebp - 0x2c]
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], 0xb2a0956a
jmp 0x40fbc9
mov eax, dword [ebp - 0x40]
mov byte [eax], 0
mov dword [ebp - 0x5c], 0x7d73e472
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
add edx, 0xe28eeb34
sub edx, 1
sub edx, 0xe28eeb34
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, 0xd6afe353
mov ecx, 0x1e671e8c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0xdcf5da81
sub edx, 1
add edx, 0xdcf5da81
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, 0xd6afe353
mov ecx, 0x24210849
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x21ab1040
jmp 0x40fbc9
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x5c], 0x194d135c
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0x7de39a85
sub edx, 1
add edx, 0x7de39a85
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, 0x61aa64be
mov ecx, 0x6d2bedfb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
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 [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0x787b5629
sub edx, 1
add edx, 0x787b5629
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, 0x61aa64be
mov ecx, 0xb1be64ab
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dl, byte [ebp - 0x22]
mov eax, 0x498626f2
mov ecx, 0x6880838d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1de9d83b
jmp 0x40fbc9
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
sete al
and al, 1
mov byte [ebp - 0x21], al
mov dword [ebp - 0x5c], 0xb6b72eda
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
sub edx, 0xcc98d721
sub edx, 1
add edx, 0xcc98d721
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, 0xa56c02a1
mov ecx, 0x1968e395
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
add edx, 0x63c93ce2
sub edx, 1
sub edx, 0x63c93ce2
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, 0xa56c02a1
mov ecx, 0xddbc5413
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dl, byte [ebp - 0x21]
mov eax, 0x6cdcb238
mov ecx, 0xe8d908d2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [ebp - 0x40]
mov byte [eax], 1
mov dword [ebp - 0x5c], 0x14a94d84
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1de9d83b
jmp 0x40fbc9
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
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, 0xa8531e61
mov ecx, 0x1d963a10
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
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 eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
add edx, 0xe0db6f61
sub edx, 1
sub edx, 0xe0db6f61
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, 0xa8531e61
mov ecx, 0x6e829f52
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x4b9af2e1
jmp 0x40fbc9
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, 0x13676979
mov ecx, 0xd9f752a5
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
sub edx, 0x472066a8
sub edx, 1
add edx, 0x472066a8
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, 0x8bdaede8
mov ecx, 0x2cb4fd3f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0x85bb306
sub edx, 1
sub edx, 0x85bb306
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, 0x8bdaede8
mov ecx, 0x2d540cf7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1de9d83b
jmp 0x40fbc9
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0x3e75ea4d
jmp 0x40fbc9
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, 0x4ec00851
mov ecx, 0xcd7259c3
cmp edx, esi
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1de9d83b
jmp 0x40fbc9
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0x55648114
sub edx, 1
sub edx, 0x55648114
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, 0x3efac895
mov ecx, 0xae58eb0f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
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, 0x3efac895
mov ecx, 0xa105838e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x21ab1040
jmp 0x40fbc9
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 eax, dword [ebp - 0x40]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x12], al
mov dword [ebp - 0x5c], 0x469d20f6
jmp 0x40fbc9
mov eax, dword [ebp - 0x54]
mov cl, byte [ebp - 0x12]
and cl, 1
mov byte [eax], cl
mov dword [ebp - 0x5c], 0xb2a0956a
jmp 0x40fbc9
mov eax, dword [ebp - 0x54]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x5c], 0xc7ea6e6a
jmp 0x40fbc9
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.0042a030
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x5c], 0x85f7df87
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0xac2171f6
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1e671e8c
jmp 0x40fbc9
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
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], 0x6d2bedfb
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x1968e395
jmp 0x40fbc9
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], 0x1d963a10
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0x2cb4fd3f
jmp 0x40fbc9
mov dword [ebp - 0x5c], 0xae58eb0f
jmp 0x40edf7