Function at 0x412560
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.00424340
add esp, 0x10
mov edx, eax
test edx, edx
je 0x4125ef
test byte [ebp + 0x10], 1
je 0x4125de
movzx ecx, byte [ebp + 0x13]
test ecx, 0x80
je 0x4125ce
lea esi, [ebp + 0x1f]
and esi, 0xfffffffc
lea ecx, [esi + 4]
test byte [ecx - 4], 0x10
je 0x4125ce
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 0x4125ce
cmp byte [ecx + 2], 0x4e
je 0x412a95
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.00417f60
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 0x4126cd
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea edx, [eax + 4]
mov ebx, dword [edx - 4]
test bl, 0x20
je 0x41267a
mov edx, dword [ebp - 0x10]
or byte [edx + 0x173], 0x40
test bl, 0x10
je 0x4126cf
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 0x4133b7
cmp eax, 0xb
je 0x41319f
cmp eax, 0x38
je 0x412b74
cmp eax, 1
je 0x4126cf
push 0x316
push str.for_rseq_lis.c
push 2
push 8
call fcn.00417f60
add esp, 0x10
jmp 0x4126cf
xor ebx, ebx
mov eax, dword [ebp - 0x10]
test byte [eax + 0x169], 0x20
je 0x41382d
movzx edx, byte [eax + 0x16b]
test dl, 0x10
je 0x412761
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4133f2
test byte [edx + 0x44], 2
je 0x412737
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 0x412725
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.004299d0
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 0x4127e0
mov edx, dword [eax + 0x18]
test edx, edx
je 0x413411
test byte [edx + 0x44], 2
je 0x4127b6
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 0x4127a4
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.004299d0
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 0x412864
test byte [eax + 0x168], 4
jne 0x412864
mov edx, dword [eax + 0x18]
test edx, edx
je 0x413430
test byte [edx + 0x44], 2
je 0x41283a
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 0x412828
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.004299d0
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 0x412873
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 0x412930
test byte [ecx + 0x16d], 4
jne 0x41362c
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 0x41344f
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 0x412922
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 0x412933
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x41295c
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x41295c
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4129fd
mov byte [eax + 0x1f], 0
jmp 0x4129fd
xor eax, eax
push eax
push eax
push ecx
call fcn.00437e30
add esp, 0xc
test eax, eax
je 0x4129d4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4137f9
test byte [edx + 0x44], 2
je 0x4129af
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 0x4129a2
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.004299d0
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.00411f20
add esp, 0xc
test eax, eax
je 0x412a7b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x413813
test byte [edx + 0x44], 2
je 0x412a56
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 0x412a49
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.004299d0
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.00413a60
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.00423d20
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
jne 0x4125ce
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 0x412b5a
test byte [ecx + 0x44], 2
je 0x412b35
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 0x412b26
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.004299d0
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.00415e60
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 0x41308b
cmp eax, 0x52
je 0x412fa4
cmp eax, 0x3b
je 0x412e95
cmp eax, 0x3c
je 0x412d63
cmp eax, 0x51
je 0x412c7c
cmp eax, 0x53
jne 0x4126b5
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x412bff
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 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x412c62
test byte [edx + 0x44], 2
je 0x412c3d
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 0x412c30
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.004299d0
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.00415e60
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x412cdd
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 0x412d40
jmp 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x412d49
test byte [edx + 0x44], 2
je 0x412d1b
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 0x412d0e
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.004299d0
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 0x412ba5
push ecx
push eax
push eax
push 1
call fcn.00415e60
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x412e0f
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 0x412de9
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 0x412df6
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 0x412e72
jmp 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x412e7b
test byte [edx + 0x44], 2
je 0x412e4d
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 0x412e40
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.004299d0
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 0x412b9c
push ecx
push eax
push eax
push 1
call fcn.00415e60
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x412f1e
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 0x412efb
cmp eax, 1
jne 0x412eea
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x27
jmp 0x412f05
cmp eax, 3
jne 0x412efb
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x22
jmp 0x412f05
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 0x412f81
jmp 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x412f8a
test byte [edx + 0x44], 2
je 0x412f5c
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 0x412f4f
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.004299d0
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 0x412b93
push ecx
push eax
push eax
push 1
call fcn.00415e60
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x413005
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 0x413068
jmp 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x413071
test byte [edx + 0x44], 2
je 0x413043
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 0x413036
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.004299d0
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 0x412b8a
push ecx
push eax
push eax
push 1
call fcn.00415e60
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.0040bd60
mov edx, dword [ebp - 0x2c]
add esp, 0x14
test eax, eax
jne 0x413119
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 0x4130f6
cmp eax, 2
jne 0x4130f6
mov eax, dword [ebp - 0x10]
or byte [eax + 0x16b], 0x20
jmp 0x413100
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 0x41317c
jmp 0x4126b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x413185
test byte [edx + 0x44], 2
je 0x413157
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 0x41314a
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.004299d0
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 0x412b81
push ecx
push eax
push eax
push 1
call fcn.00415e60
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 0x4126b5
mov eax, dword [ebp - 0x10]
test byte [eax + 0x16b], 4
jne 0x4132a8
test byte [eax + 0x169], 0x20
jne 0x413235
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4132ee
test byte [edx + 0x44], 2
je 0x41320b
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 0x4131f9
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.004299d0
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 0x41330d
test byte [edx + 0x44], 2
je 0x413281
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 0x41326f
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.004299d0
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 0x413329
add edx, 4
movsx eax, byte [edx]
jmp 0x4126a7
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.00415e60
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.00415e60
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 0x413398
test byte [edx + 0x44], 2
je 0x41336e
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 0x41335c
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.004299d0
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.00415e60
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 0x412b74
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 0x41269e
push eax
push 0x1f
push 0x102
push 1
call fcn.00415e60
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.00415e60
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.00415e60
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 0x41348f
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 0x4128ee
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 0x413607
mov ecx, dword [ebp - 0x28]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x413567
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 0x41295c
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x7c]
jmp 0x412933
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 0x4135e8
test byte [eax + 0x44], 2
je 0x4135be
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 0x4135ac
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.004299d0
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.00415e60
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 0x413621
mov eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jmp 0x413567
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x4134bb
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 0x413649
mov eax, 0x20000
cmp edx, eax
ja 0x41367e
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 0x413679
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4136fc
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 0x4136bf
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4136fc
mov eax, dword [ebx + 0x13c]
test eax, eax
mov edx, dword [ebp - 0x20]
jne 0x4136d1
mov eax, 0x20000
sub esi, edx
add edi, edx
cmp esi, eax
jae 0x4136e2
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x4136e6
jmp 0x4136ea
test esi, esi
je 0x4136ea
test edx, edx
ja 0x413691
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 0x413756
mov ecx, dword [ebp - 0x10]
jmp 0x4128b7
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 0x4137da
test byte [eax + 0x44], 2
je 0x4137b0
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 0x41379e
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.004299d0
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.00415e60
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.00415e60
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.00415e60
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.0040d710
add esp, 0x10
test eax, eax
je 0x413a35
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x413a3d
test byte [edx + 0x44], 2
je 0x413a10
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 0x413a03
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.004299d0
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 0x4126df
push ecx
push eax
push eax
push 2
call fcn.00415e60
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret