Function at 0x40b650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x10]
push 2
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push edi
mov ebx, dword [ebp + 0x14]
call fcn.004271f0
add esp, 0x10
mov edx, eax
test edx, edx
je 0x40b6df
test byte [ebp + 0x10], 1
je 0x40b6ce
movzx ecx, byte [ebp + 0x13]
test ecx, 0x80
je 0x40b6be
lea ebx, [ebp + 0x1f]
and ebx, 0xfffffffc
lea ecx, [ebx + 4]
test byte [ecx - 4], 0x10
je 0x40b6be
add ebx, 7
and ebx, 0xfffffffc
mov ecx, dword [ebx]
add ebx, 7
and ebx, 0xfffffffc
cmp byte [ecx], 0x38
mov ebx, dword [ebx]
jne 0x40b6be
cmp byte [ecx + 2], 0x4e
je 0x40bb7a
movzx eax, dx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push str.unknown
push edi
push 2
push edx
call fcn.0041a850
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx edi, byte [ebp + 0x10]
mov ecx, edi
and ecx, 1
and edi, 2
movzx edx, byte [eax + 0x174]
and edx, 0xfffffffe
or edx, ecx
mov byte [eax + 0x174], dl
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x174]
and eax, 0xfffffffd
or eax, edi
xor edi, edi
mov byte [edx + 0x174], al
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], edi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf4], edi
mov edi, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov edx, dword [edi + 0xb8]
mov ecx, dword [edi + 0xbc]
mov dword [edi + 0xb0], edx
mov dword [edi + 0xb4], ecx
je 0x40b7c3
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea edx, [eax + 4]
mov edi, dword [edx - 4]
test edi, 0x20
je 0x40b76d
mov edx, dword [ebp - 0x10]
or byte [edx + 0x17b], 0x40
test edi, 0x10
je 0x40b7c5
add eax, 7
and eax, 0xfffffffc
mov edx, dword [eax]
add eax, 7
and eax, 0xfffffffc
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40c49c
cmp eax, 0xb
je 0x40c284
cmp eax, 0x38
je 0x40bc59
cmp eax, 1
je 0x40b7c5
push 0x318
push str.for_rseq_lis.c
push 2
push 8
call fcn.0041a850
add esp, 0x10
jmp 0x40b7c5
xor edi, edi
mov eax, dword [ebp - 0x10]
test byte [eax + 0x171], 0x20
je 0x40c90a
movzx edx, byte [eax + 0x173]
test dl, 0x10
je 0x40b857
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c4d7
test byte [edx + 0x44], 2
je 0x40b82d
mov dword [edx + 0x38], 0x102
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 0x40b81b
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x102
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x174]
push 0x102
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0042ecb0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x172], 0x40
jne 0x40b8d6
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c4f6
test byte [edx + 0x44], 2
je 0x40b8ac
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 0x40b89a
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
test dl, 8
je 0x40b95a
test byte [eax + 0x170], 4
jne 0x40b95a
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c515
test byte [edx + 0x44], 2
je 0x40b930
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 0x40b91e
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x5c]
mov edx, 0x28
mov dword [edi + 0x28], 0
xor eax, eax
mov dword [edi + edx - 4], eax
mov dword [edi + edx - 8], eax
mov dword [edi + edx - 0xc], eax
mov dword [edi + edx - 0x10], eax
mov dword [edi + edx - 0x14], eax
sub edx, 0x14
jne 0x40b969
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov edx, dword [ebp - 0x10]
or byte [edx + 0x17a], 0x10
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x173], 4
je 0x40ba17
test byte [ecx + 0x175], 4
jne 0x40c709
mov eax, dword [ecx + 0xc4]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xb0]
mov dword [ebp - 0x24], eax
test byte [ecx + 0x174], 8
jne 0x40c534
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0xd0]
sub edx, dword [ebp - 0x18]
add eax, edx
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x40ba09
mov edx, dword [eax + 0x3c]
sub ecx, edx
add ecx, dword [eax + 0x38]
mov dword [eax + 0x90], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x40ba1a
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x40ba41
cmp byte [eax + 0x1f], 0
je 0x40ba41
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x40bae2
mov byte [eax + 0x1f], 0
jmp 0x40bae2
xor eax, eax
push eax
push eax
push ecx
call fcn.00431950
add esp, 0xc
test eax, eax
je 0x40bab9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40c8d6
test byte [edx + 0x44], 2
je 0x40ba94
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 0x40ba87
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
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 ecx, dword [ebp - 0x10]
and byte [ecx + 0x177], 0x7f
or byte [edi + 0x2a], 0x10
add edi, 4
push edi
push 0
push 0x802
call fcn.00418180
add esp, 0xc
test eax, eax
je 0x40bb60
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40c8f0
test byte [edx + 0x44], 2
je 0x40bb3b
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 0x40bb2e
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
push ebx
push esi
call fcn.0040cb40
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x30]
push ecx
push edi
call fcn.004270c0
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
jne 0x40b6be
mov edi, dword [ebp - 0x30]
xor esi, esi
mov dword [edi + 0x84], esi
mov ecx, dword [ebp - 0x30]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [ecx + 0xf4], esi
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x174]
and ecx, 0xfffffffe
or ecx, edi
mov byte [eax + 0x174], cl
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebx]
mov dword [edi + 0xf4], ecx
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebx + 4]
mov dword [ecx + 0x84], ebx
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x40bc3f
test byte [ecx + 0x44], 2
je 0x40bc1a
mov dword [ecx + 0x38], edx
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ecx + 0x18]
mov dword [ebx + 0x3c], edx
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x40bc0b
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x64], esi
mov eax, edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push edx
movzx ecx, byte [ebx + 0x174]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push ebx
call fcn.0042ecb0
add esp, 0x14
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ebx
push edx
push edx
push 0
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
cmp eax, 6
je 0x40c170
cmp eax, 0x52
je 0x40c089
cmp eax, 0x3b
je 0x40bf7a
cmp eax, 0x3c
je 0x40be48
cmp eax, 0x51
je 0x40bd61
cmp eax, 0x53
jne 0x40b7ab
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x53
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40bce4
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x16b]
mov byte [ecx + 0x16c], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x17b], 0x20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x16b], al
movsx eax, byte [edx + 4]
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40bd47
test byte [edx + 0x44], 2
je 0x40bd22
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 0x40bd15
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x51
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40bdc2
mov ecx, dword [ebp - 0x10]
add edx, 4
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 - 0x30]
mov byte [ecx + 0x167], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40be25
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40be2e
test byte [edx + 0x44], 2
je 0x40be00
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 0x40bdf3
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x40bc8a
push ecx
push eax
push eax
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x3c
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40bef4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x176]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x176], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x17b], 8
mov eax, dword [ebp - 0x30]
cmp eax, 2
jne 0x40bece
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x176]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x176], al
mov edx, dword [ebp - 0x2c]
jmp 0x40bedb
cmp eax, 1
mov eax, dword [ebp - 0x10]
and byte [eax + 0x176], 0xfd
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40bf57
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40bf60
test byte [edx + 0x44], 2
je 0x40bf32
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 0x40bf25
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x40bc81
push ecx
push eax
push eax
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x3b
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40c003
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 - 0x30]
cmp eax, 2
je 0x40bfe0
cmp eax, 1
jne 0x40bfcf
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x27
jmp 0x40bfea
cmp eax, 3
jne 0x40bfe0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0x22
jmp 0x40bfea
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x161], 0
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40c066
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40c06f
test byte [edx + 0x44], 2
je 0x40c041
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 0x40c034
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x40bc78
push ecx
push eax
push eax
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 0x52
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40c0ea
mov ecx, dword [ebp - 0x10]
add edx, 4
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 - 0x30]
mov byte [ecx + 0x169], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40c14d
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40c156
test byte [edx + 0x44], 2
je 0x40c128
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 0x40c11b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x40bc6f
push ecx
push eax
push eax
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push 6
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x2c], edx
call fcn.004129c0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x40c1fe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x173]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x173], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x17b], 1
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x40c1db
cmp eax, 2
jne 0x40c1db
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
jmp 0x40c1e5
mov eax, dword [ebp - 0x10]
and byte [eax + 0x173], 0xdf
add edx, 4
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x40c261
jmp 0x40b7a6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40c26a
test byte [edx + 0x44], 2
je 0x40c23c
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 0x40c22f
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
jmp 0x40bc66
push ecx
push eax
push eax
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp byte [edx + 2], 0x4f
jne 0x40b7ab
mov eax, dword [ebp - 0x10]
test byte [eax + 0x173], 4
jne 0x40c38d
test byte [eax + 0x171], 0x20
jne 0x40c31a
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c3d3
test byte [edx + 0x44], 2
je 0x40c2f0
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 0x40c2de
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c3f2
test byte [edx + 0x44], 2
je 0x40c366
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 0x40c354
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov ecx, dword [edx]
add ecx, 0xffffffff
mov edi, dword [edx + 4]
adc edi, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
xor edx, edx
mov edi, dword [ebp - 0x30]
mov ecx, dword [eax + 0xb4]
sub ecx, edx
mov edx, dword [ebp - 0x2c]
jl 0x40c40e
add edx, 4
movsx eax, byte [edx]
jmp 0x40b79d
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40c47d
test byte [edx + 0x44], 2
je 0x40c453
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 0x40c441
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp byte [edx + 2], 0x4e
jne 0x40bc59
mov eax, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edi + 0xf4], ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [edi + 0x84], ecx
movsx eax, byte [edx]
mov edi, dword [ebp - 0x30]
jmp 0x40b794
push eax
push 0x1f
push 0x102
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x101
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, edx
sub eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x1c]
jl 0x40c56c
mov eax, dword [ecx + 0xc8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx + 0xcc]
adc ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
sub edx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
sbb eax, ecx
mov ecx, dword [ebp - 0x28]
jl 0x40b9da
mov eax, dword [ecx + 0xe4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
push 0
push ecx
push edx
mov dword [ebp - 0x2c], edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x40c6e4
mov ecx, dword [ebp - 0x28]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x40c644
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xb0]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xb8], edx
mov dword [eax + 0xbc], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xb0]
mov ecx, dword [eax + 0xb4]
mov dword [eax + 0xc0], edx
mov dword [eax + 0xc4], ecx
xor eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xd0], eax
mov dword [edx + 0xd4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc8], eax
mov dword [ecx + 0xcc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc8]
mov dword [ecx + 0xf0], edx
mov edx, dword [ebp - 0x10]
and byte [edx + 0x175], 0xfd
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x40ba41
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x40ba1a
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 0x40c6c5
test byte [eax + 0x44], 2
je 0x40c69b
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 0x40c689
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c6fe
mov eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jmp 0x40c644
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x40c598
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x24], eax
sub edx, eax
mov eax, dword [ecx + 0x140]
test eax, eax
mov dword [ebp - 0x2c], edx
jne 0x40c726
mov eax, 0x20000
cmp edx, eax
ja 0x40c75b
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ecx + 0xe4]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x28]
test eax, eax
mov eax, 0xffffffff
je 0x40c756
mov eax, 1
mov dword [ebp - 0x24], eax
jmp 0x40c7d9
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov esi, edx
mov edi, dword [ebp - 0x24]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40c79c
mov edi, dword [ebp - 0x28]
mov ecx, ebx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40c7d9
mov eax, dword [ebx + 0x140]
test eax, eax
mov edx, dword [ebp - 0x20]
jne 0x40c7ae
mov eax, 0x20000
sub esi, edx
add edi, edx
cmp esi, eax
jae 0x40c7bf
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x40c7c3
jmp 0x40c7c7
test esi, esi
je 0x40c7c7
test edx, edx
ja 0x40c76e
mov edi, dword [ebp - 0x28]
mov ecx, ebx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], 1
mov edx, dword [ecx + 0x38]
xor eax, eax
mov dword [ecx + 0x40], edx
mov dword [ecx + 0xa8], eax
mov dword [ecx + 0xac], eax
add edx, dword [ecx + 0xf8]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x44], edx
cdq
add eax, dword [ecx + 0xc0]
mov dword [ecx + 0xc0], eax
adc edx, dword [ecx + 0xc4]
and byte [ecx + 0x175], 0xfb
mov dword [ecx + 0xc4], edx
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], edx
cmp dword [ebp - 0x24], 0xffffffff
je 0x40c833
mov ecx, dword [ebp - 0x10]
jmp 0x40b9ac
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x40c8b7
test byte [eax + 0x44], 2
je 0x40c88d
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 0x40c87b
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], esi
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 - 0x18], 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]
mov esi, dword [ebp - 0x14]
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 - 0x18]
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 0x40cb12
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40cb1a
test byte [edx + 0x44], 2
je 0x40caed
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 0x40cae0
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push eax
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 - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
jmp 0x40b7d5
push ecx
push eax
push eax
push 2
call fcn.004187a0
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret