Function at 0x41a518
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 1
push ebx
push eax
push esi
call fcn.00432bf0
add esp, 0x10
test eax, eax
je 0x41a56b
movzx edx, byte [ebp + 0x10]
test dl, 1
je 0x41a55a
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
movzx eax, ax
mov esp, ebp
pop ebp
ret
push 0x4b1e20
push esi
push 2
push eax
call fcn.00434a44
add esp, 0x10
mov edi, dword [ebp - 0x10]
movzx esi, byte [ebp + 0x10]
movzx edx, byte [ebp + 0x10]
movzx eax, byte [edi + 0x15c]
and eax, 0xfffffffe
and esi, 1
or eax, esi
mov byte [edi + 0x15c], al
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x15c]
and ecx, 0xfffffffd
and edx, 2
or ecx, edx
mov byte [eax + 0x15c], cl
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x12]
movzx edx, byte [ecx + 0x15c]
and edx, 0xfffffffb
and eax, 0x20
shr eax, 5
and eax, 1
shl eax, 2
or edx, eax
movzx eax, byte [ebp + 0x12]
mov byte [ecx + 0x15c], dl
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x15e]
and edx, 0xffffff9f
and eax, 0xffffffc0
shr eax, 6
and eax, 3
shl eax, 5
or edx, eax
movzx eax, byte [ebp + 0x13]
mov byte [ecx + 0x15e], dl
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x15e]
and edx, 0x7f
and eax, 1
shl eax, 7
or edx, eax
mov byte [ecx + 0x15e], dl
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xb0]
mov edx, dword [ecx + 0xb4]
mov dword [ecx + 0xa8], eax
movzx eax, byte [ebp + 0x13]
mov dword [ecx + 0xac], edx
test eax, 0x80
je 0x41a67f
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
mov esi, dword [eax - 4]
test esi, 0x10
je 0x41a681
add edx, 7
and edx, 0xfffffffc
mov eax, dword [edx]
movsx ecx, byte [eax]
add edx, 7
and edx, 0xfffffffc
mov edi, dword [edx]
cmp ecx, 0xb
je 0x41aeb5
cmp ecx, 1
je 0x41a681
push 0x160
push str.for_rseq_fmt.c
push 2
push 8
call fcn.00434a44
add esp, 0x10
jmp 0x41a681
xor esi, esi
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x159]
test al, 0x20
je 0x41b3dc
movzx eax, byte [edx + 0x15a]
test al, 0x40
jne 0x41a73c
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x41b131
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x41a6f0
mov dword [ecx + 0x30], 0x101
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x41a6de
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x101
mov esp, ebp
pop ebp
ret
push 0x1f
push 0x101
movzx eax, byte [edx + 0x15c]
mov esi, eax
and esi, 1
test al, 2
mov ecx, 2
mov ebx, 4
jne 0x41a716
mov ecx, 0
test al, 4
jne 0x41a71f
mov ebx, 0
or esi, ecx
or esi, ebx
push esi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx + 0x15b]
test al, 8
je 0x41a7f4
movzx eax, byte [edx + 0x158]
test al, 4
jne 0x41a7f4
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x41b150
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x41a7a8
mov dword [ecx + 0x30], 0x103
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x41a796
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x103
mov esp, ebp
pop ebp
ret
push 0x1f
push 0x103
movzx eax, byte [edx + 0x15c]
mov esi, eax
and esi, 1
test al, 2
mov ecx, 2
mov ebx, 4
jne 0x41a7ce
mov ecx, 0
test al, 4
jne 0x41a7d7
mov ebx, 0
or esi, ecx
or esi, ebx
push esi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x58]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x10]
movzx edx, byte [ebp + 0x10]
mov dword [esi], eax
test dl, 8
jne 0x41a850
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
jmp 0x41a8ff
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x1c]
call fcn.00436090
add esp, 8
test eax, eax
je 0x41a8f5
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x41b16f
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x41a8ac
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x41a89f
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx ecx, byte [edx + 0x15c]
mov edi, ecx
and edi, 1
test cl, 2
mov ebx, 2
mov esi, 4
jne 0x41a8ce
mov ebx, 0
test cl, 4
jne 0x41a8d8
mov esi, 0
or edi, ebx
or edi, esi
push edi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
or byte [esi + 0x4f], 2
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + 0x15b]
test dl, 0x20
je 0x41a914
or byte [esi + 0x4c], 1
jmp 0x41a918
or byte [esi + 0x4c], 2
mov esi, dword [ebp - 0x10]
and byte [esi + 0x15e], 0xef
mov esi, dword [ebp - 0x10]
movzx eax, byte [esi + 0x158]
test al, 2
je 0x41ab6c
movzx eax, byte [ebp + 0x12]
test al, 8
je 0x41ab6c
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea esi, [ebp + 0x14]
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0xa4]
push eax
push edx
push ecx
push esi
call fcn.0043a0e4
add esp, 0x10
test eax, eax
jne 0x41aaa8
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
lea edx, [esi + 1]
push 0
push edx
call fcn.00431768
add esp, 0xc
test eax, eax
jne 0x41aaa8
test esi, esi
jle 0x41a9b8
mov dword [ebp - 0x44], ebx
xor eax, eax
mov ebx, edi
mov edi, eax
movsx edx, byte [edi + ebx]
push edx
call fcn.0048a822
mov edx, dword [ebp - 0x1c]
add esp, 4
mov byte [edi + edx], al
add edi, 1
cmp edi, esi
jl 0x41a99b
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
mov byte [esi + ecx], 0
mov ecx, dword [ebp - 0x1c]
movsx eax, byte [ecx + esi - 1]
cmp eax, 0x20
jne 0x41a9e6
cmp esi, 1
jle 0x41a9e6
mov byte [ecx + esi - 1], 0
mov ecx, dword [ebp - 0x1c]
add esi, 0xffffffff
movsx eax, byte [ecx + esi - 1]
cmp eax, 0x20
je 0x41a9cc
mov edi, 0x4b1e3c
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x41aa0d
test dl, dl
je 0x41aa09
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x41aa0d
add edi, 2
add esi, 2
test dl, dl
jne 0x41a9ed
xor eax, eax
jmp 0x41aa12
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41aa1f
mov dword [ebp - 0x30], 0
jmp 0x41aa56
mov edi, 0x4b1e38
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x41aa46
test dl, dl
je 0x41aa42
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x41aa46
add edi, 2
add esi, 2
test dl, dl
jne 0x41aa26
xor eax, eax
jmp 0x41aa4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41aa98
mov dword [ebp - 0x30], 1
push ecx
call fcn.004316dc
pop ecx
test eax, eax
jne 0x41aaa8
movzx edx, byte [ebp + 0x12]
test dl, 0x10
je 0x41aaa8
lea esi, [ebp + 0x14]
lea ecx, [ebp + 0x18]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0xa4]
push eax
push edx
push ecx
push esi
call fcn.0043a0e4
add esp, 0x10
test eax, eax
jne 0x41aaa8
mov esi, dword [ebp - 0x40]
movzx edx, byte [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], dl
jmp 0x41aaa8
push ecx
call fcn.004316dc
pop ecx
test eax, eax
jne 0x41aaa8
mov eax, 0x30
test eax, eax
je 0x41ab3e
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x41b189
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x41aaf5
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x41aae8
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx ecx, byte [edx + 0x15c]
mov edi, ecx
and edi, 1
test cl, 2
mov ebx, 2
mov esi, 4
jne 0x41ab17
mov ebx, 0
test cl, 4
jne 0x41ab21
mov esi, 0
or edi, ebx
or edi, esi
push edi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41ab69
movsx eax, byte [ebp - 0x28]
cmp eax, 5
jl 0x41ab53
cmp eax, 0x11
jle 0x41ab69
push 0x1d6
push str.for_rseq_fmt.c
push 2
push 8
call fcn.00434a44
add esp, 0x10
mov esi, dword [ebp - 0x10]
movzx eax, byte [esi + 0x15b]
test al, 4
je 0x41acd7
movzx eax, byte [esi + 0x15d]
test al, 4
jne 0x41b26e
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov edi, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], ecx
sub edi, edx
sbb ecx, eax
mov ecx, dword [ebp - 0x20]
jl 0x41ac04
mov edi, edx
mov edx, dword [esi + 0xe0]
add edx, edi
adc eax, 0
mov edi, ecx
sub edi, edx
mov edx, dword [ebp - 0x14]
sbb edx, eax
jge 0x41ac04
sub ecx, dword [ebp - 0x24]
add ecx, dword [esi + 0x38]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xe0]
test edx, edx
je 0x41abf3
mov eax, dword [ecx + 0x3c]
sub eax, dword [ecx + 0x38]
sub edx, eax
mov dword [ecx + 0x88], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x50], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
jmp 0x41acda
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push 0
mov esi, dword [esi + 0xd4]
mov dword [ebp - 0x24], ecx
push edx
mov dword [ebp - 0x20], eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x41ac3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41ac3e
mov eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add edx, 1
add eax, 1
or edx, eax
je 0x41b1a3
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 0xa8]
mov eax, dword [edx + 0xac]
mov dword [edx + 0xb8], edi
mov dword [edx + 0xbc], eax
xor eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc0], eax
mov dword [edx + 0xc4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc0]
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x10]
and byte [edx + 0x15d], 0xfd
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x41acf1
mov byte [eax + 0x1f], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
jmp 0x41acda
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x41acf1
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x41acf1
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x48], eax
jmp 0x41adb8
xor eax, eax
push eax
push eax
push esi
call fcn.0043ccbc
add esp, 0xc
test eax, eax
je 0x41ad94
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x41b3c2
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x41ad4b
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x41ad3e
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx ecx, byte [edx + 0x15c]
mov edi, ecx
and edi, 1
test cl, 2
mov ebx, 2
mov esi, 4
jne 0x41ad6d
mov ebx, 0
test cl, 4
jne 0x41ad77
mov esi, 0
or edi, ebx
or edi, esi
push edi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add dword [eax + 0x90], 1
adc dword [eax + 0x94], 0
mov edx, dword [ebp - 0x10]
and byte [edx + 0x15f], 0xfb
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x48], ecx
mov edx, dword [ebp - 0x10]
movzx esi, byte [edx + 0x15e]
mov eax, esi
and eax, 0xfffffff7
and esi, 2
shr esi, 1
and esi, 1
shl esi, 3
or eax, esi
mov byte [edx + 0x15e], al
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 0x158]
test cl, 2
je 0x41ae99
movzx eax, byte [ebp + 0x12]
test al, 8
jne 0x41ae09
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x41ae99
mov byte [eax + 0x1f], 0
jmp 0x41ae99
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41ae21
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x41ae99
mov byte [eax + 0x1f], 0
jmp 0x41ae99
mov eax, dword [edx + 0x7c]
mov byte [eax + 0x1f], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41ae99
movsx edx, byte [ebp - 0x28]
lea ecx, [edx - 5]
cmp ecx, 0xc
ja 0x41ae87
mov ecx, dword [edx*4 + 0x4b1e2c]
jmp ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x30
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.0041b628
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx edx, byte [eax + 2]
cmp edx, 0x4f
jne 0x41a662
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x15b]
test dl, 4
jne 0x41b012
movzx eax, byte [ecx + 0x159]
test al, 0x20
jne 0x41af7b
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x41b040
movzx eax, byte [edx + 0x3c]
test al, 2
je 0x41af2f
mov eax, 0x6d
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41af1d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x6d
mov esp, ebp
pop ebp
ret
movzx eax, byte [ecx + 0x15c]
mov edi, eax
and edi, 1
test al, 2
mov edx, 2
jne 0x41af49
mov edx, 0
test al, 4
mov ebx, 4
mov esi, 0x6d
push esi
jne 0x41af5d
mov ebx, 0
or edi, edx
or edi, ebx
push esi
push edi
push 0xffffffffffffffff
push ecx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x41b05f
movzx eax, byte [edx + 0x3c]
test al, 2
je 0x41afc9
mov dword [edx + 0x30], 0x6e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x41afb7
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x6e
mov esp, ebp
pop ebp
ret
push 0x1f
push 0x6e
movzx eax, byte [ecx + 0x15c]
mov esi, eax
and esi, 1
test al, 2
mov edx, 2
mov ebx, 4
jne 0x41afec
mov edx, 0
test al, 4
jne 0x41aff5
mov ebx, 0
or esi, edx
or esi, ebx
push esi
push 0xffffffffffffffff
push ecx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov edi, dword [edi + 4]
add edx, 0xffffffff
adc edi, 0xffffffff
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], edi
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xac]
sub ecx, 0
jl 0x41b07b
movsx ecx, byte [eax + 4]
jmp 0x41a662
push ecx
mov eax, 0x6d
push eax
push eax
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ecx
push 0x1f
push 0x6e
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x41b112
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x41b0c6
mov eax, 0x6f
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41b0b4
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x6f
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx + 0x15c]
mov edi, eax
and edi, 1
test al, 2
mov ecx, 2
jne 0x41b0e0
mov ecx, 0
test al, 4
mov ebx, 4
mov esi, 0x6f
push esi
jne 0x41b0f4
mov ebx, 0
or edi, ecx
or edi, ebx
push esi
push edi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
mov eax, 0x6f
push eax
push eax
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
push 0x1f
push 0x101
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
push 0x1f
push 0x103
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
push eax
push eax
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
push eax
push eax
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x41b24f
movzx edx, byte [ecx + 0x3c]
test dl, 2
je 0x41b201
mov eax, 0x26
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41b1ef
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
movzx edx, byte [eax + 0x15c]
mov edi, edx
and edi, 1
test dl, 2
mov ecx, 2
jne 0x41b21c
mov ecx, 0
test dl, 4
mov ebx, 4
mov esi, 0x26
push esi
jne 0x41b231
mov ebx, 0
or edi, ecx
or edi, ebx
push esi
push edi
push 0xffffffffffffffff
push eax
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x26
push edx
push edx
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push 0
push eax
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x40]
sub edi, edx
push edi
push edx
push dword [esi + 0xd4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
test ecx, ecx
je 0x41b3b8
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0xe4]
and byte [esi + 0x15d], 0xfb
mov dword [esi + 0x40], eax
add eax, edx
mov dword [esi + 0x44], eax
xor edx, edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov eax, edi
cdq
mov eax, dword [esi + 0xb8]
add edi, eax
adc edx, dword [esi + 0xbc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xbc], edx
mov dword [esi + 0xb4], edx
cmp ecx, 0xffffffff
je 0x41b2f0
mov esi, dword [ebp - 0x10]
jmp 0x41ab8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x41b399
movzx edx, byte [ecx + 0x3c]
test dl, 2
je 0x41b34b
mov eax, 0x26
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41b339
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
movzx edx, byte [eax + 0x15c]
mov edi, edx
and edi, 1
test dl, 2
mov ecx, 2
jne 0x41b366
mov ecx, 0
test dl, 4
mov ebx, 4
mov esi, 0x26
push esi
jne 0x41b37b
mov ebx, 0
or edi, ecx
or edi, ebx
push esi
push edi
push 0xffffffffffffffff
push eax
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x26
push edx
push edx
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov ecx, 0xffffffff
jmp 0x41b294
push edx
push eax
push eax
push 1
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ebp + 0x10]
movzx edi, byte [ebp + 0x13]
movzx eax, byte [edx + 0x158]
and eax, 0xfffffffe
and ecx, 0xffffff80
shr ecx, 7
and ecx, 1
or eax, ecx
mov byte [edx + 0x158], al
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x158]
and eax, 0xfffffffd
movzx edx, byte [ebp + 0x12]
and edx, 4
shr edx, 2
and edx, 1
add edx, edx
or eax, edx
mov byte [ecx + 0x158], al
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x158]
and edi, 8
shr edi, 3
and edi, 1
and eax, 0xfffffffb
mov edx, edi
shl edx, 2
or eax, edx
movzx edx, byte [ebp + 0x13]
mov byte [ecx + 0x158], al
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x158]
and eax, 0xfffffff7
and edx, 4
shr edx, 2
and edx, 1
shl edx, 3
or eax, edx
mov byte [ecx + 0x158], al
mov edx, edi
shl edx, 5
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x158]
and eax, 0xffffffdf
or eax, edx
movzx edx, byte [ebp + 0x13]
mov byte [ecx + 0x158], al
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x161]
and eax, 0xfffffffb
and edx, 0x10
shr edx, 4
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x161], al
shl edi, 3
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x161]
and eax, 0xfffffff7
or eax, edi
mov byte [edx + 0x161], al
mov edi, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x13]
movzx edx, byte [edi + 0x158]
and eax, 0x20
shr eax, 5
and eax, 1
and edx, 0xffffffbf
mov ecx, eax
shl ecx, 6
or edx, ecx
mov byte [edi + 0x158], dl
shl eax, 7
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 0x158]
and ecx, 0x7f
or ecx, eax
mov byte [edx + 0x158], cl
mov eax, esi
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x159]
and edx, 0xfffffffe
and eax, 1
or edx, eax
mov byte [ecx + 0x159], dl
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x161]
and eax, 0xffffffdf
mov edx, esi
and edx, 2
shr edx, 1
and edx, 1
shl edx, 5
or eax, edx
mov byte [ecx + 0x161], al
and esi, 0xc
shr esi, 2
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x159]
and eax, 0xfffffff9
and esi, 3
add esi, esi
or eax, esi
mov byte [edx + 0x159], al
mov esi, 1
push esi
push esi
push esi
push dword [ebp - 0x10]
call fcn.00420424
add esp, 0x10
test eax, eax
je 0x41b606
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x41b60e
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x41b5bd
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x41b5b0
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx ecx, byte [edx + 0x15c]
mov edi, ecx
and edi, 1
test cl, 2
mov ebx, 2
mov esi, 4
jne 0x41b5df
mov ebx, 0
test cl, 4
jne 0x41b5e9
mov esi, 0
or edi, ebx
or edi, esi
push edi
push 0xffffffffffffffff
push edx
call fcn.00435ec8
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
jmp 0x41a693
push edx
push eax
push eax
push 2
call fcn.004342fc
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret