Function at 0x413b40
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.004271f0
add esp, 0x10
mov esi, eax
test esi, esi
je 0x413bce
test byte [ebp + 0x10], 1
je 0x413bbd
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x413bad
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x413bad
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 0x413bad
cmp byte [eax + 2], 0x4e
je 0x41442b
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.0041a850
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 0x413d08
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
mov edi, dword [eax - 4]
test edi, 0x20
je 0x413cb5
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x40
test edi, 0x10
je 0x413d0a
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 0x414d59
cmp eax, 0xb
je 0x414b47
cmp eax, 0x38
je 0x414522
cmp eax, 1
je 0x413d0a
push 0x20d
push str.for_rseq_fmt.c
push 2
push 8
call fcn.0041a850
add esp, 0x10
jmp 0x413d0a
xor edi, edi
mov eax, dword [ebp - 0x10]
test byte [eax + 0x171], 0x20
je 0x415184
test byte [eax + 0x172], 0x40
jne 0x413d99
mov edx, dword [eax + 0x18]
test edx, edx
je 0x414d88
test byte [edx + 0x44], 2
je 0x413d6f
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 0x413d5d
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.0042ecb0
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 0x413e21
test byte [eax + 0x170], 4
jne 0x413e21
mov edx, dword [eax + 0x18]
test edx, edx
je 0x414da7
test byte [edx + 0x44], 2
je 0x413df7
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 0x413de5
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.0042ecb0
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.004b5ec0
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.0x413e4d
dec eax
cmp eax, 4
ja case.default.0x413e4d
jmp dword [eax*4 + 0x4ccd48]
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffc3
or eax, 0x40
mov byte [esi + 0xa0], al
jmp case.default.0x413e4d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffffa3
or eax, 0x20
mov byte [esi + 0xa0], al
jmp case.default.0x413e4d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff93
or eax, 0x10
mov byte [esi + 0xa0], al
jmp case.default.0x413e4d
movzx eax, byte [esi + 0xa0]
and eax, 0xffffff8b
or eax, 8
mov byte [esi + 0xa0], al
jmp case.default.0x413e4d
movzx eax, byte [esi + 0xa0]
or eax, 4
and eax, 0xffffff87
mov byte [esi + 0xa0], al
test byte [ebp + 0x10], 8
je 0x413f6d
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x174]
test al, 1
jne 0x413ee1
test al, 2
jne 0x413ee1
not eax
and eax, 4
shr eax, 2
jmp 0x413ee3
xor eax, eax
push eax
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0x1c]
call fcn.00439210
add esp, 0xc
test eax, eax
je 0x413f5e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414dc6
test byte [edx + 0x44], 2
je 0x413f39
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 0x413f2c
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.0042ecb0
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 0x413f73
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 0x20
je 0x413f8b
movzx eax, byte [esi + 0x9c]
or eax, 1
jmp 0x413f95
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 0x4141a0
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.0042fdc0
add esp, 0x10
test eax, eax
jne 0x41410d
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.00418180
add esp, 0xc
test eax, eax
jne 0x41410d
test esi, esi
jle 0x414023
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov ebx, eax
movsx edx, byte [ebx + edi]
push edx
call fcn.0046bee0
mov edx, dword [ebp - 0x20]
add esp, 4
mov byte [edx + ebx], al
inc ebx
cmp ebx, esi
jl 0x414008
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 0x414049
cmp esi, 1
jle 0x414049
mov byte [ecx + esi - 1], 0
dec esi
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + esi - 1], 0x20
je 0x414034
mov edi, 0x4ccb94
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x414070
test dl, dl
je 0x41406c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x414070
add edi, 2
add esi, 2
test dl, dl
jne 0x414050
xor eax, eax
jmp 0x414075
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414082
mov dword [ebp - 0x2c], 0
jmp 0x4140b9
mov edi, 0x4ccb98
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4140a9
test dl, dl
je 0x4140a5
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4140a9
add edi, 2
add esi, 2
test dl, dl
jne 0x414089
xor eax, eax
jmp 0x4140ae
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4140f9
mov dword [ebp - 0x2c], 1
push ecx
call fcn.00418240
add esp, 4
test eax, eax
jne 0x41410d
test byte [ebp + 0x12], 0x10
je 0x41410d
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.0042fdc0
add esp, 0x10
test eax, eax
jne 0x41410d
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], dl
jmp 0x41410d
push ecx
call fcn.00418240
add esp, 4
test eax, eax
jne 0x41410d
mov eax, 0x30
jmp 0x414111
test eax, eax
je 0x414178
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414de0
test byte [edx + 0x44], 2
je 0x414153
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 0x414146
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.0042ecb0
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 0x4141a0
movsx eax, byte [ebp - 0x24]
add eax, 0xfffffffb
cmp eax, 0xc
jbe 0x4141a0
push 0x2c1
push str.for_rseq_fmt.c
push 2
push 8
call fcn.0041a850
add esp, 0x10
mov esi, dword [ebp - 0x10]
test byte [esi + 0x173], 4
je 0x414246
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4141bd
cmp byte [eax + 0x1f], 0
jne 0x4141c6
test byte [esi + 0x17c], 2
je 0x4141cf
mov dword [ebp - 0x18], 1
jmp 0x4141d4
xor eax, eax
mov dword [ebp - 0x18], eax
test byte [esi + 0x175], 4
jne 0x414fc4
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 0x414dfa
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 0x414237
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 0x414246
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 0x414268
cmp byte [eax + 0x1f], 0
je 0x414268
mov eax, dword [edx + 0x3c]
mov dword [edx + 0x48], eax
jmp 0x414357
xor eax, eax
push eax
push eax
push edx
call fcn.00431950
add esp, 0xc
test eax, eax
je 0x414333
test byte [ebp + 0x12], 8
je 0x4142cc
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4142cc
movsx edx, byte [ebp - 0x24]
add edx, 0xfffffffb
cmp edx, 0xc
ja case.default.0x4143c7
jmp dword [edx*4 + 0x4ccd5c]
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x4142cc
mov dword [ecx], 0
jmp 0x4142cc
xor edx, edx
mov word [ecx], dx
jmp 0x4142cc
mov byte [ecx], 0
jmp 0x4142cc
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 0x41516a
test byte [edx + 0x44], 2
je 0x41430e
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 0x414301
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.0042ecb0
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 0x414390
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x41440f
mov byte [eax + 0x1f], 0
jmp 0x41440f
cmp dword [ebp - 0x2c], 0
je 0x4143a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x41440f
mov byte [eax + 0x1f], 0
jmp 0x41440f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [edx + 0x1f], 1
je 0x41440f
movsx edx, byte [ebp - 0x24]
lea ecx, [edx - 5]
cmp ecx, 0xc
ja case.default.0x4143c7
jmp dword [ecx*4 + 0x4ccd90]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4143e9
mov dword [eax], 0
jmp 0x4143e9
xor ecx, ecx
mov word [eax], cx
jmp 0x4143e9
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.004153b0
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.004270c0
add esp, 8
test eax, eax
jne 0x413bad
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 0x414508
test byte [eax + 0x44], 2
je 0x4144e3
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 0x4144d4
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.0042ecb0
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.004187a0
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 0x414a30
cmp eax, 0x52
je 0x41494c
cmp eax, 0x3b
je 0x414840
cmp eax, 0x3c
je 0x414705
cmp eax, 0x51
je 0x414621
cmp eax, 0x53
jne 0x413cf0
push 3
lea eax, [ebp - 0x4c]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.004129c0
add esp, 0x14
test eax, eax
jne 0x4145a4
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 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414607
test byte [edx + 0x44], 2
je 0x4145e2
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 0x4145d5
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.0042ecb0
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.004187a0
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.004129c0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x41467f
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 0x4146e2
jmp 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4146eb
test byte [edx + 0x44], 2
je 0x4146bd
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 0x4146b0
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.0042ecb0
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 0x414553
push ecx
push eax
push eax
push 1
call fcn.004187a0
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.004129c0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x4147ba
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 0x41479a
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 0x4147a7
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 0x41481d
jmp 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414826
test byte [edx + 0x44], 2
je 0x4147f8
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 0x4147eb
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.0042ecb0
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 0x41454a
push ecx
push eax
push eax
push 1
call fcn.004187a0
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.004129c0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x4148c6
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 0x4148a9
cmp eax, 1
jne 0x414898
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x27
jmp 0x4148b3
cmp eax, 3
jne 0x4148a9
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x22
jmp 0x4148b3
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x414929
jmp 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414932
test byte [edx + 0x44], 2
je 0x414904
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 0x4148f7
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.0042ecb0
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 0x414541
push ecx
push eax
push eax
push 1
call fcn.004187a0
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.004129c0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x4149aa
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 0x414a0d
jmp 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414a16
test byte [edx + 0x44], 2
je 0x4149e8
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 0x4149db
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.0042ecb0
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 0x414538
push ecx
push eax
push eax
push 1
call fcn.004187a0
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.004129c0
mov edx, dword [ebp - 0x1cc]
add esp, 0x14
test eax, eax
jne 0x414ac1
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 0x414aa4
cmp eax, 2
jne 0x414aa4
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
jmp 0x414aae
mov eax, dword [ebp - 0x10]
and byte [eax + 0x173], 0xdf
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x414b24
jmp 0x413ceb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x414b2d
test byte [edx + 0x44], 2
je 0x414aff
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 0x414af2
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.0042ecb0
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 0x41452f
push ecx
push eax
push eax
push 1
call fcn.004187a0
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 0x413cf0
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 4
jne 0x414c50
test byte [eax + 0x171], 0x20
jne 0x414bdd
mov edx, dword [eax + 0x18]
test edx, edx
je 0x414c90
test byte [edx + 0x44], 2
je 0x414bb3
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 0x414ba1
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.0042ecb0
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 0x414caf
test byte [edx + 0x44], 2
je 0x414c29
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 0x414c17
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.0042ecb0
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 0x414ccb
add esi, 4
movsx eax, byte [esi]
jmp 0x413ce2
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.004187a0
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.004187a0
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 0x414d3a
test byte [edx + 0x44], 2
je 0x414d10
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 0x414cfe
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.0042ecb0
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.004187a0
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 0x414522
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 0x413cd9
push eax
push 0x1f
push 0x101
push 1
call fcn.004187a0
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.004187a0
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.004187a0
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.004187a0
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 0x414e2a
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 0x414209
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 0x414f9f
mov ecx, dword [ebp - 0x44]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x414eff
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 0x414246
mov byte [eax + 0x1f], 0
mov esi, dword [ebp - 0x10]
jmp 0x414246
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 0x414f80
test byte [eax + 0x44], 2
je 0x414f56
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 0x414f44
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.0042ecb0
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.004187a0
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 0x414fb9
mov eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
jmp 0x414eff
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
jmp 0x414e56
mov eax, dword [esi + 0x140]
test eax, eax
mov edx, dword [esi + 0x38]
jne 0x414fd6
mov eax, 0x20000
mov ecx, dword [esi + 0x40]
sub ecx, edx
mov dword [ebp - 0x48], ecx
cmp ecx, eax
ja 0x41500b
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 0x415006
mov eax, 1
mov dword [ebp - 0x44], eax
jmp 0x415073
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 0x41503e
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0xffffffff
jmp 0x415073
mov eax, dword [esi + 0x140]
test eax, eax
mov ecx, dword [ebp - 0x40]
jne 0x415050
mov eax, 0x20000
sub edi, ecx
add ebx, ecx
cmp edi, eax
jae 0x415061
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x415065
jmp 0x415069
test edi, edi
je 0x415069
test ecx, ecx
ja 0x415018
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 0x4150cd
mov esi, dword [ebp - 0x10]
jmp 0x4141e1
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 0x41514b
test byte [eax + 0x44], 2
je 0x415121
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 0x41510f
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.0042ecb0
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.004187a0
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.004187a0
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.00413820
add esp, 0x10
test eax, eax
je 0x415386
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x41538e
test byte [edx + 0x44], 2
je 0x415361
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 0x415354
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.0042ecb0
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 0x413d1a
push ecx
push eax
push eax
push 2
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret