Function at 0x450c20
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.00457ca0
add esp, 0x10
mov esi, eax
test esi, esi
je 0x450cae
test byte [ebp + 0x10], 1
je 0x450c9d
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x450c8d
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x450c8d
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 0x450c8d
cmp byte [eax + 2], 0x4e
je 0x45150b
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.00455f10
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 0x450de8
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
mov edi, dword [eax - 4]
test edi, 0x20
je 0x450d95
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x40
test edi, 0x10
je 0x450dea
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 0x451e39
cmp eax, 0xb
je 0x451c27
cmp eax, 0x38
je 0x451602
cmp eax, 1
je 0x450dea
push 0x20d
push str.for_rseq_fmt.c
push 2
push 8
call fcn.00455f10
add esp, 0x10
jmp 0x450dea
xor edi, edi
mov eax, dword [ebp - 0x10]
test byte [eax + 0x171], 0x20
je 0x452264
test byte [eax + 0x172], 0x40
jne 0x450e79
mov edx, dword [eax + 0x18]
test edx, edx
je 0x451e68
test byte [edx + 0x44], 2
je 0x450e4f
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 0x450e3d
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.0045adb0
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 0x450f01
test byte [eax + 0x170], 4
jne 0x450f01
mov edx, dword [eax + 0x18]
test edx, edx
je 0x451e87
test byte [edx + 0x44], 2
je 0x450ed7
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 0x450ec5
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.0045adb0
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.004a2ae0
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.0x450f2d
dec eax
cmp eax, 4
ja case.default.0x450f2d
jmp dword [eax*4 + 0x4ac08c]
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffc3
or eax, 0x40
mov byte [esi + 0xa0], al
jmp case.default.0x450f2d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffa3
or eax, 0x20
mov byte [esi + 0xa0], al
jmp case.default.0x450f2d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff93
or eax, 0x10
mov byte [esi + 0xa0], al
jmp case.default.0x450f2d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff8b
or eax, 8
mov byte [esi + 0xa0], al
jmp case.default.0x450f2d
movzx eax, byte [esi + 0xa0]
or eax, 4
and eax, 0xffffff87
mov byte [esi + 0xa0], al
test byte [ebp + 0x10], 8
je 0x45104d
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x174]
test al, 1
jne 0x450fc1
test al, 2
jne 0x450fc1
not eax
and eax, 4
shr eax, 2
jmp 0x450fc3
xor eax, eax
push eax
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0x1c]
call fcn.00460220
add esp, 0xc
test eax, eax
je 0x45103e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451ea6
test byte [edx + 0x44], 2
je 0x451019
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 0x45100c
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.0045adb0
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 0x451053
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 0x20
je 0x45106b
movzx eax, byte [esi + 0x9c]
or eax, 1
jmp 0x451075
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 0x451280
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.00457340
add esp, 0x10
test eax, eax
jne 0x4511ed
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.00457180
add esp, 0xc
test eax, eax
jne 0x4511ed
test esi, esi
jle 0x451103
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov ebx, eax
movsx edx, byte [ebx + edi]
push edx
call fcn.0048ee83
mov edx, dword [ebp - 0x20]
add esp, 4
mov byte [edx + ebx], al
inc ebx
cmp ebx, esi
jl 0x4510e8
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 0x451129
cmp esi, 1
jle 0x451129
mov byte [ecx + esi - 1], 0
dec esi
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + esi - 1], 0x20
je 0x451114
mov edi, 0x4ab63c
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x451150
test dl, dl
je 0x45114c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x451150
add edi, 2
add esi, 2
test dl, dl
jne 0x451130
xor eax, eax
jmp 0x451155
sbb eax, eax
or eax, 1
test eax, eax
jne 0x451162
mov dword [ebp - 0x2c], 0
jmp 0x451199
mov edi, 0x4ab640
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x451189
test dl, dl
je 0x451185
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x451189
add edi, 2
add esi, 2
test dl, dl
jne 0x451169
xor eax, eax
jmp 0x45118e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4511d9
mov dword [ebp - 0x2c], 1
push ecx
call fcn.00457240
add esp, 4
test eax, eax
jne 0x4511ed
test byte [ebp + 0x12], 0x10
je 0x4511ed
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.00457340
add esp, 0x10
test eax, eax
jne 0x4511ed
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], dl
jmp 0x4511ed
push ecx
call fcn.00457240
add esp, 4
test eax, eax
jne 0x4511ed
mov eax, 0x30
jmp 0x4511f1
test eax, eax
je 0x451258
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451ec0
test byte [edx + 0x44], 2
je 0x451233
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 0x451226
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.0045adb0
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 0x451280
movsx eax, byte [ebp - 0x24]
add eax, 0xfffffffb
cmp eax, 0xc
jbe 0x451280
push 0x2c1
push str.for_rseq_fmt.c
push 2
push 8
call fcn.00455f10
add esp, 0x10
mov esi, dword [ebp - 0x10]
test byte [esi + 0x173], 4
je 0x451326
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x45129d
cmp byte [eax + 0x1f], 0
jne 0x4512a6
test byte [esi + 0x17c], 2
je 0x4512af
mov dword [ebp - 0x18], 1
jmp 0x4512b4
xor eax, eax
mov dword [ebp - 0x18], eax
test byte [esi + 0x175], 4
jne 0x4520a4
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 0x451eda
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 0x451317
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 0x451326
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 0x451348
cmp byte [eax + 0x1f], 0
je 0x451348
mov eax, dword [edx + 0x3c]
mov dword [edx + 0x48], eax
jmp 0x451437
xor eax, eax
push eax
push eax
push edx
call fcn.00465890
add esp, 0xc
test eax, eax
je 0x451413
test byte [ebp + 0x12], 8
je 0x4513ac
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4513ac
movsx edx, byte [ebp - 0x24]
add edx, 0xfffffffb
cmp edx, 0xc
ja case.default.0x4514a7
jmp dword [edx*4 + 0x4ac0a0]
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x4513ac
mov dword [ecx], 0
jmp 0x4513ac
xor edx, edx
mov word [ecx], dx
jmp 0x4513ac
mov byte [ecx], 0
jmp 0x4513ac
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 0x45224a
test byte [edx + 0x44], 2
je 0x4513ee
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 0x4513e1
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.0045adb0
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 0x451470
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4514ef
mov byte [eax + 0x1f], 0
jmp 0x4514ef
cmp dword [ebp - 0x2c], 0
je 0x451486
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4514ef
mov byte [eax + 0x1f], 0
jmp 0x4514ef
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [edx + 0x1f], 1
je 0x4514ef
movsx edx, byte [ebp - 0x24]
lea ecx, [edx - 5]
cmp ecx, 0xc
ja case.default.0x4514a7
jmp dword [ecx*4 + 0x4ac0d4]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4514c9
mov dword [eax], 0
jmp 0x4514c9
xor ecx, ecx
mov word [eax], cx
jmp 0x4514c9
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.00452490
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.00457b70
add esp, 8
test eax, eax
jne 0x450c8d
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 0x4515e8
test byte [eax + 0x44], 2
je 0x4515c3
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 0x4515b4
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.0045adb0
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.00453e60
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 0x451b10
cmp eax, 0x52
je 0x451a2c
cmp eax, 0x3b
je 0x451920
cmp eax, 0x3c
je 0x4517e5
cmp eax, 0x51
je 0x451701
cmp eax, 0x53
jne 0x450dd0
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.004386b0
add esp, 0x14
test eax, eax
jne 0x451684
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 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4516e7
test byte [edx + 0x44], 2
je 0x4516c2
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 0x4516b5
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.0045adb0
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.00453e60
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.004386b0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x45175f
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 0x4517c2
jmp 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4517cb
test byte [edx + 0x44], 2
je 0x45179d
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 0x451790
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.0045adb0
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 0x451633
push ecx
push eax
push eax
push 1
call fcn.00453e60
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.004386b0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x45189a
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 0x45187a
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 0x451887
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 0x4518fd
jmp 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451906
test byte [edx + 0x44], 2
je 0x4518d8
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 0x4518cb
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.0045adb0
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 0x45162a
push ecx
push eax
push eax
push 1
call fcn.00453e60
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.004386b0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x4519a6
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 0x451989
cmp eax, 1
jne 0x451978
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x27
jmp 0x451993
cmp eax, 3
jne 0x451989
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x22
jmp 0x451993
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x451a09
jmp 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451a12
test byte [edx + 0x44], 2
je 0x4519e4
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 0x4519d7
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.0045adb0
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 0x451621
push ecx
push eax
push eax
push 1
call fcn.00453e60
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.004386b0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x451a8a
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 0x451aed
jmp 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451af6
test byte [edx + 0x44], 2
je 0x451ac8
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 0x451abb
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.0045adb0
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 0x451618
push ecx
push eax
push eax
push 1
call fcn.00453e60
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.004386b0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x451ba1
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 0x451b84
cmp eax, 2
jne 0x451b84
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
jmp 0x451b8e
mov eax, dword [ebp - 0x10]
and byte [eax + 0x173], 0xdf
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x451c04
jmp 0x450dcb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x451c0d
test byte [edx + 0x44], 2
je 0x451bdf
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 0x451bd2
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.0045adb0
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 0x45160f
push ecx
push eax
push eax
push 1
call fcn.00453e60
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 0x450dd0
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 4
jne 0x451d30
test byte [eax + 0x171], 0x20
jne 0x451cbd
mov edx, dword [eax + 0x18]
test edx, edx
je 0x451d70
test byte [edx + 0x44], 2
je 0x451c93
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 0x451c81
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.0045adb0
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 0x451d8f
test byte [edx + 0x44], 2
je 0x451d09
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 0x451cf7
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.0045adb0
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 0x451dab
add esi, 4
movsx eax, byte [esi]
jmp 0x450dc2
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.00453e60
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.00453e60
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 0x451e1a
test byte [edx + 0x44], 2
je 0x451df0
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 0x451dde
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.0045adb0
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.00453e60
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 0x451602
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 0x450db9
push eax
push 0x1f
push 0x101
push 1
call fcn.00453e60
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.00453e60
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.00453e60
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.00453e60
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 0x451f0a
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 0x4512e9
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 0x45207f
mov ecx, dword [ebp - 0x44]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x451fdf
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 0x451326
mov byte [eax + 0x1f], 0
mov esi, dword [ebp - 0x10]
jmp 0x451326
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 0x452060
test byte [eax + 0x44], 2
je 0x452036
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 0x452024
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.0045adb0
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.00453e60
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 0x452099
mov eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
jmp 0x451fdf
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
jmp 0x451f36
mov eax, dword [esi + 0x140]
test eax, eax
mov edx, dword [esi + 0x38]
jne 0x4520b6
mov eax, 0x20000
mov ecx, dword [esi + 0x40]
sub ecx, edx
mov dword [ebp - 0x48], ecx
cmp ecx, eax
ja 0x4520eb
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 0x4520e6
mov eax, 1
mov dword [ebp - 0x44], eax
jmp 0x452153
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 0x45211e
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0xffffffff
jmp 0x452153
mov eax, dword [esi + 0x140]
test eax, eax
mov ecx, dword [ebp - 0x40]
jne 0x452130
mov eax, 0x20000
sub edi, ecx
add ebx, ecx
cmp edi, eax
jae 0x452141
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x452145
jmp 0x452149
test edi, edi
je 0x452149
test ecx, ecx
ja 0x4520f8
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 0x4521ad
mov esi, dword [ebp - 0x10]
jmp 0x4512c1
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 0x45222b
test byte [eax + 0x44], 2
je 0x452201
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 0x4521ef
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.0045adb0
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.00453e60
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.00453e60
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.00438b50
add esp, 0x10
test eax, eax
je 0x452466
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x45246e
test byte [edx + 0x44], 2
je 0x452441
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 0x452434
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.0045adb0
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 0x450dfa
push ecx
push eax
push eax
push 2
call fcn.00453e60
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret