Function at 0x425f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c94
call fcn.0041c7e0
mov eax, dword [0x4b6e40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c6c], 0
mov dword [ebp - 0x3c70], 0
mov dword [ebp - 0x3c1c], 0
mov eax, dword [ebp - 0x3c1c]
mov dword [ebp - 0x3c30], eax
cmp dword [ebp + 0x10], 0
jne 0x425fde
xor eax, eax
jmp 0x426d0d
cmp dword [ebp + 0xc], 0
je 0x425ff0
mov dword [ebp - 0x3c84], 1
jmp 0x425ffa
mov dword [ebp - 0x3c84], 0
mov ecx, dword [ebp - 0x3c84]
mov dword [ebp - 0x3c78], ecx
cmp dword [ebp - 0x3c78], 0
jne 0x426032
push str._buf___NULL_
push 0x4980e8
push 0
push 0x6c
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.00422f40
add esp, 0x18
cmp eax, 1
jne 0x426032
int3
cmp dword [ebp - 0x3c78], 0
jne 0x426074
call fcn.004240c0
mov dword [eax], 0
call fcn.00424120
mov dword [eax], 0x16
push 0
push 0x6c
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push str._write_nolock
push str._buf___NULL_
call fcn.00421020
add esp, 0x14
or eax, 0xffffffff
jmp 0x426d0d
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov al, byte [edx + ecx + 0x24]
shl al, 1
sar al, 1
mov byte [ebp - 0x3c11], al
movsx ecx, byte [ebp - 0x3c11]
cmp ecx, 2
je 0x4260b4
movsx edx, byte [ebp - 0x3c11]
cmp edx, 1
jne 0x42614c
mov eax, dword [ebp + 0x10]
and eax, 1
jne 0x4260c8
mov dword [ebp - 0x3c80], 1
jmp 0x4260d2
mov dword [ebp - 0x3c80], 0
mov ecx, dword [ebp - 0x3c80]
mov dword [ebp - 0x3c88], ecx
cmp dword [ebp - 0x3c88], 0
jne 0x42610a
push str.__cnt__1___0_
push 0x4980e8
push 0
push 0x74
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.00422f40
add esp, 0x18
cmp eax, 1
jne 0x42610a
int3
cmp dword [ebp - 0x3c88], 0
jne 0x42614c
call fcn.004240c0
mov dword [eax], 0
call fcn.00424120
mov dword [eax], 0x16
push 0
push 0x74
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push str._write_nolock
push str.__cnt__1___0_
call fcn.00421020
add esp, 0x14
or eax, 0xffffffff
jmp 0x426d0d
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
movsx eax, byte [edx + ecx + 4]
and eax, 0x20
je 0x42617e
push 2
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043e2f0
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.0043dfc0
add esp, 4
test eax, eax
je 0x426228
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
movsx eax, byte [edx + ecx + 4]
and eax, 0x80
je 0x426228
call fcn.00433350
mov dword [ebp - 0x3c90], eax
mov ecx, dword [ebp - 0x3c90]
mov edx, dword [ecx + 0x6c]
mov eax, 4
shl eax, 1
cmp dword [edx + eax + 0xa0], 0
jne 0x4261e5
mov dword [ebp - 0x3c7c], 1
jmp 0x4261ef
mov dword [ebp - 0x3c7c], 0
mov ecx, dword [ebp - 0x3c7c]
mov dword [ebp - 0x3c70], ecx
lea edx, [ebp - 0x3c94]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp - 0x3c6c], eax
cmp dword [ebp - 0x3c6c], 0
je 0x42672d
cmp dword [ebp - 0x3c70], 0
je 0x42624d
movsx ecx, byte [ebp - 0x3c11]
test ecx, ecx
je 0x42672d
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp - 0x3c8c], eax
mov dword [ebp - 0x3c40], 0
mov dword [ebp - 0x3c60], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c20], edx
mov eax, dword [ebp - 0x3c20]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x426728
movsx ecx, byte [ebp - 0x3c11]
test ecx, ecx
jne 0x42649b
mov edx, dword [ebp - 0x3c20]
movsx eax, byte [edx]
cmp eax, 0xa
jne 0x4262b1
mov dword [ebp - 0x3c74], 1
jmp 0x4262bb
mov dword [ebp - 0x3c74], 0
mov ecx, dword [ebp - 0x3c74]
mov dword [ebp - 0x3c64], ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x4bdce8]
cmp dword [ecx + eax + 0x38], 0
je 0x4263b2
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x4bdce8]
movsx edx, byte [ecx + eax + 0x34]
push edx
call fcn.00435980
add esp, 4
test eax, eax
jne 0x426336
push str.isleadbyte__dbcsBuffer_fh__
push 0x4980e8
push 0
push 0xae
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.00422f40
add esp, 0x18
cmp eax, 1
jne 0x426336
int3
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
mov ecx, 1
imul ecx, ecx, 0
mov dl, byte [eax + edx + 0x34]
mov byte [ebp + ecx - 0xc], dl
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x3c20]
mov dl, byte [ecx]
mov byte [ebp + eax - 0xc], dl
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov dword [edx + ecx + 0x38], 0
push 2
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x3c18]
push ecx
call fcn.0043e600
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4263ad
jmp 0x426728
jmp 0x42648a
mov edx, dword [ebp - 0x3c20]
movsx eax, byte [edx]
push eax
call fcn.00435980
add esp, 4
test eax, eax
je 0x426468
mov ecx, dword [ebp - 0x3c20]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub edx, ecx
cmp edx, 1
jbe 0x426412
push 2
mov eax, dword [ebp - 0x3c20]
push eax
lea ecx, [ebp - 0x3c18]
push ecx
call fcn.0043e600
add esp, 0xc
cmp eax, 0xffffffff
jne 0x426401
jmp 0x426728
mov edx, dword [ebp - 0x3c20]
add edx, 1
mov dword [ebp - 0x3c20], edx
jmp 0x426466
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov eax, dword [ebp - 0x3c20]
mov al, byte [eax]
mov byte [edx + ecx + 0x34], al
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
mov dword [eax + edx + 0x38], 1
mov ecx, dword [ebp - 0x3c1c]
add ecx, 1
mov dword [ebp - 0x3c1c], ecx
jmp 0x426728
jmp 0x42648a
push 1
mov edx, dword [ebp - 0x3c20]
push edx
lea eax, [ebp - 0x3c18]
push eax
call fcn.0043e600
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42648a
jmp 0x426728
mov ecx, dword [ebp - 0x3c20]
add ecx, 1
mov dword [ebp - 0x3c20], ecx
jmp 0x426500
movsx edx, byte [ebp - 0x3c11]
cmp edx, 1
je 0x4264b3
movsx eax, byte [ebp - 0x3c11]
cmp eax, 2
jne 0x426500
mov ecx, dword [ebp - 0x3c20]
mov dx, word [ecx]
mov word [ebp - 0x3c18], dx
movzx eax, word [ebp - 0x3c18]
cmp eax, 0xa
jne 0x4264db
mov dword [ebp - 0x3c68], 1
jmp 0x4264e5
mov dword [ebp - 0x3c68], 0
mov ecx, dword [ebp - 0x3c68]
mov dword [ebp - 0x3c64], ecx
mov edx, dword [ebp - 0x3c20]
add edx, 2
mov dword [ebp - 0x3c20], edx
movsx eax, byte [ebp - 0x3c11]
test eax, eax
jne 0x42665f
push 0
push 0
push 5
lea ecx, [ebp - 0xc]
push ecx
push 1
lea edx, [ebp - 0x3c18]
push edx
push 0
mov eax, dword [ebp - 0x3c8c]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x3c40], eax
cmp dword [ebp - 0x3c40], 0
jne 0x426547
jmp 0x426728
push 0
lea ecx, [ebp - 0x3c60]
push ecx
mov edx, dword [ebp - 0x3c40]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4265a9
mov edx, dword [ebp - 0x3c20]
sub edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x3c30]
mov dword [ebp - 0x3c1c], edx
mov eax, dword [ebp - 0x3c60]
cmp eax, dword [ebp - 0x3c40]
jge 0x4265a7
jmp 0x426728
jmp 0x4265ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426728
cmp dword [ebp - 0x3c64], 0
je 0x42665a
mov dword [ebp - 0x3c40], 1
mov ecx, 1
imul ecx, ecx, 0
mov byte [ebp + ecx - 0xc], 0xd
push 0
lea edx, [ebp - 0x3c60]
push edx
mov eax, dword [ebp - 0x3c40]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x4bdce8]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426649
mov eax, dword [ebp - 0x3c60]
cmp eax, dword [ebp - 0x3c40]
jge 0x426629
jmp 0x426728
mov ecx, dword [ebp - 0x3c30]
add ecx, 1
mov dword [ebp - 0x3c30], ecx
mov edx, dword [ebp - 0x3c1c]
add edx, 1
mov dword [ebp - 0x3c1c], edx
jmp 0x42665a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426728
jmp 0x426723
movsx eax, byte [ebp - 0x3c11]
cmp eax, 1
je 0x42667b
movsx ecx, byte [ebp - 0x3c11]
cmp ecx, 2
jne 0x426723
movzx edx, word [ebp - 0x3c18]
push edx
call fcn.0043e6b0
add esp, 4
movzx eax, ax
movzx ecx, word [ebp - 0x3c18]
cmp eax, ecx
jne 0x4266aa
mov edx, dword [ebp - 0x3c1c]
add edx, 2
mov dword [ebp - 0x3c1c], edx
jmp 0x4266b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426728
cmp dword [ebp - 0x3c64], 0
je 0x426723
mov dword [ebp - 0x3c40], 1
mov eax, 0xd
mov word [ebp - 0x3c18], ax
movzx ecx, word [ebp - 0x3c18]
push ecx
call fcn.0043e6b0
add esp, 4
movzx edx, ax
movzx eax, word [ebp - 0x3c18]
cmp edx, eax
jne 0x426715
mov ecx, dword [ebp - 0x3c1c]
add ecx, 1
mov dword [ebp - 0x3c1c], ecx
mov edx, dword [ebp - 0x3c30]
add edx, 1
mov dword [ebp - 0x3c30], edx
jmp 0x426723
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426728
jmp 0x426276
jmp 0x426c64
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
movsx eax, byte [edx + ecx + 4]
and eax, 0x80
je 0x426c0b
mov dword [ebp - 0x3c24], 0
movsx ecx, byte [ebp - 0x3c11]
test ecx, ecx
jne 0x4268c8
mov dword [ebp - 0x3c48], 0
mov dword [ebp - 0x3c2c], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c48], edx
mov eax, dword [ebp - 0x3c48]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x4268c3
lea ecx, [ebp - 0x2810]
mov dword [ebp - 0x3c2c], ecx
mov edx, dword [ebp - 0x3c2c]
lea eax, [ebp - 0x2810]
sub edx, eax
cmp edx, 0x13ff
jae 0x426841
mov ecx, dword [ebp - 0x3c48]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x426841
mov edx, dword [ebp - 0x3c48]
mov al, byte [edx]
mov byte [ebp - 0x3c25], al
mov ecx, dword [ebp - 0x3c48]
add ecx, 1
mov dword [ebp - 0x3c48], ecx
movsx edx, byte [ebp - 0x3c25]
cmp edx, 0xa
jne 0x42681f
mov eax, dword [ebp - 0x3c30]
add eax, 1
mov dword [ebp - 0x3c30], eax
mov ecx, dword [ebp - 0x3c2c]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x3c2c]
add edx, 1
mov dword [ebp - 0x3c2c], edx
mov eax, dword [ebp - 0x3c2c]
mov cl, byte [ebp - 0x3c25]
mov byte [eax], cl
mov edx, dword [ebp - 0x3c2c]
add edx, 1
mov dword [ebp - 0x3c2c], edx
jmp 0x4267a7
push 0
lea eax, [ebp - 0x3c3c]
push eax
mov ecx, dword [ebp - 0x3c2c]
lea edx, [ebp - 0x2810]
sub ecx, edx
push ecx
lea eax, [ebp - 0x2810]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4268b0
mov edx, dword [ebp - 0x3c1c]
add edx, dword [ebp - 0x3c3c]
mov dword [ebp - 0x3c1c], edx
mov eax, dword [ebp - 0x3c2c]
lea ecx, [ebp - 0x2810]
sub eax, ecx
cmp dword [ebp - 0x3c3c], eax
jge 0x4268ae
jmp 0x4268c3
jmp 0x4268be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x4268c3
jmp 0x426789
jmp 0x426c09
movsx edx, byte [ebp - 0x3c11]
cmp edx, 2
jne 0x426a32
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c54], eax
mov dword [ebp - 0x3c34], 0
mov ecx, dword [ebp - 0x3c54]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x426a2d
lea edx, [ebp - 0x3c10]
mov dword [ebp - 0x3c34], edx
mov eax, dword [ebp - 0x3c34]
lea ecx, [ebp - 0x3c10]
sub eax, ecx
cmp eax, 0x13fe
jae 0x4269ab
mov edx, dword [ebp - 0x3c54]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x4269ab
mov eax, dword [ebp - 0x3c54]
mov cx, word [eax]
mov word [ebp - 0x3c5c], cx
mov edx, dword [ebp - 0x3c54]
add edx, 2
mov dword [ebp - 0x3c54], edx
movzx eax, word [ebp - 0x3c5c]
cmp eax, 0xa
jne 0x426987
mov ecx, dword [ebp - 0x3c30]
add ecx, 2
mov dword [ebp - 0x3c30], ecx
mov edx, 0xd
mov eax, dword [ebp - 0x3c34]
mov word [eax], dx
mov ecx, dword [ebp - 0x3c34]
add ecx, 2
mov dword [ebp - 0x3c34], ecx
mov edx, dword [ebp - 0x3c34]
mov ax, word [ebp - 0x3c5c]
mov word [edx], ax
mov ecx, dword [ebp - 0x3c34]
add ecx, 2
mov dword [ebp - 0x3c34], ecx
jmp 0x426909
push 0
lea edx, [ebp - 0x3c3c]
push edx
mov eax, dword [ebp - 0x3c34]
lea ecx, [ebp - 0x3c10]
sub eax, ecx
push eax
lea edx, [ebp - 0x3c10]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426a1a
mov ecx, dword [ebp - 0x3c1c]
add ecx, dword [ebp - 0x3c3c]
mov dword [ebp - 0x3c1c], ecx
mov edx, dword [ebp - 0x3c34]
lea eax, [ebp - 0x3c10]
sub edx, eax
cmp dword [ebp - 0x3c3c], edx
jge 0x426a18
jmp 0x426a2d
jmp 0x426a28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426a2d
jmp 0x4268eb
jmp 0x426c09
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c44], ecx
mov dword [ebp - 0x3c38], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c44], edx
mov eax, dword [ebp - 0x3c44]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x426c09
mov dword [ebp - 0x3c50], 0
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x3c38], ecx
mov edx, dword [ebp - 0x3c38]
lea eax, [ebp - 0x6b8]
sub edx, eax
cmp edx, 0x6a8
jae 0x426b06
mov ecx, dword [ebp - 0x3c44]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x426b06
mov edx, dword [ebp - 0x3c44]
mov ax, word [edx]
mov word [ebp - 0x3c58], ax
mov ecx, dword [ebp - 0x3c44]
add ecx, 2
mov dword [ebp - 0x3c44], ecx
movzx edx, word [ebp - 0x3c58]
cmp edx, 0xa
jne 0x426ae2
mov eax, 0xd
mov ecx, dword [ebp - 0x3c38]
mov word [ecx], ax
mov edx, dword [ebp - 0x3c38]
add edx, 2
mov dword [ebp - 0x3c38], edx
mov eax, dword [ebp - 0x3c38]
mov cx, word [ebp - 0x3c58]
mov word [eax], cx
mov edx, dword [ebp - 0x3c38]
add edx, 2
mov dword [ebp - 0x3c38], edx
jmp 0x426a76
push 0
push 0
push 0xd55
lea eax, [ebp - 0x1410]
push eax
mov eax, dword [ebp - 0x3c38]
lea ecx, [ebp - 0x6b8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x6b8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x3c50], eax
cmp dword [ebp - 0x3c50], 0
jne 0x426b63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426c09
mov dword [ebp - 0x3c4c], 0
push 0
lea eax, [ebp - 0x3c3c]
push eax
mov ecx, dword [ebp - 0x3c50]
sub ecx, dword [ebp - 0x3c4c]
push ecx
mov edx, dword [ebp - 0x3c4c]
lea eax, [ebp + edx - 0x1410]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426bc9
mov edx, dword [ebp - 0x3c4c]
add edx, dword [ebp - 0x3c3c]
mov dword [ebp - 0x3c4c], edx
jmp 0x426bd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
jmp 0x426be5
mov eax, dword [ebp - 0x3c50]
cmp eax, dword [ebp - 0x3c4c]
jg 0x426b6d
mov ecx, dword [ebp - 0x3c50]
cmp ecx, dword [ebp - 0x3c4c]
jle 0x426bf5
jmp 0x426c09
mov edx, dword [ebp - 0x3c44]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c1c], edx
jmp 0x426a4e
jmp 0x426c64
push 0
lea eax, [ebp - 0x3c3c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x4bdce8]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426c58
mov dword [ebp - 0x3c24], 0
mov ecx, dword [ebp - 0x3c3c]
mov dword [ebp - 0x3c1c], ecx
jmp 0x426c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c24], eax
cmp dword [ebp - 0x3c1c], 0
jne 0x426d01
cmp dword [ebp - 0x3c24], 0
je 0x426cb3
cmp dword [ebp - 0x3c24], 5
jne 0x426c9d
call fcn.00424120
mov dword [eax], 9
call fcn.004240c0
mov edx, dword [ebp - 0x3c24]
mov dword [eax], edx
jmp 0x426cac
mov eax, dword [ebp - 0x3c24]
push eax
call fcn.004240f0
add esp, 4
or eax, 0xffffffff
jmp 0x426d0d
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x4bdce8]
movsx ecx, byte [eax + edx + 4]
and ecx, 0x40
je 0x426ce4
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0x1a
jne 0x426ce4
xor eax, eax
jmp 0x426d0d
call fcn.00424120
mov dword [eax], 0x1c
call fcn.004240c0
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x426d0d
mov eax, dword [ebp - 0x3c1c]
sub eax, dword [ebp - 0x3c30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c3d0
mov esp, ebp
pop ebp
ret