Function at 0x40b730
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 [0x43d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
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], 0xd3dc7dd6
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
sub eax, 0x8243a361
je 0x40bdb2
jmp 0x40b79d
mov eax, dword [ebp - 0x6c]
sub eax, 0x82cffd04
je 0x40c014
jmp 0x40b7b0
mov eax, dword [ebp - 0x6c]
sub eax, 0x86f7639e
je 0x40c074
jmp 0x40b7c3
mov eax, dword [ebp - 0x6c]
sub eax, 0x9653b41b
je 0x40c8d7
jmp 0x40b7d6
mov eax, dword [ebp - 0x6c]
sub eax, 0x9e0393f7
je 0x40bfa8
jmp 0x40b7e9
mov eax, dword [ebp - 0x6c]
sub eax, 0xa546c9f2
je 0x40c27f
jmp 0x40b7fc
mov eax, dword [ebp - 0x6c]
sub eax, 0xa943003f
je 0x40c7cb
jmp 0x40b80f
mov eax, dword [ebp - 0x6c]
sub eax, 0xb506ba30
je 0x40c72f
jmp 0x40b822
mov eax, dword [ebp - 0x6c]
sub eax, 0xb780ebc7
je 0x40c5dc
jmp 0x40b835
mov eax, dword [ebp - 0x6c]
sub eax, 0xcbe9a171
je 0x40be4d
jmp 0x40b848
mov eax, dword [ebp - 0x6c]
sub eax, 0xcbfc2eac
je 0x40c53e
jmp 0x40b85b
mov eax, dword [ebp - 0x6c]
sub eax, 0xcd9f10f9
je 0x40c4cb
jmp 0x40b86e
mov eax, dword [ebp - 0x6c]
sub eax, 0xcfdbe099
je 0x40c111
jmp 0x40b881
mov eax, dword [ebp - 0x6c]
sub eax, 0xd3dc7dd6
je 0x40bc29
jmp 0x40b894
mov eax, dword [ebp - 0x6c]
sub eax, 0xd79b054b
je 0x40be2e
jmp 0x40b8a7
mov eax, dword [ebp - 0x6c]
sub eax, 0xda6ecc21
je 0x40c5e8
jmp 0x40b8ba
mov eax, dword [ebp - 0x6c]
sub eax, 0xe029cb19
je 0x40c6ca
jmp 0x40b8cd
mov eax, dword [ebp - 0x6c]
sub eax, 0xe0a9e813
je 0x40c4bf
jmp 0x40b8e0
mov eax, dword [ebp - 0x6c]
sub eax, 0xe0bda55b
je 0x40c5c1
jmp 0x40b8f3
mov eax, dword [ebp - 0x6c]
sub eax, 0xf035a408
je 0x40c81d
jmp 0x40b906
mov eax, dword [ebp - 0x6c]
sub eax, 0xf15653a8
je 0x40c8e9
jmp 0x40b919
mov eax, dword [ebp - 0x6c]
sub eax, 0xf55fe4b7
je 0x40c7eb
jmp 0x40b92c
mov eax, dword [ebp - 0x6c]
sub eax, 0xf96d8b44
je 0x40c026
jmp 0x40b93f
mov eax, dword [ebp - 0x6c]
sub eax, 0xfbb39747
je 0x40c719
jmp 0x40b952
mov eax, dword [ebp - 0x6c]
sub eax, 0x6e4483c
je 0x40c77d
jmp 0x40b965
mov eax, dword [ebp - 0x6c]
sub eax, 0x8668f13
je 0x40c3f4
jmp 0x40b978
mov eax, dword [ebp - 0x6c]
sub eax, 0xcfdf8e0
je 0x40c40f
jmp 0x40b98b
mov eax, dword [ebp - 0x6c]
sub eax, 0x150336aa
je 0x40bd4b
jmp 0x40b99e
mov eax, dword [ebp - 0x6c]
sub eax, 0x155a538b
je 0x40c8b9
jmp 0x40b9b1
mov eax, dword [ebp - 0x6c]
sub eax, 0x15e6e74d
je 0x40bf44
jmp 0x40b9c4
mov eax, dword [ebp - 0x6c]
sub eax, 0x1b6d38ca
je 0x40bec0
jmp 0x40b9d7
mov eax, dword [ebp - 0x6c]
sub eax, 0x1e6a580b
je 0x40c008
jmp 0x40b9ea
mov eax, dword [ebp - 0x6c]
sub eax, 0x22b42480
je 0x40c17f
jmp 0x40b9fd
mov eax, dword [ebp - 0x6c]
sub eax, 0x2721686a
je 0x40c333
jmp 0x40ba10
mov eax, dword [ebp - 0x6c]
sub eax, 0x28df4d93
je 0x40bf62
jmp 0x40ba23
mov eax, dword [ebp - 0x6c]
sub eax, 0x2a1dbedd
je 0x40bdd0
jmp 0x40ba36
mov eax, dword [ebp - 0x6c]
sub eax, 0x2cdcfed5
je 0x40c1d3
jmp 0x40ba49
mov eax, dword [ebp - 0x6c]
sub eax, 0x2dcfae90
je 0x40c327
jmp 0x40ba5c
mov eax, dword [ebp - 0x6c]
sub eax, 0x2e9fdfe1
je 0x40bf50
jmp 0x40ba6f
mov eax, dword [ebp - 0x6c]
sub eax, 0x467b9c7c
je 0x40c800
jmp 0x40ba82
mov eax, dword [ebp - 0x6c]
sub eax, 0x4691e79f
je 0x40bc74
jmp 0x40ba95
mov eax, dword [ebp - 0x6c]
sub eax, 0x50694ab7
je 0x40c11d
jmp 0x40baa8
mov eax, dword [ebp - 0x6c]
sub eax, 0x5303753c
je 0x40c8f5
jmp 0x40babb
mov eax, dword [ebp - 0x6c]
sub eax, 0x5999f9f7
je 0x40bd23
jmp 0x40bace
mov eax, dword [ebp - 0x6c]
sub eax, 0x5be6ddaf
je 0x40c0f6
jmp 0x40bae1
mov eax, dword [ebp - 0x6c]
sub eax, 0x5c2f19ef
je 0x40c702
jmp 0x40baf4
mov eax, dword [ebp - 0x6c]
sub eax, 0x5f597bf8
je 0x40c20c
jmp 0x40bb07
mov eax, dword [ebp - 0x6c]
sub eax, 0x615ef3a4
je 0x40c87b
jmp 0x40bb1a
mov eax, dword [ebp - 0x6c]
sub eax, 0x67e0d6d0
je 0x40c653
jmp 0x40bb2d
mov eax, dword [ebp - 0x6c]
sub eax, 0x682bc814
je 0x40c8c5
jmp 0x40bb40
mov eax, dword [ebp - 0x6c]
sub eax, 0x6a31135d
je 0x40c82f
jmp 0x40bb53
mov eax, dword [ebp - 0x6c]
sub eax, 0x6a4d259e
je 0x40bffc
jmp 0x40bb66
mov eax, dword [ebp - 0x6c]
sub eax, 0x6b241585
je 0x40c86c
jmp 0x40bb79
mov eax, dword [ebp - 0x6c]
sub eax, 0x6b40df65
je 0x40c131
jmp 0x40bb8c
mov eax, dword [ebp - 0x6c]
sub eax, 0x6ebaf1c6
je 0x40c461
jmp 0x40bb9f
mov eax, dword [ebp - 0x6c]
sub eax, 0x706be5d6
je 0x40bdc4
jmp 0x40bbb2
mov eax, dword [ebp - 0x6c]
sub eax, 0x70b5e4a7
je 0x40bd2f
jmp 0x40bbc5
mov eax, dword [ebp - 0x6c]
sub eax, 0x75ba6e05
je 0x40c200
jmp 0x40bbd8
mov eax, dword [ebp - 0x6c]
sub eax, 0x77d5f1c8
je 0x40c381
jmp 0x40bbeb
mov eax, dword [ebp - 0x6c]
sub eax, 0x7bebc12c
je 0x40c6be
jmp 0x40bbfe
mov eax, dword [ebp - 0x6c]
sub eax, 0x7d42c0a1
je 0x40c41b
jmp 0x40bc11
mov eax, dword [ebp - 0x6c]
sub eax, 0x7f0f9bbd
je 0x40c1ee
jmp 0x40bc24
jmp 0x40c8fc
mov bl, byte [ebp - 0x5a]
mov dh, byte [ebp - 0x59]
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, 0xf55fe4b7
mov ecx, 0x4691e79f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov ecx, dword [ebp - 0x68]
push eax
mov eax, esp
mov dword [ebp - 0x58], eax
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
push eax
sub esp, 0xffc
mov eax, esp
mov dword [ebp - 0x3c], eax
push eax
mov eax, esp
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
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, 0xf55fe4b7
mov ecx, 0x5999f9f7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x70b5e4a7
jmp 0x40c8fc
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], 0x150336aa
jmp 0x40c8fc
mov eax, dword [ebp - 0x34]
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 - 0x4c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x4c]
mov esi, 0xffffffff
mov eax, 0x2a1dbedd
mov ecx, 0x8243a361
cmp dword [edx], esi
cmove eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x58]
mov byte [eax], 0
mov dword [ebp - 0x60], 0x706be5d6
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xfbb39747
jmp 0x40c8fc
mov eax, dword [ebp - 0x54]
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 - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x60], 0xd79b054b
jmp 0x40c8fc
mov edx, dword [ebp - 0x30]
mov esi, 0xffffffff
mov eax, 0x28df4d93
mov ecx, 0xcbe9a171
cmp edx, esi
cmove eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
add edx, 0x673ac5ee
sub edx, 1
sub edx, 0x673ac5ee
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, 0x467b9c7c
mov ecx, 0x1b6d38ca
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
sub edx, 0xd2998695
sub edx, 1
add edx, 0xd2998695
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, 0x467b9c7c
mov ecx, 0x15e6e74d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x2e9fdfe1
jmp 0x40c8fc
mov eax, dword [ebp - 0x58]
mov byte [eax], 0
mov dword [ebp - 0x60], 0xfbb39747
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
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, 0xf035a408
mov ecx, 0x9e0393f7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x44]
mov byte [eax], 0
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
add edx, 0xf51a7482
sub edx, 1
sub edx, 0xf51a7482
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, 0xf035a408
mov ecx, 0x6a4d259e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x1e6a580b
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x82cffd04
jmp 0x40c8fc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], 0xf96d8b44
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
sub edx, 0x925cf771
sub edx, 1
add edx, 0x925cf771
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, 0x6a31135d
mov ecx, 0x86f7639e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
mov ecx, 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]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0x25], al
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
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, 0x6a31135d
mov ecx, 0x5be6ddaf
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dl, byte [ebp - 0x25]
mov eax, 0xcfdbe099
mov ecx, 0x50694ab7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xe029cb19
jmp 0x40c8fc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x60], 0x6b40df65
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
add edx, 0x346a0e90
sub edx, 1
sub edx, 0x346a0e90
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, 0x6b241585
mov ecx, 0x22b42480
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x24]
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x1e], al
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
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, 0x6b241585
mov ecx, 0x2cdcfed5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dl, byte [ebp - 0x1e]
mov eax, 0x5f597bf8
mov ecx, 0x7f0f9bbd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x44]
mov byte [eax], 1
mov dword [ebp - 0x60], 0x75ba6e05
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xe029cb19
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
sub edx, 0xd681e2da
sub edx, 1
add edx, 0xd681e2da
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, 0x615ef3a4
mov ecx, 0xa546c9f2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [ebp - 0x40]
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 - 0x1d], al
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
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, 0x615ef3a4
mov ecx, 0x2dcfae90
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x2721686a
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
add edx, 0xfc3cd5ea
sub edx, 1
sub edx, 0xfc3cd5ea
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, 0x155a538b
mov ecx, 0x77d5f1c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
add edx, 0xb3fed2b0
sub edx, 1
sub edx, 0xb3fed2b0
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, 0x155a538b
mov ecx, 0x8668f13
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dl, byte [ebp - 0x1d]
mov eax, 0xcfdf8e0
mov ecx, 0x7d42c0a1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xe029cb19
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
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, 0x682bc814
mov ecx, 0x6ebaf1c6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
add edx, 0xa6148544
sub edx, 1
sub edx, 0xa6148544
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, 0x682bc814
mov ecx, 0xe0a9e813
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xcd9f10f9
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
add edx, 0x9ddc4fc6
sub edx, 1
sub edx, 0x9ddc4fc6
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, 0x9653b41b
mov ecx, 0xcbfc2eac
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
setne al
and al, 1
mov byte [ebp - 0x13], al
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
mov edx, ecx
sub edx, 0x2610be41
sub edx, 1
add edx, 0x2610be41
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, 0x9653b41b
mov ecx, 0xe0bda55b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dl, byte [ebp - 0x13]
mov eax, 0xda6ecc21
mov ecx, 0xb780ebc7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0xe029cb19
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
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, 0xf15653a8
mov ecx, 0x67e0d6d0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov ecx, dword [0x43e57c]
mov eax, dword [0x43e578]
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, 0xf15653a8
mov ecx, 0x7bebc12c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x82cffd04
jmp 0x40c8fc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 al, byte [eax]
and al, 1
mov byte [ebp - 0x12], al
mov dword [ebp - 0x60], 0x5c2f19ef
jmp 0x40c8fc
mov eax, dword [ebp - 0x58]
mov cl, byte [ebp - 0x12]
and cl, 1
mov byte [eax], cl
mov dword [ebp - 0x60], 0xfbb39747
jmp 0x40c8fc
mov eax, dword [ebp - 0x58]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x60], 0xb506ba30
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
add edx, 0xb6c2f9d8
sub edx, 1
sub edx, 0xb6c2f9d8
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, 0x5303753c
mov ecx, 0x6e4483c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
mov eax, dword [0x43e57c]
mov ecx, dword [0x43e578]
mov edx, eax
sub edx, 0x5bd6f71d
sub edx, 1
add edx, 0x5bd6f71d
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, 0x5303753c
mov ecx, 0xa943003f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x40c8fc
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.00426000
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x68]
push eax
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x60], 0x4691e79f
jmp 0x40c8fc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x60], 0x1b6d38ca
jmp 0x40c8fc
mov eax, dword [ebp - 0x44]
mov byte [eax], 0
mov dword [ebp - 0x60], 0x9e0393f7
jmp 0x40c8fc
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
mov ecx, 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 - 0x60], 0x86f7639e
jmp 0x40c8fc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], 0x22b42480
jmp 0x40c8fc
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [ebp - 0x40]
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 - 0x60], 0xa546c9f2
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x77d5f1c8
jmp 0x40c8fc
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], 0x6ebaf1c6
jmp 0x40c8fc
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], 0xcbfc2eac
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x67e0d6d0
jmp 0x40c8fc
mov dword [ebp - 0x60], 0x6e4483c
jmp 0x40b787