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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x105c
call fcn.0042d630
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1060], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x105c], eax
mov eax, dword [0x445080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1058], 0x4d928e95
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x1064], eax
sub eax, 0x8d46a002
je 0x4127e4
jmp 0x411a42
mov eax, dword [ebp - 0x1064]
sub eax, 0x8fd3544e
je 0x4124c2
jmp 0x411a58
mov eax, dword [ebp - 0x1064]
sub eax, 0x9079efab
je 0x412221
jmp 0x411a6e
mov eax, dword [ebp - 0x1064]
sub eax, 0x9c69eb72
je 0x412964
jmp 0x411a84
mov eax, dword [ebp - 0x1064]
sub eax, 0xa3cd3122
je 0x4122f2
jmp 0x411a9a
mov eax, dword [ebp - 0x1064]
sub eax, 0xa3e4964e
je 0x412419
jmp 0x411ab0
mov eax, dword [ebp - 0x1064]
sub eax, 0xa860b13b
je 0x4124e3
jmp 0x411ac6
mov eax, dword [ebp - 0x1064]
sub eax, 0xc1413ed6
je 0x412bc2
jmp 0x411adc
mov eax, dword [ebp - 0x1064]
sub eax, 0xc2d9e143
je 0x412658
jmp 0x411af2
mov eax, dword [ebp - 0x1064]
sub eax, 0xc38b85fe
je 0x412a62
jmp 0x411b08
mov eax, dword [ebp - 0x1064]
sub eax, 0xc50590fb
je 0x412cb5
jmp 0x411b1e
mov eax, dword [ebp - 0x1064]
sub eax, 0xca544ffd
je 0x412869
jmp 0x411b34
mov eax, dword [ebp - 0x1064]
sub eax, 0xcb4ae83b
je 0x4124a5
jmp 0x411b4a
mov eax, dword [ebp - 0x1064]
sub eax, 0xcc6782d3
je 0x412301
jmp 0x411b60
mov eax, dword [ebp - 0x1064]
sub eax, 0xd0025bfd
je 0x412c1b
jmp 0x411b76
mov eax, dword [ebp - 0x1064]
sub eax, 0xd1d1099a
je 0x412317
jmp 0x411b8c
mov eax, dword [ebp - 0x1064]
sub eax, 0xd559f9a1
je 0x412246
jmp 0x411ba2
mov eax, dword [ebp - 0x1064]
sub eax, 0xd5658ac0
je 0x412c76
jmp 0x411bb8
mov eax, dword [ebp - 0x1064]
sub eax, 0xd82754e2
je 0x41240a
jmp 0x411bce
mov eax, dword [ebp - 0x1064]
sub eax, 0xdc95ca1e
je 0x412428
jmp 0x411be4
mov eax, dword [ebp - 0x1064]
sub eax, 0xe0111a04
je 0x412475
jmp 0x411bfa
mov eax, dword [ebp - 0x1064]
sub eax, 0xe86ff420
je 0x412649
jmp 0x411c10
mov eax, dword [ebp - 0x1064]
sub eax, 0xeb086450
je 0x412212
jmp 0x411c26
mov eax, dword [ebp - 0x1064]
sub eax, 0xeb14c05c
je 0x412508
jmp 0x411c3c
mov eax, dword [ebp - 0x1064]
sub eax, 0xf459d215
je 0x4120f5
jmp 0x411c52
mov eax, dword [ebp - 0x1064]
sub eax, 0xf6401d69
je 0x412aa0
jmp 0x411c68
mov eax, dword [ebp - 0x1064]
sub eax, 0xfcf67f82
je 0x4126ce
jmp 0x411c7e
mov eax, dword [ebp - 0x1064]
sub eax, 0xdd28d
je 0x412c52
jmp 0x411c94
mov eax, dword [ebp - 0x1064]
sub eax, 0x24f9da0
je 0x4128df
jmp 0x411caa
mov eax, dword [ebp - 0x1064]
sub eax, 0x60f3598
je 0x4120e6
jmp 0x411cc0
mov eax, dword [ebp - 0x1064]
sub eax, 0x845f9ce
je 0x411fb3
jmp 0x411cd6
mov eax, dword [ebp - 0x1064]
sub eax, 0x9a361b3
je 0x412c85
jmp 0x411cec
mov eax, dword [ebp - 0x1064]
sub eax, 0x10d4c9ad
je 0x412bad
jmp 0x411d02
mov eax, dword [ebp - 0x1064]
sub eax, 0x16700a52
je 0x412c3c
jmp 0x411d18
mov eax, dword [ebp - 0x1064]
sub eax, 0x18728cc3
je 0x412c61
jmp 0x411d2e
mov eax, dword [ebp - 0x1064]
sub eax, 0x1b8c4125
je 0x412146
jmp 0x411d44
mov eax, dword [ebp - 0x1064]
sub eax, 0x21b5e6e5
je 0x412955
jmp 0x411d5a
mov eax, dword [ebp - 0x1064]
sub eax, 0x229899e2
je 0x412a71
jmp 0x411d70
mov eax, dword [ebp - 0x1064]
sub eax, 0x2bb08134
je 0x41238d
jmp 0x411d86
mov eax, dword [ebp - 0x1064]
sub eax, 0x2c4b0a9b
je 0x4120af
jmp 0x411d9c
mov eax, dword [ebp - 0x1064]
sub eax, 0x2dcc211a
je 0x412021
jmp 0x411db2
mov eax, dword [ebp - 0x1064]
sub eax, 0x336bfe56
je 0x412b16
jmp 0x411dc8
mov eax, dword [ebp - 0x1064]
sub eax, 0x387a1fc5
je 0x412628
jmp 0x411dde
mov eax, dword [ebp - 0x1064]
sub eax, 0x3b9d3566
je 0x41285a
jmp 0x411df4
mov eax, dword [ebp - 0x1064]
sub eax, 0x3d10db91
je 0x412b84
jmp 0x411e0a
mov eax, dword [ebp - 0x1064]
sub eax, 0x3e01dc85
je 0x4129da
jmp 0x411e20
mov eax, dword [ebp - 0x1064]
sub eax, 0x40c4d3ae
je 0x412748
jmp 0x411e36
mov eax, dword [ebp - 0x1064]
sub eax, 0x465391b7
je 0x412c94
jmp 0x411e4c
mov eax, dword [ebp - 0x1064]
sub eax, 0x48d0c50c
je 0x412739
jmp 0x411e62
mov eax, dword [ebp - 0x1064]
sub eax, 0x4ae99842
je 0x412b75
jmp 0x411e78
mov eax, dword [ebp - 0x1064]
sub eax, 0x4d928e95
je 0x411f2d
jmp 0x411e8e
mov eax, dword [ebp - 0x1064]
sub eax, 0x4dc47421
je 0x4120d0
jmp 0x411ea4
mov eax, dword [ebp - 0x1064]
sub eax, 0x523f3c6f
je 0x412297
jmp 0x411eba
mov eax, dword [ebp - 0x1064]
sub eax, 0x54e3edb7
je 0x41276e
jmp 0x411ed0
mov eax, dword [ebp - 0x1064]
sub eax, 0x5d13f244
je 0x4124f9
jmp 0x411ee6
mov eax, dword [ebp - 0x1064]
sub eax, 0x5dd20dd3
je 0x412561
jmp 0x411efc
mov eax, dword [ebp - 0x1064]
sub eax, 0x768ac334
je 0x412496
jmp 0x411f12
mov eax, dword [ebp - 0x1064]
sub eax, 0x77fbfa81
je 0x4125b2
jmp 0x411f28
jmp 0x412cbf
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 0x1060]
push eax
mov edx, esp
mov dword [ebp - 0x103c], edx
mov dword [ebp - 0x1044], ecx
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 0x1048]
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 dword [ebp - 0x104c], eax
mov eax, dword [ebp - 0x104c]
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1058], 0x845f9ce
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
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, 0x10d4c9ad
mov ecx, 0x2dcc211a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [ebp - 0x1038]
mov ecx, 0xffffffff
cmp eax, ecx
sete al
and al, 1
mov byte [ebp - 0x1031], al
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
add edx, 0xf6a18744
sub edx, 1
sub edx, 0xf6a18744
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, 0x10d4c9ad
mov ecx, 0x2c4b0a9b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dl, byte [ebp - 0x1031]
mov eax, 0xf459d215
mov ecx, 0x4dc47421
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov byte [ebp - 0x103d], 0
mov dword [ebp - 0x1058], 0x60f3598
jmp 0x412cbf
mov dword [ebp - 0x1058], 0xf6401d69
jmp 0x412cbf
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
mov edx, eax
add edx, 0xed5a6fa4
sub edx, 1
sub edx, 0xed5a6fa4
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, 0xc1413ed6
mov ecx, 0x1b8c4125
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [ebp - 0x1044]
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 - 0x1050], eax
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1030], eax
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0x1d724b4
sub edx, 1
add edx, 0x1d724b4
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, 0xc1413ed6
mov ecx, 0xeb086450
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x9079efab
jmp 0x412cbf
mov edx, dword [ebp - 0x1030]
mov esi, 0xffffffff
mov eax, 0xd1d1099a
mov ecx, 0xd559f9a1
cmp edx, esi
cmove eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
mov edx, eax
add edx, 0xb77cd11a
sub edx, 1
sub edx, 0xb77cd11a
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, 0xd0025bfd
mov ecx, 0x523f3c6f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [ebp - 0x104c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
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, 0xd0025bfd
mov ecx, 0xa3cd3122
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0xcc6782d3
jmp 0x412cbf
mov byte [ebp - 0x103d], 0
mov dword [ebp - 0x1058], 0xf6401d69
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0xdba9d4eb
sub edx, 1
add edx, 0xdba9d4eb
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, 0x16700a52
mov ecx, 0x2bb08134
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov byte [ebp - 0x1051], 0
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
add edx, 0x234c3c35
sub edx, 1
sub edx, 0x234c3c35
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, 0x16700a52
mov ecx, 0xd82754e2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0xa3e4964e
jmp 0x412cbf
mov dword [ebp - 0x1058], 0xdc95ca1e
jmp 0x412cbf
lea ecx, [ebp - 0x1010]
mov edx, dword [ebp - 0x104c]
mov eax, dword [ebp - 0x103c]
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 - 0x102c], eax
mov dword [ebp - 0x1058], 0xe0111a04
jmp 0x412cbf
mov edx, dword [ebp - 0x102c]
mov eax, 0x768ac334
mov ecx, 0xcb4ae83b
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x9c69eb72
jmp 0x412cbf
mov eax, dword [ebp - 0x103c]
mov eax, dword [eax]
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1058], 0x8fd3544e
jmp 0x412cbf
mov edx, dword [ebp - 0x1028]
mov eax, 0xeb14c05c
mov ecx, 0xa860b13b
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov byte [ebp - 0x1051], 1
mov dword [ebp - 0x1058], 0x5d13f244
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x9c69eb72
jmp 0x412cbf
mov eax, dword [ebp - 0x103c]
mov ecx, dword [eax]
lea edx, [ebp - 0x1010]
mov esi, dword [ebp - 0x1050]
lea eax, [ebp - 0x1014]
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 - 0x1021], al
mov dword [ebp - 0x1058], 0x5dd20dd3
jmp 0x412cbf
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
mov edx, eax
sub edx, 0xee0968d4
sub edx, 1
add edx, 0xee0968d4
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, 0xdd28d
mov ecx, 0x77fbfa81
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0xf5d56d0c
sub edx, 1
add edx, 0xf5d56d0c
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, 0xdd28d
mov ecx, 0x387a1fc5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dl, byte [ebp - 0x1021]
mov eax, 0xe86ff420
mov ecx, 0xc2d9e143
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x9c69eb72
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0x560a86ca
sub edx, 1
add edx, 0x560a86ca
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, 0x18728cc3
mov ecx, 0xfcf67f82
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [ebp - 0x1014]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x103c]
mov eax, dword [eax]
mov dword [ebp - 0x101c], eax
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
mov edx, eax
sub edx, 0x74b0ba24
sub edx, 1
add edx, 0x74b0ba24
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, 0x18728cc3
mov ecx, 0x48d0c50c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x40c4d3ae
jmp 0x412cbf
mov edx, dword [ebp - 0x1020]
mov esi, dword [ebp - 0x101c]
mov eax, 0xca544ffd
mov ecx, 0x54e3edb7
cmp edx, esi
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0x8b6bf29a
sub edx, 1
add edx, 0x8b6bf29a
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, 0xd5658ac0
mov ecx, 0x8d46a002
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0x2c5a03a1
sub edx, 1
add edx, 0x2c5a03a1
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, 0xd5658ac0
mov ecx, 0x3b9d3566
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x9c69eb72
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
add edx, 0x6b604708
sub edx, 1
sub edx, 0x6b604708
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, 0x9a361b3
mov ecx, 0x24f9da0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0x9ec1e410
sub edx, 1
add edx, 0x9ec1e410
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, 0x9a361b3
mov ecx, 0x21b5e6e5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0xdc95ca1e
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
sub edx, 0xa38f65b6
sub edx, 1
add edx, 0xa38f65b6
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, 0x465391b7
mov ecx, 0x3e01dc85
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov eax, dword [ebp - 0x104c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
add edx, 0xa62053d6
sub edx, 1
sub edx, 0xa62053d6
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, 0x465391b7
mov ecx, 0xc38b85fe
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x229899e2
jmp 0x412cbf
mov eax, dword [ebp - 0x1050]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x1051]
and al, 1
mov byte [ebp - 0x103d], al
mov dword [ebp - 0x1058], 0xf6401d69
jmp 0x412cbf
mov ecx, dword [0x44659c]
mov eax, dword [0x446598]
mov edx, ecx
add edx, 0xcb411e11
sub edx, 1
sub edx, 0xcb411e11
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, 0xc50590fb
mov ecx, 0x336bfe56
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov al, byte [ebp - 0x103d]
and al, 1
mov byte [ebp - 0x1015], al
mov eax, dword [0x44659c]
mov ecx, dword [0x446598]
mov edx, eax
add edx, 0xb7885357
sub edx, 1
sub edx, 0xb7885357
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, 0xc50590fb
mov ecx, 0x4ae99842
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1058], eax
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x3d10db91
jmp 0x412cbf
mov al, byte [ebp - 0x1015]
and al, 1
movzx eax, al
mov dword [ebp - 0x1068], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d620
mov eax, dword [ebp - 0x1068]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1058], 0x2dcc211a
jmp 0x412cbf
mov eax, dword [ebp - 0x1044]
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 - 0x1050], eax
mov dword [ebp - 0x1058], 0x1b8c4125
jmp 0x412cbf
mov eax, dword [ebp - 0x104c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1058], 0x523f3c6f
jmp 0x412cbf
mov byte [ebp - 0x1051], 0
mov dword [ebp - 0x1058], 0x2bb08134
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x77fbfa81
jmp 0x412cbf
mov eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1058], 0xfcf67f82
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x8d46a002
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x24f9da0
jmp 0x412cbf
mov eax, dword [ebp - 0x104c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1058], 0x3e01dc85
jmp 0x412cbf
mov dword [ebp - 0x1058], 0x336bfe56
jmp 0x411a26