Function at 0x407630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x10]
push 2
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
push ebx
mov esi, dword [ebp + 0x14]
call fcn.0040bd90
add esp, 0x10
mov edx, eax
test edx, edx
je 0x4076bf
test byte [ebp + 0x10], 1
je 0x4076ae
movzx ecx, byte [ebp + 0x13]
test ecx, 0x80
je 0x40769e
lea esi, [ebp + 0x1f]
and esi, 0xfffffffc
lea ecx, [esi + 4]
test byte [ecx - 4], 0x10
je 0x40769e
add esi, 7
and esi, 0xfffffffc
mov ecx, dword [esi]
add esi, 7
and esi, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [esi]
jne 0x40769e
cmp byte [ecx + 2], 0x4e
je 0x407b65
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 ebx
push 2
push edx
call fcn.00410c30
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx edx, byte [ebp + 0x10]
mov ebx, edx
and ebx, 1
and edx, 2
movzx ecx, byte [eax + 0x16c]
and ecx, 0xfffffffe
or ecx, ebx
xor ebx, ebx
mov byte [eax + 0x16c], cl
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x16c]
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x16c], al
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], ebx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf4], ebx
mov ebx, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov edx, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xbc]
mov dword [ebx + 0xb0], edx
mov dword [ebx + 0xb4], ecx
je 0x40779d
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea edx, [eax + 4]
mov ebx, dword [edx - 4]
test bl, 0x20
je 0x40774a
mov edx, dword [ebp - 0x10]
or byte [edx + 0x173], 0x40
test bl, 0x10
je 0x40779f
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 0x408487
cmp eax, 0xb
je 0x40826f
cmp eax, 0x38
je 0x407c44
cmp eax, 1
je 0x40779f
push 0x316
push str.for_rseq_lis.c
push 2
push 8
call fcn.00410c30
add esp, 0x10
jmp 0x40779f
xor ebx, ebx
mov eax, dword [ebp - 0x10]
test byte [eax + 0x169], 0x20
je 0x4088fd
movzx edx, byte [eax + 0x16b]
test dl, 0x10
je 0x407831
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4084c2
test byte [edx + 0x44], 2
je 0x407807
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 0x4077f5
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 + 0x16c]
push 0x102
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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 + 0x16a], 0x40
jne 0x4078b0
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4084e1
test byte [edx + 0x44], 2
je 0x407886
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 0x407874
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 + 0x16c]
push 0x101
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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 0x407934
test byte [eax + 0x168], 4
jne 0x407934
mov edx, dword [eax + 0x18]
test edx, edx
je 0x408500
test byte [edx + 0x44], 2
je 0x40790a
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 0x4078f8
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 + 0x16c]
push 0x103
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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 ebx, dword [eax + 0x5c]
mov ecx, 0x28
mov dword [ebx + 0x28], 0
xor edx, edx
mov dword [ebx + ecx - 4], edx
mov dword [ebx + ecx - 8], edx
mov dword [ebx + ecx - 0xc], edx
mov dword [ebx + ecx - 0x10], edx
mov dword [ebx + ecx - 0x14], edx
sub ecx, 0x14
jne 0x407943
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
or byte [eax + 0x172], 0x10
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x16b], 4
je 0x407a00
test byte [ecx + 0x16d], 4
jne 0x4086fc
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x18], eax
movzx eax, byte [ecx + 0x16c]
and eax, 8
mov edx, dword [ecx + 0xc0]
cmp eax, 8
mov eax, dword [ebp - 0x28]
je 0x40851f
mov dword [ebp - 0x1c], ebx
sub eax, edx
mov ebx, dword [ecx + 0x38]
add ebx, dword [ecx + 0xd0]
add ebx, eax
mov dword [ecx + 0x3c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x4079f2
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 0x407a03
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x407a2c
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x407a2c
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x407acd
mov byte [eax + 0x1f], 0
jmp 0x407acd
xor eax, eax
push eax
push eax
push ecx
call fcn.00420420
add esp, 0xc
test eax, eax
je 0x407aa4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4088c9
test byte [edx + 0x44], 2
je 0x407a7f
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 0x407a72
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 + 0x16f], 0xfb
mov ecx, dword [ebp - 0x10]
and byte [ecx + 0x16f], 0x7f
or byte [ebx + 0x2a], 0x10
add ebx, 4
push ebx
push 0
push 0x802
call fcn.0040e4f0
add esp, 0xc
test eax, eax
je 0x407b4b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4088e3
test byte [edx + 0x44], 2
je 0x407b26
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 0x407b19
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 esi
push edi
call fcn.00408b30
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 ebx
call fcn.0040b770
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
jne 0x40769e
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov dword [edi + 0x84], ebx
mov ecx, dword [ebp - 0x30]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [ecx + 0xf4], ebx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x16c]
and ecx, 0xfffffffe
or ecx, edi
mov byte [eax + 0x16c], cl
mov edi, dword [ebp - 0x30]
mov ecx, dword [esi]
mov dword [edi + 0xf4], ecx
mov ecx, dword [ebp - 0x30]
mov esi, dword [esi + 4]
mov dword [ecx + 0x84], esi
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x407c2a
test byte [ecx + 0x44], 2
je 0x407c05
mov dword [ecx + 0x38], edx
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx + 0x18]
mov dword [esi + 0x3c], edx
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x407bf6
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x64], ebx
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 [esi + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push esi
call fcn.00418aa0
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 esi
push edx
push edx
push 0
call fcn.0040eb30
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 0x40815b
cmp eax, 0x52
je 0x408074
cmp eax, 0x3b
je 0x407f65
cmp eax, 0x3c
je 0x407e33
cmp eax, 0x51
je 0x407d4c
cmp eax, 0x53
jne 0x407785
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x407ccf
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x163]
mov byte [ecx + 0x164], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x163], al
movsx eax, byte [edx + 4]
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x407d32
test byte [edx + 0x44], 2
je 0x407d0d
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 0x407d00
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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.0040eb30
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x407dad
mov ecx, dword [ebp - 0x10]
add edx, 4
movzx eax, byte [ecx + 0x15f]
mov byte [ecx + 0x160], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x15f], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x407e10
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x407e19
test byte [edx + 0x44], 2
je 0x407deb
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 0x407dde
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x407c75
push ecx
push eax
push eax
push 1
call fcn.0040eb30
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x407edf
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x16e]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x16e], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x173], 8
mov eax, dword [ebp - 0x30]
cmp eax, 2
jne 0x407eb9
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 + 0x16e]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x16e], al
mov edx, dword [ebp - 0x2c]
jmp 0x407ec6
cmp eax, 1
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16e], 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 0x407f42
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x407f4b
test byte [edx + 0x44], 2
je 0x407f1d
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 0x407f10
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x407c6c
push ecx
push eax
push eax
push 1
call fcn.0040eb30
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x407fee
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x159]
mov byte [ecx + 0x15a], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 4
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x407fcb
cmp eax, 1
jne 0x407fba
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x27
jmp 0x407fd5
cmp eax, 3
jne 0x407fcb
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x22
jmp 0x407fd5
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 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 0x408051
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x40805a
test byte [edx + 0x44], 2
je 0x40802c
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 0x40801f
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x407c63
push ecx
push eax
push eax
push 1
call fcn.0040eb30
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4080d5
mov ecx, dword [ebp - 0x10]
add edx, 4
movzx eax, byte [ecx + 0x161]
mov byte [ecx + 0x162], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x161], al
mov eax, dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 0x28], eax
movsx eax, byte [edx]
cmp eax, 0x38
je 0x408138
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x408141
test byte [edx + 0x44], 2
je 0x408113
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 0x408106
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x407c5a
push ecx
push eax
push eax
push 1
call fcn.0040eb30
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.0041c3e0
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x4081e9
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx edx, byte [ecx + 0x16b]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x16b], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
or byte [eax + 0x173], 1
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x4081c6
cmp eax, 2
jne 0x4081c6
mov eax, dword [ebp - 0x10]
or byte [eax + 0x16b], 0x20
jmp 0x4081d0
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16b], 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 0x40824c
jmp 0x407780
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x408255
test byte [edx + 0x44], 2
je 0x408227
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 0x40821a
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x407c51
push ecx
push eax
push eax
push 1
call fcn.0040eb30
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 0x407785
mov eax, dword [ebp - 0x10]
test byte [eax + 0x16b], 4
jne 0x408378
test byte [eax + 0x169], 0x20
jne 0x408305
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4083be
test byte [edx + 0x44], 2
je 0x4082db
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 0x4082c9
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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 0x4083dd
test byte [edx + 0x44], 2
je 0x408351
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 0x40833f
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 + 0x16c]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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], ebx
mov ecx, dword [edx]
add ecx, 0xffffffff
mov ebx, dword [edx + 4]
adc ebx, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
xor edx, edx
mov ebx, dword [ebp - 0x30]
mov ecx, dword [eax + 0xb4]
sub ecx, edx
mov edx, dword [ebp - 0x2c]
jl 0x4083f9
add edx, 4
movsx eax, byte [edx]
jmp 0x407777
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.0040eb30
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.0040eb30
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 0x408468
test byte [edx + 0x44], 2
je 0x40843e
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 0x40842c
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.00418aa0
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.0040eb30
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 0x407c44
mov eax, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebx + 0xf4], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x84], ecx
movsx eax, byte [edx]
mov ebx, dword [ebp - 0x30]
jmp 0x40776e
push eax
push 0x1f
push 0x102
push 1
call fcn.0040eb30
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.0040eb30
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.0040eb30
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 - 0x28], eax
sub eax, edx
mov eax, dword [ebp - 0x18]
sbb eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
jl 0x40855f
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ecx + 0xc8]
add ebx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 0xcc]
adc ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
sub eax, ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
sbb ebx, ecx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
jl 0x4079be
mov edx, dword [ecx + 0xe4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
push 0
push ecx
push eax
mov dword [ebp - 0x2c], eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x4086d7
mov ecx, dword [ebp - 0x28]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x408637
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 + 0x16d], 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 0x407a2c
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x407a03
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 0x4086b8
test byte [eax + 0x44], 2
je 0x40868e
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 0x40867c
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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.0040eb30
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 0x4086f1
mov eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jmp 0x408637
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x40858b
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x28], eax
sub edx, eax
mov eax, dword [ecx + 0x13c]
test eax, eax
mov dword [ebp - 0x2c], edx
jne 0x408719
mov eax, 0x20000
cmp edx, eax
ja 0x40874e
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ecx + 0xe4]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x24]
test eax, eax
mov eax, 0xffffffff
je 0x408749
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4087cc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov esi, edx
mov edi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40878f
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4087cc
mov eax, dword [ebx + 0x13c]
test eax, eax
mov edx, dword [ebp - 0x20]
jne 0x4087a1
mov eax, 0x20000
sub esi, edx
add edi, edx
cmp esi, eax
jae 0x4087b2
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x4087b6
jmp 0x4087ba
test esi, esi
je 0x4087ba
test edx, edx
ja 0x408761
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], 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 + 0x16d], 0xfb
mov dword [ecx + 0xc4], edx
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x408826
mov ecx, dword [ebp - 0x10]
jmp 0x407987
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4088aa
test byte [eax + 0x44], 2
je 0x408880
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 0x40886e
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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.0040eb30
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.0040eb30
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.0040eb30
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], edi
movzx edx, byte [eax + 0x168]
movzx edi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr edi, 7
or edx, edi
mov byte [eax + 0x168], dl
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
movzx esi, byte [ebp + 0x12]
shr esi, 2
and esi, 1
movzx eax, byte [edi + 0x168]
add esi, esi
and eax, 0xfffffffd
or eax, esi
mov byte [edi + 0x168], al
movzx edi, byte [ebp + 0x13]
mov esi, edi
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 0x168]
lea eax, [esi*4]
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x168], cl
mov ecx, edi
mov edx, dword [ebp - 0x10]
shr ecx, 2
and ecx, 1
movzx eax, byte [edx + 0x168]
shl ecx, 3
and eax, 0xfffffff7
or eax, ecx
mov byte [edx + 0x168], al
mov eax, edi
mov ecx, dword [ebp - 0x10]
shr eax, 6
and eax, 1
movzx edx, byte [ecx + 0x168]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [ecx + 0x168], dl
mov edx, esi
mov ecx, dword [ebp - 0x10]
shl edx, 5
shl esi, 3
movzx eax, byte [ecx + 0x168]
and eax, 0xffffffdf
or eax, edx
mov byte [ecx + 0x168], al
mov eax, edi
mov edx, dword [ebp - 0x10]
shr eax, 4
and eax, 1
movzx ecx, byte [edx + 0x171]
shl eax, 2
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x171], cl
mov eax, dword [ebp - 0x10]
shr edi, 5
and edi, 1
movzx edx, byte [eax + 0x171]
and edx, 0xfffffff7
or edx, esi
mov esi, edi
mov byte [eax + 0x171], dl
mov edx, dword [ebp - 0x10]
shl esi, 6
shl edi, 7
movzx eax, byte [edx + 0x168]
and eax, 0xffffffbf
or eax, esi
mov byte [edx + 0x168], al
mov edx, ebx
mov esi, dword [ebp - 0x10]
shr edx, 1
and edx, 1
movzx ecx, byte [esi + 0x168]
and ecx, 0x7f
or ecx, edi
mov edi, ebx
mov byte [esi + 0x168], cl
and edi, 1
mov esi, dword [ebp - 0x10]
shl edx, 5
shr ebx, 2
movzx eax, byte [esi + 0x169]
and ebx, 3
and eax, 0xfffffffe
add ebx, ebx
or eax, edi
mov byte [esi + 0x169], al
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
movzx eax, byte [edi + 0x171]
and eax, 0xffffffdf
or eax, edx
mov byte [edi + 0x171], al
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x169]
and ecx, 0xfffffff9
or ecx, ebx
mov ebx, 1
push ebx
push ebx
mov byte [eax + 0x169], cl
push ebx
push dword [ebp - 0x10]
call fcn.0041dd90
add esp, 0x10
test eax, eax
je 0x408b05
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x408b0d
test byte [edx + 0x44], 2
je 0x408ae0
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 0x408ad3
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.00418aa0
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 0x4077af
push ecx
push eax
push eax
push 2
call fcn.0040eb30
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret