Function at 0x455c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp edi, 0xfffffffb
je 0x45785a
push 5
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00480fe0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x455d11
movzx ecx, byte [ebp + 0x13]
lea edx, [ebp + 0x1c]
and ecx, 0x80
mov dword [ebp - 0x28], edx
shr ecx, 7
mov dword [ebp - 0x30], ecx
je 0x455cb1
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [edx - 4]
jmp 0x455cb3
xor eax, eax
mov edx, eax
shr edx, 0xf
movzx ecx, byte [ebp + 0x10]
and edx, 1
and ecx, 1
mov dword [ebp - 0x2c], edx
or ecx, edx
je 0x455d00
cmp dword [ebp - 0x30], 0
je 0x455cf5
test al, 0x10
je 0x455cf5
mov edx, dword [ebp - 0x28]
add edx, 3
and edx, 0xfffffffc
mov ecx, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [edx]
jne 0x455cf5
cmp byte [ecx + 2], 0x4e
je 0x456a01
movzx eax, bx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push edi
push 2
push ebx
call fcn.0047e600
add esp, 0x10
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0x1a2], 0x40
je 0x455e00
mov edx, dword [ecx + 0x94]
test edx, edx
je 0x455e00
cmp byte [edx + 0x1e], 0
je 0x455e00
movzx eax, word [ecx + 0x18a]
test eax, eax
jg 0x455e00
mov ebx, dword [edx + 0xc]
cmp ebx, ecx
je 0x455e00
movzx eax, byte [ebx + 0x1a5]
test al, 0x40
je 0x455d6b
cmp byte [ebx + 0x18e], 1
je 0x457823
push ebx
call fcn.00498b90
add esp, 4
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x94]
test edx, edx
je 0x455d85
mov byte [edx + 0x1e], 0
test eax, eax
je 0x455de8
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x456b00
test byte [edx + 0x44], 2
je 0x455dba
mov dword [edx + 0x38], eax
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], eax
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x455db2
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ebx + 0x1ae]
and eax, 0x10
movzx edx, byte [ebx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ebx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
add dword [ebx + 0xb8], 1
adc dword [ebx + 0xbc], 0
and byte [ebx + 0x1a7], 0xfb
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x10]
mov ebx, eax
movzx edx, byte [ecx + 0x1a4]
and ebx, 1
and edx, 0xfffffffe
and eax, 2
or edx, ebx
mov byte [ecx + 0x1a4], dl
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x12]
shr ecx, 5
and ecx, 1
movzx edx, byte [ebx + 0x1a4]
shl ecx, 2
and edx, 0xfffffffb
or edx, ecx
mov byte [ebx + 0x1a4], dl
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + 0x1a4]
and ecx, 0xfffffffd
or ecx, eax
mov byte [edx + 0x1a4], cl
movzx ecx, byte [ebp + 0x13]
mov eax, ecx
mov edx, dword [ebp - 0x14]
shr eax, 1
and eax, 1
movzx ebx, byte [edx + 0x1a7]
shl eax, 3
and ebx, 0xfffffff7
or ebx, eax
mov byte [edx + 0x1a7], bl
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x9c], ebx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x114], ebx
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ad], 0xf7
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0xd8]
mov eax, dword [edx + 0xdc]
mov dword [edx + 0xd0], ebx
mov dword [edx + 0xd4], eax
mov eax, dword [ebp - 0x14]
test ecx, 0x80
je 0x456024
lea ecx, [ebp + 0x1f]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
mov ebx, dword [edx - 4]
test eax, eax
je 0x456026
test bl, 0x20
je 0x455ee3
or byte [eax + 0x1ab], 0x40
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ad], 0xbf
test ebx, 0x2000
je 0x455efc
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ad], 0x40
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ad], 0x7f
test ebx, 0x4000
je 0x455f18
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ad], 0x80
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ae], 0xef
test ebx, 0x8000
je 0x455f34
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ae], 0x10
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ae], 0xdf
test ebx, 0x10000
je 0x455f50
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ae], 0x20
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ae], 0xbf
test ebx, 0x20000
je 0x455f6c
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ae], 0x40
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1ae], 0x7f
test ebx, 0x40000
je 0x455f88
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ae], 0x80
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1af], 0xfe
test ebx, 0x80000
je 0x455fa4
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1af], 1
test bl, 0x10
je 0x45601f
add ecx, 7
and ecx, 0xfffffffc
mov edx, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
cmp byte [edx], 0x38
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
je 0x4573ac
cmp byte [edx], 0xb
je 0x4570f6
cmp byte [edx], 0x38
je 0x456fef
cmp byte [edx], 0x38
je 0x456f15
cmp byte [edx], 0x38
je 0x456e13
cmp byte [edx], 0x38
je 0x456cc5
cmp byte [edx], 0x38
je 0x456beb
cmp byte [edx], 0x38
je 0x456b15
cmp byte [edx], 1
je 0x45601f
push 0x3cb
push str.for_wseq_lis.c
push 2
push 8
call fcn.0047e600
add esp, 0x10
mov eax, dword [ebp - 0x14]
jmp 0x456026
xor ebx, ebx
mov dword [eax + 0x150], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x456042
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x45604f
mov dword [eax + 0x154], 0
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a1], 0x20
jne 0x45639a
cmp dword [eax + 0x124], 0xfffffffb
je 0x45639a
mov dword [ebp - 0x2c], edi
movzx edx, byte [eax + 0x1a0]
movzx edi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr edi, 7
or edx, edi
mov byte [eax + 0x1a0], dl
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
movzx esi, byte [ebp + 0x12]
shr esi, 2
and esi, 1
movzx eax, byte [edi + 0x1a0]
add esi, esi
and eax, 0xfffffffd
or eax, esi
mov byte [edi + 0x1a0], al
movzx edi, byte [ebp + 0x13]
mov esi, edi
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + 0x1a0]
lea eax, [esi*4]
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x1a0], cl
mov ecx, edi
mov edx, dword [ebp - 0x14]
shr ecx, 2
and ecx, 1
movzx eax, byte [edx + 0x1a0]
shl ecx, 3
and eax, 0xfffffff7
or eax, ecx
mov byte [edx + 0x1a0], al
mov eax, edi
mov ecx, dword [ebp - 0x14]
shr eax, 6
and eax, 1
movzx edx, byte [ecx + 0x1a0]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [ecx + 0x1a0], dl
mov edx, esi
mov ecx, dword [ebp - 0x14]
shl edx, 5
shl esi, 3
movzx eax, byte [ecx + 0x1a0]
and eax, 0xffffffdf
or eax, edx
mov byte [ecx + 0x1a0], al
mov eax, edi
mov edx, dword [ebp - 0x14]
shr eax, 4
and eax, 1
movzx ecx, byte [edx + 0x1a9]
shl eax, 2
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x1a9], cl
mov eax, dword [ebp - 0x14]
shr edi, 5
and edi, 1
movzx edx, byte [eax + 0x1a9]
and edx, 0xfffffff7
or edx, esi
mov esi, edi
mov byte [eax + 0x1a9], dl
mov edx, dword [ebp - 0x14]
shl esi, 6
shl edi, 7
movzx eax, byte [edx + 0x1a0]
and eax, 0xffffffbf
or eax, esi
mov byte [edx + 0x1a0], al
mov edx, ebx
mov esi, dword [ebp - 0x14]
shr edx, 1
and edx, 1
movzx ecx, byte [esi + 0x1a0]
and ecx, 0x7f
or ecx, edi
mov edi, ebx
mov byte [esi + 0x1a0], cl
and edi, 1
mov esi, dword [ebp - 0x14]
mov ecx, ebx
shl edx, 5
shr ecx, 2
movzx eax, byte [esi + 0x1a1]
and ecx, 3
and eax, 0xfffffffe
add ecx, ecx
or eax, edi
mov byte [esi + 0x1a1], al
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + 0x1a9]
and eax, 0xffffffdf
or eax, edx
mov edx, ebx
mov byte [edi + 0x1a9], al
mov edi, ebx
mov esi, dword [ebp - 0x14]
shr edx, 9
and edx, 1
movzx eax, byte [esi + 0x1a1]
and eax, 0xfffffff9
or eax, ecx
mov byte [esi + 0x1a1], al
mov esi, ebx
mov ecx, dword [ebp - 0x14]
and esi, 0xffffff80
shl edx, 3
shr edi, 0xa
movzx eax, byte [ecx + 0x1ac]
and eax, 0xfffffff7
or eax, edx
mov byte [ecx + 0x1ac], al
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + 0x1ab]
and eax, 0x7f
or eax, esi
mov esi, ebx
mov byte [edi + 0x1ab], al
mov eax, ebx
mov ecx, dword [ebp - 0x14]
mov edi, ebx
shr esi, 7
and esi, 0xffffff80
movzx edx, byte [ecx + 0x1ad]
and edx, 0x7f
or edx, esi
mov byte [ecx + 0x1ad], dl
mov esi, dword [ebp - 0x14]
shr eax, 0xf
and eax, 1
movzx edx, byte [esi + 0x1ae]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [esi + 0x1ae], dl
mov esi, dword [ebp - 0x14]
shr edi, 0x10
and edi, 1
movzx ecx, byte [esi + 0x1ae]
shl edi, 5
and ecx, 0xffffffdf
or ecx, edi
mov edi, ebx
mov byte [esi + 0x1ae], cl
mov esi, ebx
mov edx, dword [ebp - 0x14]
shr edi, 0x11
and edi, 1
movzx eax, byte [edx + 0x1ae]
shl edi, 6
and eax, 0xffffffbf
or eax, edi
mov edi, ebx
mov byte [edx + 0x1ae], al
mov ecx, dword [ebp - 0x14]
shr esi, 0xb
and esi, 0xffffff80
movzx eax, byte [ecx + 0x1ae]
and eax, 0x7f
or eax, esi
mov byte [ecx + 0x1ae], al
mov edx, dword [ebp - 0x14]
shr edi, 0x13
and edi, 1
movzx eax, byte [edx + 0x1af]
and eax, 0xfffffffe
or eax, edi
mov byte [edx + 0x1af], al
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x1ac]
btr eax, 4
jb 0x456316
mov ecx, dword [ebp - 0x30]
and ecx, 1
shl ecx, 4
or eax, ecx
mov byte [edx + 0x1ac], al
mov edx, dword [ebp - 0x14]
mov eax, 1
push eax
push 4
push eax
push edx
call fcn.00450370
add esp, 0x10
test eax, eax
je 0x456397
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4573eb
test byte [edx + 0x44], 2
je 0x456369
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456361
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1ac], 0x10
je 0x4563c1
mov edx, dword [eax + 0x10c]
mov dword [eax + 0x118], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10c]
mov dword [ecx + 0x184], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a1], 0x40
jne 0x457796
movzx ecx, byte [eax + 0x1a3]
test cl, 0x10
jne 0x457709
test byte [eax + 0x1a2], 0x40
jne 0x45647d
cmp edi, 0xfffffffb
je 0x45647d
test eax, eax
je 0x456403
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x45647d
mov edx, dword [eax + 0x20]
test edx, edx
je 0x457400
test byte [edx + 0x44], 2
je 0x45644a
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x45643d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x101
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x101
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test cl, 8
je 0x456509
test byte [eax + 0x1a0], 4
jne 0x456509
mov edx, dword [eax + 0x20]
test edx, edx
je 0x45741a
test byte [edx + 0x44], 2
je 0x4564d6
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4564c9
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x103
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x103
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edi, dword [eax + 0x74]
mov eax, 0x28
mov dword [edi + 0x28], 0
xor edx, edx
mov dword [edi + eax - 4], edx
mov dword [edi + eax - 8], edx
mov dword [edi + eax - 0xc], edx
mov dword [edi + eax - 0x10], edx
mov dword [edi + eax - 0x14], edx
sub eax, 0x14
jne 0x45651a
shr ebx, 0xc
and ebx, 1
movzx edx, byte [edi + 0x2b]
shl ebx, 4
and edx, 0xffffffef
mov eax, dword [ebp - 0x14]
or edx, ebx
mov dword [edi], eax
mov byte [edi + 0x2b], dl
mov ebx, dword [ebp - 0x14]
test byte [ebx + 0x1a3], 4
je 0x45668b
mov edx, dword [ebx + 0xd0]
mov eax, dword [ebx + 0xd4]
sub edx, dword [ebx + 0xd8]
sub eax, dword [ebx + 0xdc]
or edx, eax
je 0x45664f
test byte [ebx + 0x1a5], 4
jne 0x4574f8
push 0
mov edx, dword [ebx + 0xd0]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebx + 0xd4]
push edx
push dword [ebx + 0x104]
mov dword [ebp - 0x1c], edx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
je 0x4574d3
mov edx, dword [ebp - 0x18]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x457434
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x4565e4
mov byte [eax + 0x1e], 0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
mov dword [ebx + 0xe0], edx
mov dword [ebx + 0xe4], ecx
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0xd0]
mov eax, dword [edx + 0xd4]
mov dword [edx + 0xd8], ebx
mov dword [edx + 0xdc], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xe8], eax
mov dword [ecx + 0xec], eax
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0xe8]
mov dword [edx + 0x110], ebx
mov ecx, dword [ebp - 0x14]
and byte [ecx + 0x1a5], 0xfd
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0xb0], eax
mov ebx, dword [ebp - 0x14]
jmp 0x456681
mov edx, dword [ebx + 0xe8]
mov eax, edx
mov ecx, dword [ebx + 0xec]
or eax, ecx
je 0x456681
add dword [ebx + 0xe0], edx
adc dword [ebx + 0xe4], ecx
xor eax, eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xe8], eax
mov dword [edx + 0xec], eax
mov ebx, dword [ebp - 0x14]
or byte [ebx + 0x1a5], 8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45669e
movzx eax, word [ebx + 0x18a]
test eax, eax
jg 0x456954
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x4576d1
cmp byte [eax + 0x1e], 0
jne 0x456954
test ebx, ebx
je 0x4566c9
movzx eax, word [ebx + 0x18a]
test eax, eax
jg 0x45690a
push 0
push ebx
call fcn.0049a0d0
add esp, 8
test eax, eax
je 0x456746
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x45769d
test byte [eax + 0x44], 2
je 0x456713
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x3c], edx
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x456706
xor edx, edx
mov dword [eax + 4], edx
mov dword [ebx + 0x7c], edx
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [ebx + 0x1ae]
mov eax, 0x26
and edx, 0x10
movzx ecx, byte [ebx + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movsx eax, byte [ebx + 0x18c]
mov dword [ebp - 0x2c], eax
cmp eax, 8
ja 0x456873
movzx eax, byte [eax + 0x4fe794]
add eax, 0x456767
jmp eax
push 0x46d
push str.for_wseq_lis.c
push 2
push 8
call fcn.0047e600
add esp, 0x10
movzx eax, byte [ebx + 0x1a0]
mov ecx, dword [ebx + 0x50]
test al, 4
je 0x4568b2
test byte [ebx + 0x1a2], 0x40
je 0x4568b2
test byte [ebx + 0x1a3], 8
je 0x4568b2
cmp byte [ebx + 0x18c], 1
je 0x4568fd
movsx eax, byte [ebx + 0x18e]
cmp eax, 2
jne 0x4568d9
movsx eax, byte [ebx + 0x18c]
cmp eax, 7
je 0x4568fd
cmp eax, 6
je 0x4568fd
cmp eax, 8
je 0x4568fd
dec dword [ebx + 0x58]
jmp 0x4568fd
cmp eax, 1
jne 0x4568fd
movsx eax, byte [ebx + 0x18c]
cmp eax, 7
je 0x4568f7
cmp eax, 6
je 0x4568f7
cmp eax, 8
je 0x4568f7
dec dword [ebx + 0x58]
add ecx, 5
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], 0
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0x60], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x54]
test edx, edx
je 0x456931
push dword [eax + 0x118]
push 0x20
push edx
call fcn.004c6960
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x45696f
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x456973
push dword [eax + 0x118]
push 0x20
push dword [eax + 0x4c]
call fcn.004c6960
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x45696f
mov dword [ebx + 0x60], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x94]
test edx, edx
je 0x456973
mov byte [edx + 0x1e], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45697e
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x456985
or byte [edi + 0x2a], 0x10
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a0], 2
je 0x4569e1
mov edx, dword [eax + 0x94]
test edx, edx
je 0x4576ed
cmp byte [edx + 0x1f], 0
je 0x4569e1
test eax, eax
je 0x4569b1
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x4569e1
push dword [eax + 0x104]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x4569e1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
test eax, eax
je 0x4569d6
mov byte [eax + 0x1f], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
call fcn.0049a0d0
add esp, 8
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push esi
call fcn.00457a00
add esp, 0xc
mov edx, dword [edi + 0x14]
test edx, edx
je 0x4569f9
mov eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
lea edx, [ebp - 0x30]
push edx
push edi
call fcn.00482520
add esp, 8
test eax, eax
jne 0x455cf5
mov edi, dword [ebp - 0x30]
xor edx, edx
mov dword [edi + 0x9c], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x30]
and byte [edx + 0x1ad], 0xf7
mov edi, dword [ebp - 0x30]
movzx edx, byte [ebp + 0x10]
and edx, 1
movzx ecx, byte [edi + 0x1a4]
and ecx, 0xfffffffe
or ecx, edx
mov byte [edi + 0x1a4], cl
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
shl ecx, 4
movzx edx, byte [edi + 0x1ae]
and edx, 0xffffffef
or edx, ecx
mov byte [edi + 0x1ae], dl
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x30]
mov esi, dword [esi + 4]
mov dword [edx + 0x9c], esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456aeb
test byte [edx + 0x44], 2
je 0x456abd
mov dword [edx + 0x38], ebx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], ebx
mov esi, dword [ebp - 0x30]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x456ab3
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x7c], ecx
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
push ebx
shr eax, 1
and edx, 7
push ebx
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push ebx
push ebx
push 0
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x53
jne 0x456004
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 0x53
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x456b6f
mov ecx, dword [ebp - 0x14]
add edx, 4
movzx eax, byte [ecx + 0x19b]
mov byte [ecx + 0x19c], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 0x20
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov byte [ecx + 0x19b], al
jmp 0x456004
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456bd6
test byte [edx + 0x44], 2
je 0x456ba8
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456ba0
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x51
jne 0x455ffb
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 0x51
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x456c49
mov ecx, dword [ebp - 0x14]
add edx, 4
add dword [ebp - 0x28], 8
movzx eax, byte [ecx + 0x197]
mov byte [ecx + 0x198], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 0x10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov byte [ecx + 0x197], al
jmp 0x455ffb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456cb0
test byte [edx + 0x44], 2
je 0x456c82
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456c7a
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x3c
jne 0x455ff2
test ebx, 0x80000
je 0x456ce1
test ebx, 0x20000
jne 0x456ce7
jmp 0x456cfc
test byte [ebp + 0x12], 4
jne 0x456cfc
push 0
push 0x2fc
mov dword [ebp - 0x30], edx
call fcn.0047e600
mov edx, dword [ebp - 0x30]
add esp, 8
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 0x3c
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x456d97
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebx + 0x1a6]
mov eax, ecx
shr ecx, 1
and eax, 0xfffffffb
and ecx, 1
shl ecx, 2
or eax, ecx
mov byte [ebx + 0x1a6], al
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
or byte [eax + 0x1ab], 8
mov eax, dword [ebp - 0x20]
cmp eax, 2
jne 0x456d7e
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx eax, byte [ebx + 0x1a6]
add ecx, ecx
and eax, 0xfffffffd
or eax, ecx
mov byte [ebx + 0x1a6], al
mov ebx, dword [ebp - 0x2c]
jmp 0x456d8b
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1a6], 0xfd
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x455ff2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456dfe
test byte [edx + 0x44], 2
je 0x456dd0
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456dc8
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x3b
jne 0x455fe9
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 0x3b
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x456e99
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x191]
mov byte [ecx + 0x192], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 4
mov eax, dword [ebp - 0x20]
cmp eax, 2
je 0x456e83
cmp eax, 1
jne 0x456e72
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0x27
jmp 0x456e8d
cmp eax, 3
jne 0x456e83
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0x22
jmp 0x456e8d
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x455fe9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456f00
test byte [edx + 0x44], 2
je 0x456ed2
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456eca
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x52
jne 0x455fe0
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 0x52
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x456f73
mov ecx, dword [ebp - 0x14]
add edx, 4
add dword [ebp - 0x28], 8
movzx eax, byte [ecx + 0x199]
mov byte [ecx + 0x19a], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov byte [ecx + 0x199], al
jmp 0x455fe0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x456fda
test byte [edx + 0x44], 2
je 0x456fac
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x456fa4
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 6
jne 0x455fd7
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 6
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.0044f1c0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x45707a
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebx + 0x1a3]
mov eax, ecx
shr ecx, 5
and eax, 0xffffffbf
and ecx, 1
shl ecx, 6
or eax, ecx
mov byte [ebx + 0x1a3], al
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
or byte [eax + 0x1ab], 1
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x457064
cmp eax, 2
jne 0x457064
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1a3], 0x20
jmp 0x45706e
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1a3], 0xdf
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x455fd7
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4570e1
test byte [edx + 0x44], 2
je 0x4570b3
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x4570ab
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x4f
jne 0x455fce
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a3], 4
jne 0x457207
test byte [eax + 0x1a1], 0x20
jne 0x457190
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4572d4
test byte [edx + 0x44], 2
je 0x45715d
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x457150
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6d
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x6d
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4572ee
test byte [edx + 0x44], 2
je 0x4571d7
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4571ca
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x6e
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test eax, eax
je 0x457216
movzx ecx, word [eax + 0x18a]
test ecx, ecx
jg 0x45725d
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [edx]
add ecx, 0xffffffff
mov ebx, dword [edx + 4]
adc ebx, 0xffffffff
add edx, 8
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
xor edx, edx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xd4]
sub ecx, edx
mov edx, dword [ebp - 0x30]
jl 0x457305
add edx, 4
jmp 0x455fce
mov edx, dword [eax + 0x20]
test edx, edx
je 0x457392
test byte [edx + 0x44], 2
je 0x4572a1
mov eax, 0x10f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x457294
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x10f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x10f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x6d
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x6e
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [eax + 0x20]
test edx, edx
je 0x457378
test byte [edx + 0x44], 2
je 0x457345
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x457338
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x6f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x6f
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x10f
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x4e
jne 0x455fc5
add edx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebx + 0x114], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x9c], ecx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
and byte [ecx + 0x1ad], 0xf7
jmp 0x455fc5
push ecx
push eax
push eax
push 2
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x101
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x108], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4574b9
test byte [eax + 0x44], 2
je 0x457486
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x457479
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [ebx + 0x1ae]
mov eax, 0x26
and edx, 0x10
movzx ecx, byte [ebx + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
mov eax, 0x26
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4574ed
mov eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jmp 0x457434
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x4565bf
mov edx, dword [ebx + 0x168]
test edx, edx
mov eax, dword [ebx + 0x4c]
jne 0x45750a
mov edx, 0x20000
mov ecx, dword [ebx + 0x54]
sub ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, edx
ja 0x45753f
push 0
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x28]
push eax
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x45753a
mov eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4575a7
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
mov edi, eax
mov dword [ebp - 0x1c], esi
mov esi, ecx
push 0
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x2c]
push edi
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x457575
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0xffffffff
jmp 0x4575a7
mov edx, dword [ebx + 0x168]
test edx, edx
mov eax, dword [ebp - 0x24]
jne 0x457587
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x457592
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x45759a
test eax, eax
ja 0x45754c
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebx + 0xc8], edx
mov dword [ebx + 0xcc], edx
cdq
add eax, dword [ebx + 0xe0]
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x54], ecx
adc edx, dword [ebx + 0xe4]
add ecx, dword [ebx + 0x118]
and byte [ebx + 0x1a5], 0xfb
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], edx
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], edx
cmp dword [ebp - 0x2c], 0xffffffff
je 0x457601
mov ebx, dword [ebp - 0x14]
jmp 0x45658a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x108], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x457683
test byte [eax + 0x44], 2
je 0x457650
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x457643
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [ebx + 0x1ae]
mov eax, 0x26
and edx, 0x10
movzx ecx, byte [ebx + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
mov eax, 0x26
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
mov eax, 0x26
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test ebx, ebx
je 0x4566b6
movzx eax, word [ebx + 0x18a]
test eax, eax
jle 0x4566b6
jmp 0x456954
test eax, eax
je 0x4569e1
movzx edx, word [eax + 0x18a]
test edx, edx
jle 0x4569e1
jmp 0x4569a2
mov edx, dword [eax + 0x20]
test edx, edx
je 0x45777c
test byte [edx + 0x44], 2
je 0x457749
mov eax, 0x1f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x45773c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x1f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x1f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x1f
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [eax + 0x20]
test edx, edx
je 0x457809
test byte [edx + 0x44], 2
je 0x4577d6
mov eax, 0x2f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4577c9
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x2f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x2f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x2f
push eax
push eax
push 1
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebx + 0x4c]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x45784d
cmp edx, 0x2b
jne 0x45783f
mov byte [ecx + 5], 0
movzx eax, byte [ebx + 0x1a5]
and eax, 0xffffffbf
mov byte [ebx + 0x1a5], al
jmp 0x455d6b
mov byte [ecx + 5], 0x24
movzx eax, byte [ebx + 0x1a5]
jmp 0x45783f
push 5
push esi
lea eax, [ebp - 0x14]
push eax
push 0xfffffffffffffffa
call fcn.00480fe0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x455d11
movzx ecx, byte [ebp + 0x13]
lea edx, [ebp + 0x1c]
and ecx, 0x80
mov dword [ebp - 0x28], edx
shr ecx, 7
mov dword [ebp - 0x30], ecx
je 0x45789e
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [edx - 4]
jmp 0x4578a0
xor eax, eax
mov edx, eax
shr edx, 0xf
movzx ecx, byte [ebp + 0x10]
and edx, 1
and ecx, 1
mov dword [ebp - 0x2c], edx
or ecx, edx
je 0x4578e9
cmp dword [ebp - 0x30], 0
je 0x4578de
test al, 0x10
je 0x4578de
mov edx, dword [ebp - 0x28]
add edx, 3
and edx, 0xfffffffc
mov ecx, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [edx]
jne 0x4578de
cmp byte [ecx + 2], 0x4e
je 0x4578fd
movzx eax, bx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push 0xfffffffffffffffb
push 2
push ebx
call fcn.0047e600
jmp 0x455d0e
lea edx, [ebp - 0x30]
push edx
push 0xfffffffffffffffb
call fcn.00482520
add esp, 8
test eax, eax
jne 0x4578de
mov edi, dword [ebp - 0x30]
xor edx, edx
mov dword [edi + 0x9c], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x30]
and byte [edx + 0x1ad], 0xf7
mov edi, dword [ebp - 0x30]
movzx edx, byte [ebp + 0x10]
and edx, 1
movzx ecx, byte [edi + 0x1a4]
and ecx, 0xfffffffe
or ecx, edx
mov byte [edi + 0x1a4], cl
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
shl ecx, 4
movzx edx, byte [edi + 0x1ae]
and edx, 0xffffffef
or edx, ecx
mov byte [edi + 0x1ae], dl
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x30]
mov esi, dword [esi + 4]
mov dword [edx + 0x9c], esi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4579e4
test byte [edx + 0x44], 2
je 0x4579b6
mov dword [edx + 0x38], ebx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], ebx
mov esi, dword [ebp - 0x30]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x4579ac
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x7c], ecx
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
push ebx
shr eax, 1
and edx, 7
push ebx
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.00486b00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push ebx
push ebx
push 0
call fcn.0047d070
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret