Function at 0x422020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
lea eax, [ebp - 0x10]
push 1
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
push ebx
push eax
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], esi
call fcn.004302e0
add esp, 0x10
mov esi, eax
test esi, esi
je 0x4220ae
test byte [ebp + 0x10], 1
je 0x42209d
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x42208d
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x42208d
add edx, 7
and edx, 0xfffffffc
mov eax, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [eax], 0x38
mov ebx, dword [edx]
jne 0x42208d
cmp byte [eax + 2], 0x4e
je 0x42290b
movzx eax, si
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push str.unknown
push edi
push 2
push esi
call fcn.004274c0
add esp, 0x10
mov edi, dword [ebp - 0x10]
movzx ecx, byte [ebp + 0x10]
mov esi, ecx
and esi, 1
and ecx, 2
movzx eax, byte [edi + 0x174]
and eax, 0xfffffffe
or eax, esi
mov byte [edi + 0x174], al
mov esi, dword [ebp - 0x10]
movzx edi, byte [ebp + 0x12]
mov eax, edi
shr eax, 5
movzx edx, byte [esi + 0x174]
and eax, 1
and edx, 0xfffffffd
or edx, ecx
mov byte [esi + 0x174], dl
mov ecx, dword [ebp - 0x10]
shl eax, 2
shr edi, 1
movzx edx, byte [ecx + 0x174]
and edi, 0xffffffe0
and edx, 0xfffffffb
or edx, eax
mov byte [ecx + 0x174], dl
mov esi, dword [ebp - 0x10]
movzx eax, byte [esi + 0x176]
and eax, 0xffffff9f
or eax, edi
mov byte [esi + 0x176], al
mov edx, dword [ebp - 0x10]
movzx esi, byte [ebp + 0x13]
mov edi, esi
shl edi, 7
movzx eax, byte [edx + 0x176]
and eax, 0x7f
or eax, edi
mov byte [edx + 0x176], al
xor eax, eax
mov ecx, dword [ebp - 0x10]
test esi, 0x80
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xf4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
mov edi, dword [eax + 0xbc]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], edi
je 0x4221e8
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
mov edi, dword [eax - 4]
test edi, 0x20
je 0x422195
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x40
test edi, 0x10
je 0x4221ea
add edx, 7
and edx, 0xfffffffc
mov esi, dword [edx]
add edx, 7
and edx, 0xfffffffc
movsx eax, byte [esi]
cmp eax, 0x38
mov edx, dword [edx]
je 0x423239
cmp eax, 0xb
je 0x423027
cmp eax, 0x38
je 0x422a02
cmp eax, 1
je 0x4221ea
push 0x20d
push str.for_rseq_fmt.c
push 2
push 8
call fcn.004274c0
add esp, 0x10
jmp 0x4221ea
xor edi, edi
mov eax, dword [ebp - 0x10]
test byte [eax + 0x171], 0x20
je 0x423664
test byte [eax + 0x172], 0x40
jne 0x422279
mov edx, dword [eax + 0x18]
test edx, edx
je 0x423268
test byte [edx + 0x44], 2
je 0x42224f
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x42223d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x101
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x174]
push 0x101
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x173], 8
je 0x422301
test byte [eax + 0x170], 4
jne 0x422301
mov edx, dword [eax + 0x18]
test edx, edx
je 0x423287
test byte [edx + 0x44], 2
je 0x4222d7
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4222c5
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x103
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x174]
push 0x103
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0xa4
push 0
mov esi, dword [eax + 0x58]
push esi
call fcn.004c8df0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x167]
test eax, eax
je case.default.0x42232d
dec eax
cmp eax, 4
ja case.default.0x42232d
jmp dword [eax*4 + 0x4e3680]
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffc3
or eax, 0x40
mov byte [esi + 0xa0], al
jmp case.default.0x42232d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffa3
or eax, 0x20
mov byte [esi + 0xa0], al
jmp case.default.0x42232d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff93
or eax, 0x10
mov byte [esi + 0xa0], al
jmp case.default.0x42232d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff8b
or eax, 8
mov byte [esi + 0xa0], al
jmp case.default.0x42232d
movzx eax, byte [esi + 0xa0]
or eax, 4
and eax, 0xffffff87
mov byte [esi + 0xa0], al
test byte [ebp + 0x10], 8
je 0x42244d
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x174]
test al, 1
jne 0x4223c1
test al, 2
jne 0x4223c1
not eax
and eax, 4
shr eax, 2
jmp 0x4223c3
xor eax, eax
push eax
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0x1c]
call fcn.00442330
add esp, 0xc
test eax, eax
je 0x42243e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4232a6
test byte [edx + 0x44], 2
je 0x422419
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x42240c
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
or byte [esi + 0x9f], 2
jmp 0x422453
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 0x20
je 0x42246b
movzx eax, byte [esi + 0x9c]
or eax, 1
jmp 0x422475
movzx eax, byte [esi + 0x9c]
or eax, 2
mov byte [esi + 0x9c], al
mov eax, dword [ebp - 0x10]
and byte [eax + 0x176], 0xef
test byte [ebp + 0x12], 8
je 0x422680
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1cc]
push eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea esi, [ebp + 0x14]
push esi
call fcn.00438770
add esp, 0x10
test eax, eax
jne 0x4225ed
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
push 0
mov edi, dword [ebp - 0x3c]
lea edx, [esi + 1]
push edx
call fcn.00438ab0
add esp, 0xc
test eax, eax
jne 0x4225ed
test esi, esi
jle 0x422503
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov ebx, eax
movsx edx, byte [ebx + edi]
push edx
call fcn.00474e90
mov edx, dword [ebp - 0x20]
add esp, 4
mov byte [edx + ebx], al
inc ebx
cmp ebx, esi
jl 0x4224e8
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov byte [esi + eax], 0
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + esi - 1], 0x20
jne 0x422529
cmp esi, 1
jle 0x422529
mov byte [ecx + esi - 1], 0
dec esi
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + esi - 1], 0x20
je 0x422514
mov edi, 0x4e2e14
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x422550
test dl, dl
je 0x42254c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x422550
add edi, 2
add esi, 2
test dl, dl
jne 0x422530
xor eax, eax
jmp 0x422555
sbb eax, eax
or eax, 1
test eax, eax
jne 0x422562
mov dword [ebp - 0x2c], 0
jmp 0x422599
mov edi, 0x4e2e18
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x422589
test dl, dl
je 0x422585
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x422589
add edi, 2
add esi, 2
test dl, dl
jne 0x422569
xor eax, eax
jmp 0x42258e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4225d9
mov dword [ebp - 0x2c], 1
push ecx
call fcn.00438b70
add esp, 4
test eax, eax
jne 0x4225ed
test byte [ebp + 0x12], 0x10
je 0x4225ed
lea eax, [ebp - 0x1cc]
push eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea esi, [ebp + 0x14]
push esi
call fcn.00438770
add esp, 0x10
test eax, eax
jne 0x4225ed
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], dl
jmp 0x4225ed
push ecx
call fcn.00438b70
add esp, 4
test eax, eax
jne 0x4225ed
mov eax, 0x30
jmp 0x4225f1
test eax, eax
je 0x422658
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4232c0
test byte [edx + 0x44], 2
je 0x422633
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422626
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0
je 0x422680
movsx eax, byte [ebp - 0x24]
add eax, 0xfffffffb
cmp eax, 0xc
jbe 0x422680
push 0x2c1
push str.for_rseq_fmt.c
push 2
push 8
call fcn.004274c0
add esp, 0x10
mov esi, dword [ebp - 0x10]
test byte [esi + 0x173], 4
je 0x422726
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x42269d
cmp byte [eax + 0x1f], 0
jne 0x4226a6
test byte [esi + 0x17c], 2
je 0x4226af
mov dword [ebp - 0x18], 1
jmp 0x4226b4
xor eax, eax
mov dword [ebp - 0x18], eax
test byte [esi + 0x175], 4
jne 0x4234a4
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0xc0]
mov edi, dword [esi + 0xc4]
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x1c], ecx
test byte [esi + 0x174], 8
jne 0x4232da
mov ecx, dword [esi + 0x38]
sub eax, edx
add ecx, dword [esi + 0xd0]
add ecx, eax
mov dword [esi + 0x3c], ecx
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0xf0]
test edx, edx
je 0x422717
mov eax, dword [esi + 0x3c]
sub edx, eax
add edx, dword [esi + 0x38]
mov dword [esi + 0x90], edx
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x18], 0
jne 0x422726
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x50], eax
mov esi, dword [ebp - 0x10]
and byte [esi + 0x17c], 0xfd
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x422748
cmp byte [eax + 0x1f], 0
je 0x422748
mov eax, dword [edx + 0x3c]
mov dword [edx + 0x48], eax
jmp 0x422837
xor eax, eax
push eax
push eax
push edx
call fcn.0043f8b0
add esp, 0xc
test eax, eax
je 0x422813
test byte [ebp + 0x12], 8
je 0x4227ac
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4227ac
movsx edx, byte [ebp - 0x24]
add edx, 0xfffffffb
cmp edx, 0xc
ja case.default.0x4228a7
jmp dword [edx*4 + 0x4e3694]
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x4227ac
mov dword [ecx], 0
jmp 0x4227ac
xor edx, edx
mov word [ecx], dx
jmp 0x4227ac
mov byte [ecx], 0
jmp 0x4227ac
mov eax, 0x30
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x42364a
test byte [edx + 0x44], 2
je 0x4227ee
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4227e1
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add dword [eax + 0x98], 1
adc dword [eax + 0x9c], 0
mov edx, dword [ebp - 0x10]
and byte [edx + 0x177], 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 + 0x176]
mov eax, esi
shr esi, 1
and eax, 0xfffffff7
and esi, 1
shl esi, 3
or eax, esi
mov byte [edx + 0x176], al
test byte [ebp + 0x12], 8
jne 0x422870
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4228ef
mov byte [eax + 0x1f], 0
jmp 0x4228ef
cmp dword [ebp - 0x2c], 0
je 0x422886
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4228ef
mov byte [eax + 0x1f], 0
jmp 0x4228ef
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [edx + 0x1f], 1
je 0x4228ef
movsx edx, byte [ebp - 0x24]
lea ecx, [edx - 5]
cmp ecx, 0xc
ja case.default.0x4228a7
jmp dword [ecx*4 + 0x4e36c8]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4228c9
mov dword [eax], 0
jmp 0x4228c9
xor ecx, ecx
mov word [eax], cx
jmp 0x4228c9
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10c], 0
mov esi, dword [ebp - 0x10]
or byte [esi + 0x176], 0x10
mov edi, dword [ebp - 0x10]
mov byte [edi + 0x163], dl
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.00423890
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1cc]
push eax
push edi
call fcn.004301b0
add esp, 8
test eax, eax
jne 0x42208d
mov ecx, dword [ebp - 0x1cc]
xor edx, edx
mov dword [ecx + 0x84], edx
mov edi, dword [ebp - 0x1cc]
movzx ecx, byte [ebp + 0x10]
and ecx, 1
mov dword [edi + 0xf4], edx
mov edi, dword [ebp - 0x1cc]
movzx eax, byte [edi + 0x174]
and eax, 0xfffffffe
or eax, ecx
mov byte [edi + 0x174], al
mov ecx, dword [ebp - 0x1cc]
mov eax, dword [ebx]
mov dword [ecx + 0xf4], eax
mov eax, dword [ebp - 0x1cc]
mov ebx, dword [ebx + 4]
mov dword [eax + 0x84], ebx
mov ecx, dword [ebp - 0x1cc]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4229e8
test byte [eax + 0x44], 2
je 0x4229c3
mov dword [eax + 0x38], esi
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], esi
mov ebx, dword [ebp - 0x1cc]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4229b4
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1cc]
mov dword [eax + 0x64], edx
mov eax, esi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
movzx eax, byte [ecx + 0x174]
push esi
and eax, 7
push eax
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push esi
push esi
push 0
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
cmp eax, 6
je 0x422f10
cmp eax, 0x52
je 0x422e2c
cmp eax, 0x3b
je 0x422d20
cmp eax, 0x3c
je 0x422be5
cmp eax, 0x51
je 0x422b01
cmp eax, 0x53
jne 0x4221d0
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.0041d4f0
add esp, 0x14
test eax, eax
jne 0x422a84
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x16b]
mov byte [ecx + 0x16c], dl
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x20
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
mov byte [edx + 0x16b], al
movsx eax, byte [esi + 4]
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x422ae7
test byte [edx + 0x44], 2
je 0x422ac2
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422ab5
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x51
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1cc], edx
call fcn.0041d4f0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x422b5f
mov ecx, dword [ebp - 0x10]
add esi, 4
add edx, 8
movzx eax, byte [ecx + 0x167]
mov byte [ecx + 0x168], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
mov byte [ecx + 0x167], al
movsx eax, byte [esi]
cmp eax, 0x38
je 0x422bc2
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x422bcb
test byte [edx + 0x44], 2
je 0x422b9d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422b90
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x422a33
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x3c
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1cc], edx
call fcn.0041d4f0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x422c9a
mov dword [ebp - 0x1c8], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [esi + 0x176]
mov eax, ecx
shr ecx, 1
and eax, 0xfffffffb
and ecx, 1
shl ecx, 2
or eax, ecx
mov byte [esi + 0x176], al
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c8]
or byte [eax + 0x17b], 8
mov eax, dword [ebp - 0x4c]
cmp eax, 2
jne 0x422c7a
mov dword [ebp - 0x1c8], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx eax, byte [esi + 0x176]
add ecx, ecx
and eax, 0xfffffffd
or eax, ecx
mov byte [esi + 0x176], al
mov esi, dword [ebp - 0x1c8]
jmp 0x422c87
cmp eax, 1
mov eax, dword [ebp - 0x10]
and byte [eax + 0x176], 0xfd
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x422cfd
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x422d06
test byte [edx + 0x44], 2
je 0x422cd8
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422ccb
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x422a2a
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x3b
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1cc], edx
call fcn.0041d4f0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x422da6
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x161]
mov byte [ecx + 0x162], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 4
mov eax, dword [ebp - 0x4c]
cmp eax, 2
je 0x422d89
cmp eax, 1
jne 0x422d78
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x27
jmp 0x422d93
cmp eax, 3
jne 0x422d89
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x22
jmp 0x422d93
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x422e09
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x422e12
test byte [edx + 0x44], 2
je 0x422de4
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422dd7
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x422a21
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x52
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1cc], edx
call fcn.0041d4f0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x422e8a
mov ecx, dword [ebp - 0x10]
add esi, 4
add edx, 8
movzx eax, byte [ecx + 0x169]
mov byte [ecx + 0x16a], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
mov byte [ecx + 0x169], al
movsx eax, byte [esi]
cmp eax, 0x38
je 0x422eed
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x422ef6
test byte [edx + 0x44], 2
je 0x422ec8
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422ebb
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x422a18
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x4c]
push eax
push 6
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1cc], edx
call fcn.0041d4f0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x422fa1
mov dword [ebp - 0x1c8], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [esi + 0x173]
mov eax, ecx
shr ecx, 5
and eax, 0xffffffbf
and ecx, 1
shl ecx, 6
or eax, ecx
mov byte [esi + 0x173], al
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c8]
or byte [eax + 0x17b], 1
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x422f84
cmp eax, 2
jne 0x422f84
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
jmp 0x422f8e
mov eax, dword [ebp - 0x10]
and byte [eax + 0x173], 0xdf
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x423004
jmp 0x4221cb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x42300d
test byte [edx + 0x44], 2
je 0x422fdf
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x422fd2
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x422a0f
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [esi + 2], 0x4f
jne 0x4221d0
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 4
jne 0x423130
test byte [eax + 0x171], 0x20
jne 0x4230bd
mov edx, dword [eax + 0x18]
test edx, edx
je 0x423170
test byte [edx + 0x44], 2
je 0x423093
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x423081
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6d
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x6d
push edx
movzx ecx, byte [eax + 0x174]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x42318f
test byte [edx + 0x44], 2
je 0x423109
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4230f7
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6e
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x174]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
add ecx, 0xffffffff
mov dword [ebp - 0x1c8], esi
mov esi, dword [edx + 4]
adc esi, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
xor ecx, ecx
mov dword [eax + 0xb4], esi
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0xb4]
sub esi, ecx
mov esi, dword [ebp - 0x1c8]
jl 0x4231ab
add esi, 4
movsx eax, byte [esi]
jmp 0x4221c2
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x6e
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x42321a
test byte [edx + 0x44], 2
je 0x4231f0
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4231de
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6f
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x6f
push edx
movzx ecx, byte [eax + 0x174]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x6f
push edx
push edx
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [esi + 2], 0x4e
jne 0x422a02
mov ecx, dword [ebp - 0x10]
add esi, 4
mov eax, dword [edx]
mov dword [ecx + 0xf4], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add edx, 8
mov dword [ecx + 0x84], eax
movsx eax, byte [esi]
jmp 0x4221b9
push eax
push 0x1f
push 0x101
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, eax
sub ecx, edx
mov ecx, dword [ebp - 0x1c]
sbb ecx, edi
jl 0x42330a
mov ecx, dword [esi + 0xc8]
add ecx, edx
mov dword [ebp - 0x48], esi
mov esi, dword [esi + 0xcc]
adc esi, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
sbb ecx, esi
mov esi, dword [ebp - 0x48]
jl 0x4226e9
push 0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov esi, dword [esi + 0xe4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x42347f
mov ecx, dword [ebp - 0x44]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x4233df
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 0xb0]
mov eax, dword [edx + 0xb4]
mov dword [edx + 0xc0], edi
mov dword [edx + 0xc4], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], eax
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 0xc8]
mov dword [edx + 0xf0], edi
mov ecx, dword [ebp - 0x10]
and byte [ecx + 0x175], 0xfd
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x90], eax
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x50], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x422726
mov byte [eax + 0x1f], 0
mov esi, dword [ebp - 0x10]
jmp 0x422726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x423460
test byte [eax + 0x44], 2
je 0x423436
mov edx, 0x27
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x423424
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x27
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x27
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x27
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x423499
mov eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
jmp 0x4233df
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
jmp 0x423336
mov eax, dword [esi + 0x140]
test eax, eax
mov edx, dword [esi + 0x38]
jne 0x4234b6
mov eax, 0x20000
mov ecx, dword [esi + 0x40]
sub ecx, edx
mov dword [ebp - 0x48], ecx
cmp ecx, eax
ja 0x4234eb
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x48]
push edx
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x4234e6
mov eax, 1
mov dword [ebp - 0x44], eax
jmp 0x423553
mov edi, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], ebx
mov ebx, edx
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push ebx
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42351e
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0xffffffff
jmp 0x423553
mov eax, dword [esi + 0x140]
test eax, eax
mov ecx, dword [ebp - 0x40]
jne 0x423530
mov eax, 0x20000
sub edi, ecx
add ebx, ecx
cmp edi, eax
jae 0x423541
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x423545
jmp 0x423549
test edi, edi
je 0x423549
test ecx, ecx
ja 0x4234f8
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x48]
xor edi, edi
cdq
add eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x40], ecx
adc edx, dword [esi + 0xc4]
add ecx, dword [esi + 0xf8]
and byte [esi + 0x175], 0xfb
mov dword [esi + 0x44], ecx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
cmp dword [ebp - 0x44], 0xffffffff
je 0x4235ad
mov esi, dword [ebp - 0x10]
jmp 0x4226c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42362b
test byte [eax + 0x44], 2
je 0x423601
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4235ef
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x26
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx edx, byte [eax + 0x170]
movzx esi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr esi, 7
or edx, esi
mov byte [eax + 0x170], dl
mov esi, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x12]
shr eax, 2
and eax, 1
movzx edx, byte [esi + 0x170]
add eax, eax
and edx, 0xfffffffd
or edx, eax
movzx eax, byte [ebp + 0x13]
mov byte [esi + 0x170], dl
mov esi, eax
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
movzx ebx, byte [edx + 0x170]
lea ecx, [esi*4]
and ebx, 0xfffffffb
or ebx, ecx
mov byte [edx + 0x170], bl
mov ebx, eax
mov ecx, dword [ebp - 0x10]
shr ebx, 2
and ebx, 1
movzx edx, byte [ecx + 0x170]
shl ebx, 3
and edx, 0xfffffff7
or edx, ebx
mov byte [ecx + 0x170], dl
mov edx, eax
mov ebx, dword [ebp - 0x10]
shr edx, 6
and edx, 1
movzx ecx, byte [ebx + 0x170]
shl edx, 4
and ecx, 0xffffffef
or ecx, edx
mov byte [ebx + 0x170], cl
mov ecx, esi
mov ebx, dword [ebp - 0x10]
shl ecx, 5
shl esi, 3
movzx edx, byte [ebx + 0x170]
and edx, 0xffffffdf
or edx, ecx
mov byte [ebx + 0x170], dl
mov edx, eax
mov ecx, dword [ebp - 0x10]
shr edx, 4
and edx, 1
movzx ebx, byte [ecx + 0x179]
shl edx, 2
and ebx, 0xfffffffb
or ebx, edx
mov byte [ecx + 0x179], bl
mov edx, dword [ebp - 0x10]
shr eax, 5
and eax, 1
movzx ecx, byte [edx + 0x179]
and ecx, 0xfffffff7
or ecx, esi
mov esi, eax
mov byte [edx + 0x179], cl
mov ecx, dword [ebp - 0x10]
shl esi, 6
shl eax, 7
movzx edx, byte [ecx + 0x170]
and edx, 0xffffffbf
or edx, esi
mov byte [ecx + 0x170], dl
mov ecx, edi
mov esi, dword [ebp - 0x10]
shr ecx, 1
and ecx, 1
movzx ebx, byte [esi + 0x170]
and ebx, 0x7f
or ebx, eax
mov eax, edi
mov byte [esi + 0x170], bl
and eax, 1
mov esi, dword [ebp - 0x10]
shl ecx, 5
shr edi, 2
movzx edx, byte [esi + 0x171]
and edi, 3
and edx, 0xfffffffe
add edi, edi
or edx, eax
mov byte [esi + 0x171], dl
mov eax, dword [ebp - 0x10]
movzx ebx, byte [eax + 0x179]
and ebx, 0xffffffdf
or ebx, ecx
mov byte [eax + 0x179], bl
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
movzx edx, byte [eax + 0x171]
and edx, 0xfffffff9
or edx, edi
mov edi, 1
push edi
push edi
mov byte [eax + 0x171], dl
push edi
push dword [ebp - 0x10]
call fcn.0041e350
add esp, 0x10
test eax, eax
je 0x423866
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x42386e
test byte [edx + 0x44], 2
je 0x423841
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x423834
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 - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00437660
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
jmp 0x4221fa
push ecx
push eax
push eax
push 2
call fcn.00425410
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret