Function at 0x4155a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea edx, [ebp - 0x14]
push 5
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
push ebx
push edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
call fcn.00432c10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415632
test byte [ebp + 0x10], 1
je 0x415621
movzx edx, byte [ebp + 0x13]
test edx, 0x80
je 0x415611
lea ecx, [ebp + 0x1f]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
test byte [edx - 4], 0x10
je 0x415611
add ecx, 7
and ecx, 0xfffffffc
mov edx, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
cmp byte [edx], 0x38
mov ebx, dword [ecx]
jne 0x415611
cmp byte [edx + 2], 0x4e
je 0x415e2d
movzx eax, si
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push str.unknown
push edi
push 2
push esi
call fcn.0040b430
add esp, 0x10
mov edx, dword [ebp - 0x14]
test byte [edx + 0x17a], 0x40
je 0x415708
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x415708
cmp byte [eax + 0x1e], 0
je 0x415708
mov esi, dword [eax + 0xc]
cmp esi, edx
je 0x415708
movzx eax, byte [esi + 0x17d]
test al, 0x40
je 0x41567a
cmp byte [esi + 0x168], 1
je 0x416d82
push esi
call fcn.00435cb0
add esp, 4
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x415691
mov byte [edx + 0x1e], 0
test eax, eax
je 0x4156f0
mov edx, dword [esi + 0x18]
test edx, edx
je 0x415f06
test byte [edx + 0x44], 2
je 0x4156cb
mov dword [edx + 0x38], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [esi + 0x64]
test edx, edx
je 0x4156be
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [esi + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [esi + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
add dword [esi + 0xa0], 1
adc dword [esi + 0xa4], 0
and byte [esi + 0x17f], 0xfb
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [edx + 0x84], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xfc], eax
mov edi, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov ecx, dword [edi + 0xc0]
mov esi, dword [edi + 0xc4]
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], esi
je 0x4157e5
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
lea ecx, [edx + 4]
mov esi, dword [ecx - 4]
test esi, 0x20
je 0x415761
mov ecx, dword [ebp - 0x14]
or byte [ecx + 0x183], 0x40
test esi, 0x10
je 0x4157e7
add edx, 7
and edx, 0xfffffffc
mov edi, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [edi], 0x38
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
je 0x4166cc
cmp byte [edi], 0xb
je 0x4164bd
cmp byte [edi], 0x38
je 0x4163bc
cmp byte [edi], 0x38
je 0x4162e2
cmp byte [edi], 0x38
je 0x4161e0
cmp byte [edi], 0x38
je 0x4160cb
cmp byte [edi], 0x38
je 0x415ff1
cmp byte [edi], 0x38
je 0x415f20
cmp byte [edi], 1
je 0x4157df
push 0x30c
push str.for_wseq_lis.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
movzx eax, byte [ebp + 0x13]
jmp 0x4157e7
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], esi
movzx esi, byte [ebp + 0x10]
mov edi, esi
movzx edx, byte [ecx + 0x17c]
and edi, 1
and edx, 0xfffffffe
or edx, edi
mov byte [ecx + 0x17c], dl
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
and esi, 2
movzx ecx, byte [edx + 0x17c]
and ecx, 0xfffffffd
or ecx, esi
mov byte [edx + 0x17c], cl
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 1
and ecx, 1
movzx edx, byte [edi + 0x17f]
shl ecx, 3
and edx, 0xfffffff7
or edx, ecx
xor ecx, ecx
mov byte [edi + 0x17f], dl
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x130], ecx
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x134], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
test byte [edx + 0x179], 0x20
je 0x416b15
test byte [edx + 0x184], 0x10
je 0x415891
mov eax, dword [edx + 0xf4]
mov dword [edx + 0x100], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xf4]
mov word [ecx + 0x160], dx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x183]
and esi, 0xffffff80
and eax, 0x7f
or eax, esi
mov byte [edx + 0x183], al
mov eax, dword [ebp - 0x14]
test byte [eax + 0x179], 0x40
jne 0x416a87
movzx edx, byte [eax + 0x17b]
test dl, 0x10
jne 0x4169f9
test byte [eax + 0x17a], 0x40
jne 0x415945
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4166fb
test byte [edx + 0x44], 2
je 0x41591b
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x415909
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x101
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x17c]
push 0x101
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test dl, 8
je 0x4159c9
test byte [eax + 0x178], 4
jne 0x4159c9
mov edx, dword [eax + 0x18]
test edx, edx
je 0x41671a
test byte [edx + 0x44], 2
je 0x41599f
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x41598d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x103
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x17c]
push 0x103
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
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 0x4159d8
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov esi, dword [ebp - 0x14]
test byte [esi + 0x17b], 4
je 0x415afc
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
sub edx, dword [esi + 0xc0]
sub eax, dword [esi + 0xc4]
or edx, eax
je 0x415afc
test byte [esi + 0x17d], 4
jne 0x4167fe
mov edx, dword [esi + 0xec]
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xbc]
lea esi, [ebp - 0x18]
push 0
push esi
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
je 0x4167d9
mov edx, dword [ebp - 0x18]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x416739
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xbc]
mov dword [ecx + 0xc8], eax
xor eax, eax
mov dword [ecx + 0xcc], edx
mov esi, dword [ebp - 0x14]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xd0]
mov dword [ecx + 0xf8], edx
mov esi, dword [ebp - 0x14]
and byte [esi + 0x17d], 0xfd
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x98], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x415b0d
mov byte [eax + 0x1e], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x7c]
jmp 0x415aff
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x415b0d
cmp byte [eax + 0x1e], 0
jne 0x415d9b
movzx eax, word [esi + 0x164]
test eax, eax
jg 0x415d51
push 0
push esi
call fcn.00437060
add esp, 8
test eax, eax
je 0x415b95
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4169bb
test byte [eax + 0x44], 2
je 0x415b6b
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x64]
test eax, eax
je 0x415b59
xor edx, edx
mov dword [eax + 4], edx
mov dword [esi + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [esi + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 0x166]
mov dword [ebp - 0x2c], eax
lea eax, [eax - 1]
cmp eax, 7
ja case.default.0x415bab
jmp dword [eax*4 + 0x4e9d24]
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x415bbc
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x100]
mov dword [esi + 0x3c], ecx
lea edx, [ecx + eax - 1]
mov dword [esi + 0x44], edx
movzx eax, byte [esi + 0x178]
jmp 0x415cda
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4169da
test byte [eax + 0x44], 2
je 0x415c18
mov edx, 0x2c
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x64]
test eax, eax
je 0x415c06
xor edx, edx
mov dword [eax + 4], edx
mov dword [esi + 0x64], edx
mov eax, 0x2c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x2c
push eax
movzx edx, byte [esi + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x415c4e
add ecx, 4
jmp 0x415c54
mov ecx, dword [esi + 0x38]
add ecx, 4
mov eax, dword [esi + 0x100]
mov dword [esi + 0x3c], ecx
lea edx, [ecx + eax - 8]
mov dword [esi + 0x44], edx
movzx eax, byte [esi + 0x178]
jmp 0x415cda
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x415c77
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x100]
mov dword [esi + 0x3c], ecx
lea eax, [ecx + edx]
mov dword [ebp - 0x30], eax
movzx eax, byte [esi + 0x178]
test al, 4
je 0x415ca9
test byte [esi + 0x17a], 0x40
je 0x415ca9
test byte [esi + 0x17b], 8
je 0x415ca9
cmp dword [ebp - 0x2c], 1
je 0x415cb1
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x44], edx
jmp 0x415cda
lea edx, [ecx + edx - 2]
mov dword [esi + 0x44], edx
jmp 0x415cda
push 0x37c
push str.for_wseq_lis.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
movzx eax, byte [esi + 0x178]
mov ecx, dword [esi + 0x3c]
test al, 4
je 0x415cf9
test byte [esi + 0x17a], 0x40
je 0x415cf9
test byte [esi + 0x17b], 8
je 0x415cf9
cmp byte [esi + 0x166], 1
je 0x415d44
movsx eax, byte [esi + 0x168]
cmp eax, 2
jne 0x415d20
movsx eax, byte [esi + 0x166]
cmp eax, 7
je 0x415d44
cmp eax, 6
je 0x415d44
cmp eax, 8
je 0x415d44
dec dword [esi + 0x44]
jmp 0x415d44
cmp eax, 1
jne 0x415d44
movsx eax, byte [esi + 0x166]
cmp eax, 7
je 0x415d3e
cmp eax, 6
je 0x415d3e
cmp eax, 8
je 0x415d3e
dec dword [esi + 0x44]
add ecx, 5
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x4c], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x415d78
push dword [eax + 0x100]
push 0x20
push edx
call fcn.004cda30
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x415db3
movzx edx, word [eax + 0x164]
test edx, edx
jg 0x415db3
push dword [eax + 0x100]
push 0x20
push dword [eax + 0x38]
call fcn.004cda30
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x415db3
mov dword [esi + 0x4c], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x415db3
mov byte [edx + 0x1e], 0
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 0x164]
test edx, edx
jg 0x415dc5
or byte [edi + 0x2a], 0x10
mov eax, dword [ebp - 0x14]
test byte [eax + 0x178], 2
je 0x415e08
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x415e08
cmp byte [edx + 0x1f], 0
je 0x415e08
push dword [eax + 0xec]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x415e08
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x415dfd
mov byte [eax + 0x1f], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
call fcn.00437060
add esp, 8
push dword [ebp + 0x18]
push dword [ebp - 4]
push ebx
call fcn.00416dc0
add esp, 0xc
mov edx, dword [edi + 0x14]
test edx, edx
mov ebx, dword [ebp - 8]
je 0x415e23
mov eax, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x30]
push edx
push edi
call fcn.00432ae0
add esp, 8
test eax, eax
jne 0x415611
mov edi, dword [ebp - 0x30]
xor ecx, ecx
mov dword [edi + 0x84], ecx
mov edx, dword [ebp - 0x30]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [edx + 0xfc], ecx
mov eax, dword [ebp - 0x30]
movzx edx, byte [eax + 0x17c]
and edx, 0xfffffffe
or edx, edi
mov byte [eax + 0x17c], dl
mov edi, dword [ebp - 0x30]
mov edx, dword [ebx]
mov dword [edi + 0xfc], edx
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebx + 4]
mov dword [edx + 0x84], ebx
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x415eec
test byte [edx + 0x44], 2
je 0x415ec7
mov dword [edx + 0x38], esi
mov edx, dword [ebp - 0x30]
mov ebx, dword [edx + 0x18]
mov dword [ebx + 0x3c], esi
mov edi, dword [ebp - 0x30]
mov edx, dword [edi + 0x64]
test edx, edx
je 0x415eb8
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x64], ecx
mov eax, esi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
movzx edx, byte [ebx + 0x17c]
push esi
and edx, 7
push edx
push 0xffffffffffffffff
push ebx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ebx
push esi
push esi
push 0
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x53
jne 0x4157c4
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x415f74
mov ecx, dword [ebp - 0x14]
add edi, 4
movzx edx, byte [ecx + 0x175]
mov byte [ecx + 0x176], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x183], 0x20
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x175], al
jmp 0x4157c4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x415fd7
test byte [edx + 0x44], 2
je 0x415fb2
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x415fa5
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x51
jne 0x4157bb
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x51
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x41604e
mov ecx, dword [ebp - 0x14]
add edi, 4
movzx edx, byte [ecx + 0x171]
mov byte [ecx + 0x172], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x183], 0x10
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x171], al
mov eax, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x4157bb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4160b1
test byte [edx + 0x44], 2
je 0x41608c
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x41607f
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x3c
jne 0x4157b2
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x3c
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x416163
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x17e]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x17e], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x183], 8
mov eax, dword [ebp - 0x24]
cmp eax, 2
jne 0x416145
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x17e]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x17e], al
jmp 0x416152
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x17e], 0xfd
mov eax, dword [ebp - 0x30]
add edi, 4
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x4157b2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4161c6
test byte [edx + 0x44], 2
je 0x4161a1
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x416194
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x3b
jne 0x4157a9
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x3b
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x416265
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x16b]
mov byte [edx + 0x16c], al
mov ecx, dword [ebp - 0x14]
or byte [ecx + 0x183], 4
mov eax, dword [ebp - 0x24]
cmp eax, 2
je 0x41624a
cmp eax, 1
jne 0x416239
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0x27
jmp 0x416254
cmp eax, 3
jne 0x41624a
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0x22
jmp 0x416254
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0
mov eax, dword [ebp - 0x30]
add edi, 4
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x4157a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4162c8
test byte [edx + 0x44], 2
je 0x4162a3
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x416296
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x52
jne 0x4157a0
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x52
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x41633f
mov ecx, dword [ebp - 0x14]
add edi, 4
movzx edx, byte [ecx + 0x173]
mov byte [ecx + 0x174], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x183], 2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x173], al
mov eax, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x4157a0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4163a2
test byte [edx + 0x44], 2
je 0x41637d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x416370
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 6
jne 0x415797
push 3
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 6
push dword [edx]
push dword [edx + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x416440
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x17b]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x17b], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x183], 1
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x416425
cmp eax, 2
jne 0x416425
mov eax, dword [ebp - 0x14]
or byte [eax + 0x17b], 0x20
jmp 0x41642f
mov eax, dword [ebp - 0x14]
and byte [eax + 0x17b], 0xdf
mov eax, dword [ebp - 0x30]
add edi, 4
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x415797
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4164a3
test byte [edx + 0x44], 2
je 0x41647e
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x416471
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x4f
jne 0x41578e
mov eax, dword [ebp - 0x14]
test byte [eax + 0x17b], 4
jne 0x4165c6
test byte [eax + 0x179], 0x20
jne 0x416553
mov edx, dword [eax + 0x18]
test edx, edx
je 0x416603
test byte [edx + 0x44], 2
je 0x416529
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x416517
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x6d
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x6d
push edx
movzx ecx, byte [eax + 0x17c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x416622
test byte [edx + 0x44], 2
je 0x41659f
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x41658d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x6e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx edx, byte [eax + 0x17c]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
mov ecx, dword [edx]
add ecx, 0xffffffff
mov esi, dword [edx + 4]
adc esi, 0xffffffff
add edx, 8
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
xor edx, edx
mov esi, dword [ebp - 0x28]
mov ecx, dword [eax + 0xbc]
sub ecx, edx
jl 0x41663e
add edi, 4
jmp 0x41578e
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x6e
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4166ad
test byte [edx + 0x44], 2
je 0x416683
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x416671
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x6f
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x6f
push edx
movzx ecx, byte [eax + 0x17c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x6f
push edx
push edx
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x4e
jne 0x415785
add edi, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [ecx + 0xfc], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x30], eax
mov dword [ecx + 0x84], edx
jmp 0x415785
push eax
push 0x1f
push 0x101
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xf0], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4167ba
test byte [eax + 0x44], 2
je 0x416790
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41677e
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x26
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4167f3
mov eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jmp 0x416739
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x415a6c
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x28], eax
sub edx, eax
mov eax, dword [esi + 0x148]
test eax, eax
mov ecx, eax
jne 0x41681a
mov ecx, 0x20000
mov dword [ebp - 0x2c], edx
cmp edx, ecx
ja 0x41684c
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [esi + 0xec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x416847
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4168c4
test eax, eax
jne 0x416855
mov eax, 0x20000
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov ebx, edx
mov edi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push edi
push dword [esi + 0xec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41688c
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4168c4
mov eax, dword [esi + 0x148]
test eax, eax
mov ecx, dword [ebp - 0x20]
jne 0x41689e
mov eax, 0x20000
sub ebx, ecx
add edi, ecx
cmp ebx, eax
jae 0x4168af
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x4168b3
jmp 0x4168b7
test ebx, ebx
je 0x4168b7
test ecx, ecx
ja 0x416863
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], edx
cdq
add eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x40], ecx
adc edx, dword [esi + 0xcc]
add ecx, dword [esi + 0x100]
and byte [esi + 0x17d], 0xfb
mov dword [esi + 0x44], ecx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], edx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x41691e
mov esi, dword [ebp - 0x14]
jmp 0x415a35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf0], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x41699c
test byte [eax + 0x44], 2
je 0x416972
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x416960
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x26
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
mov eax, 0x26
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
mov eax, 0x2c
push eax
push eax
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x416a68
test byte [edx + 0x44], 2
je 0x416a3e
mov eax, 0x1f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x416a2c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x1f
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x1f
push edx
movzx ecx, byte [eax + 0x17c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x1f
push edx
push edx
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x416af6
test byte [edx + 0x44], 2
je 0x416acc
mov eax, 0x2f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x416aba
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov eax, 0x2f
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, 0x2f
push edx
movzx ecx, byte [eax + 0x17c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0x2f
push edx
push edx
push 1
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx ecx, byte [edx + 0x178]
mov edi, dword [ebp - 0x2c]
and ecx, 0xfffffffe
shr edi, 7
or ecx, edi
mov byte [edx + 0x178], cl
mov edi, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx edx, byte [edi + 0x178]
add ecx, ecx
and edx, 0xfffffffd
or edx, ecx
mov byte [edi + 0x178], dl
mov edi, eax
shr edi, 3
and edi, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
movzx ebx, byte [ecx + 0x178]
lea edx, [edi*4]
and ebx, 0xfffffffb
or ebx, edx
mov byte [ecx + 0x178], bl
mov ebx, eax
mov ecx, dword [ebp - 0x14]
shr ebx, 2
and ebx, 1
movzx edx, byte [ecx + 0x178]
shl ebx, 3
and edx, 0xfffffff7
or edx, ebx
mov byte [ecx + 0x178], dl
mov edx, eax
mov ebx, dword [ebp - 0x14]
shr edx, 6
and edx, 1
movzx ecx, byte [ebx + 0x178]
shl edx, 4
and ecx, 0xffffffef
or ecx, edx
mov byte [ebx + 0x178], cl
mov ecx, edi
mov ebx, dword [ebp - 0x14]
shl ecx, 5
shl edi, 3
movzx edx, byte [ebx + 0x178]
and edx, 0xffffffdf
or edx, ecx
mov byte [ebx + 0x178], dl
mov edx, eax
mov ecx, dword [ebp - 0x14]
shr edx, 4
and edx, 1
movzx ebx, byte [ecx + 0x181]
shl edx, 2
and ebx, 0xfffffffb
or ebx, edx
mov byte [ecx + 0x181], bl
mov edx, dword [ebp - 0x14]
shr eax, 5
and eax, 1
movzx ecx, byte [edx + 0x181]
and ecx, 0xfffffff7
or ecx, edi
mov edi, eax
mov byte [edx + 0x181], cl
mov ecx, dword [ebp - 0x14]
shl edi, 6
shl eax, 7
movzx edx, byte [ecx + 0x178]
and edx, 0xffffffbf
or edx, edi
mov byte [ecx + 0x178], dl
mov ecx, esi
mov edi, dword [ebp - 0x14]
shr ecx, 1
and ecx, 1
movzx ebx, byte [edi + 0x178]
and ebx, 0x7f
or ebx, eax
mov eax, esi
mov byte [edi + 0x178], bl
and eax, 1
mov edi, dword [ebp - 0x14]
shl ecx, 5
movzx edx, byte [edi + 0x179]
and edx, 0xfffffffe
or edx, eax
mov byte [edi + 0x179], dl
mov edi, esi
mov eax, dword [ebp - 0x14]
shr edi, 2
and edi, 3
movzx ebx, byte [eax + 0x181]
add edi, edi
and ebx, 0xffffffdf
or ebx, ecx
mov ecx, esi
mov byte [eax + 0x181], bl
mov eax, dword [ebp - 0x14]
shr ecx, 0xa
mov dword [ebp - 0x30], ecx
movzx edx, byte [eax + 0x179]
and edx, 0xfffffff9
or edx, edi
mov edi, esi
mov byte [eax + 0x179], dl
mov ebx, dword [ebp - 0x14]
shr edi, 9
and edi, 1
movzx eax, byte [ebx + 0x184]
shl edi, 3
and eax, 0xfffffff7
or eax, edi
mov byte [ebx + 0x184], al
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
movzx eax, byte [ecx + 0x184]
test al, 0x10
jne 0x416ce7
mov edx, dword [ebp - 0x30]
and eax, 0xffffffef
and edx, 1
shl edx, 4
or eax, edx
mov byte [ecx + 0x184], al
mov ecx, dword [ebp - 0x14]
mov eax, 1
push eax
push 4
push eax
push ecx
call fcn.0042d3a0
add esp, 0x10
test eax, eax
je 0x416d60
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x416d68
test byte [edx + 0x44], 2
je 0x416d3b
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x416d2e
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [ecx + 0x17c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0043da80
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
jmp 0x415869
push ecx
push eax
push eax
push 2
call fcn.00409370
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x416dac
cmp edx, 0x2b
jne 0x416d9e
mov byte [ecx + 5], 0
movzx eax, byte [esi + 0x17d]
and eax, 0xffffffbf
mov byte [esi + 0x17d], al
jmp 0x41567a
mov byte [ecx + 5], 0x24
movzx eax, byte [esi + 0x17d]
jmp 0x416d9e