Function at 0x4105c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
lea edx, [ebp - 0x14]
push 5
mov eax, dword [ebp + 8]
push eax
push edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
call fcn.00432c10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410652
test byte [ebp + 0x10], 1
je 0x410641
movzx edx, byte [ebp + 0x13]
test edx, 0x80
je 0x410631
lea ecx, [ebp + 0x23]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
test byte [edx - 4], 0x10
je 0x410631
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 0x410631
cmp byte [edx + 2], 0x4e
je 0x4110fd
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 eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0x84], edx
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov dword [ecx + 0xfc], edx
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0xc0]
mov esi, dword [edi + 0xc4]
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], esi
je 0x410729
lea ecx, [ebp + 0x23]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
mov ebx, dword [edx - 4]
test bl, 0x20
je 0x4106ab
mov edx, dword [ebp - 0x14]
or byte [edx + 0x183], 0x40
test bl, 0x10
je 0x41072b
add ecx, 7
and ecx, 0xfffffffc
mov esi, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
cmp byte [esi], 0x38
mov edi, dword [ecx]
je 0x41198e
cmp byte [esi], 0xb
je 0x41177f
cmp byte [esi], 0x38
je 0x41167b
cmp byte [esi], 0x38
je 0x4115aa
cmp byte [esi], 0x38
je 0x4114b1
cmp byte [esi], 0x38
je 0x411393
cmp byte [esi], 0x38
je 0x4112c2
cmp byte [esi], 0x38
je 0x4111f4
cmp byte [esi], 1
je 0x410723
push 0x1e3
push str.for_wseq_fmt.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
movzx eax, byte [ebp + 0x13]
jmp 0x41072b
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebp + 0x10]
mov edi, esi
and edi, 1
movzx edx, byte [ecx + 0x17c]
and edx, 0xfffffffe
or edx, edi
mov byte [ecx + 0x17c], dl
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], esi
and esi, 2
movzx edi, byte [ebp + 0x12]
movzx ecx, byte [edx + 0x17c]
and ecx, 0xfffffffd
or ecx, esi
mov esi, eax
mov byte [edx + 0x17c], cl
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1bc], edi
shr edi, 1
movzx edx, byte [ecx + 0x17e]
and edi, 0xffffffe0
and edx, 0xffffff9f
or edx, edi
mov edi, eax
mov byte [ecx + 0x17e], dl
mov edx, dword [ebp - 0x14]
shl esi, 7
shr edi, 1
movzx ecx, byte [edx + 0x17e]
and edi, 1
and ecx, 0x7f
or ecx, esi
xor esi, esi
mov byte [edx + 0x17e], cl
mov ecx, dword [ebp - 0x14]
shl edi, 3
movzx edx, byte [ecx + 0x17f]
and edx, 0xfffffff7
or edx, edi
mov byte [ecx + 0x17f], dl
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x130], esi
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x138], esi
mov edx, dword [ebp - 0x14]
test byte [edx + 0x179], 0x20
je 0x411d17
test byte [edx + 0x179], 0x40
je 0x410864
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4119ba
test byte [eax + 0x44], 2
je 0x41083a
mov edx, 0x2f
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 0x410828
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 eax, 0x2f
push eax
movzx ecx, byte [edx + 0x17c]
push eax
and ecx, 7
push ecx
push 0xffffffffffffffff
push edx
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 byte [edx + 0x17a], 0x40
jne 0x4108e3
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4119d9
test byte [eax + 0x44], 2
je 0x4108b9
mov dword [eax + 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 0x4108a7
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 eax, byte [edx + 0x17c]
push 0x101
and eax, 7
push eax
push 0xffffffffffffffff
push edx
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 byte [edx + 0x17b], 8
je 0x41097a
test byte [edx + 0x178], 4
je 0x410904
je 0x41097a
cmp byte [edx + 0x168], 1
jne 0x41097a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4119f8
test byte [eax + 0x44], 2
je 0x410950
mov dword [eax + 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 0x41093e
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 eax, byte [edx + 0x17c]
push 0x103
and eax, 7
push eax
push 0xffffffffffffffff
push edx
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 0xac
push 0
mov esi, dword [edx + 0x58]
push esi
call fcn.004cda30
add esp, 0xc
shr ebx, 8
and ebx, 1
movzx eax, byte [esi + 0xa9]
shl ebx, 3
and eax, 0xfffffff7
mov edi, dword [ebp - 0x14]
or eax, ebx
mov dword [esi], edi
mov byte [esi + 0xa9], al
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x175]
test eax, eax
je 0x410a10
cmp eax, 1
je 0x4109fa
cmp eax, 2
jne 0x4109dd
movzx eax, byte [esi + 0xa4]
or eax, 4
and eax, 0xffffffe7
mov byte [esi + 0xa4], al
mov edx, dword [ebp - 0x14]
jmp 0x410a10
cmp eax, 3
jne 0x410a10
movzx eax, byte [esi + 0xa4]
and eax, 0xffffffeb
or eax, 8
mov byte [esi + 0xa4], al
mov edx, dword [ebp - 0x14]
jmp 0x410a10
movzx eax, byte [esi + 0xa4]
and eax, 0xfffffff3
or eax, 0x10
mov byte [esi + 0xa4], al
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x171]
test eax, eax
je case.default.0x410a21
dec eax
cmp eax, 4
ja case.default.0x410a21
jmp dword [eax*4 + 0x4e9b6c]
movzx eax, byte [esi + 0xa8]
and eax, 0xffffffc3
or eax, 0x40
mov byte [esi + 0xa8], al
jmp case.default.0x410a21
movzx eax, byte [esi + 0xa8]
and eax, 0xffffffa3
or eax, 0x20
mov byte [esi + 0xa8], al
jmp case.default.0x410a21
movzx eax, byte [esi + 0xa8]
and eax, 0xffffff93
or eax, 0x10
mov byte [esi + 0xa8], al
jmp case.default.0x410a21
movzx eax, byte [esi + 0xa8]
and eax, 0xffffff8b
or eax, 8
mov byte [esi + 0xa8], al
jmp case.default.0x410a21
movzx eax, byte [esi + 0xa8]
or eax, 4
and eax, 0xffffff87
mov byte [esi + 0xa8], al
test byte [ebp + 0x10], 8
je 0x410b41
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x17c]
test al, 1
jne 0x410ab5
test al, 2
jne 0x410ab5
not eax
and eax, 4
shr eax, 2
jmp 0x410ab7
xor eax, eax
push eax
lea edx, [ebp - 0x18]
push edx
push dword [ebp + 0x1c]
call fcn.0043df50
add esp, 0xc
test eax, eax
je 0x410b32
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411a17
test byte [edx + 0x44], 2
je 0x410b0d
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 0x410b00
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 eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
or byte [esi + 0xa7], 2
jmp 0x410b47
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov ebx, dword [ebp - 0x14]
test byte [ebx + 0x17b], 4
je 0x410c4b
mov edx, dword [ebx + 0xb8]
mov eax, dword [ebx + 0xbc]
sub edx, dword [ebx + 0xc0]
sub eax, dword [ebx + 0xc4]
or edx, eax
je 0x410c4b
test byte [ebx + 0x17d], 4
jne 0x411af6
push 0
mov ecx, dword [ebx + 0xec]
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebx + 0xb8]
mov ebx, dword [ebx + 0xbc]
push edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 0xffffffff
je 0x411ad1
mov edx, dword [ebp - 0x20]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x411a31
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xbc]
mov dword [ecx + 0xc0], eax
mov dword [ecx + 0xc4], edx
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0xb8]
mov esi, dword [edi + 0xbc]
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], esi
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xd0], esi
mov dword [eax + 0xd4], esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xd0]
mov dword [ecx + 0xf8], edx
mov ebx, dword [ebp - 0x14]
and byte [ebx + 0x17d], 0xfd
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x98], esi
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x410c5c
mov byte [eax + 0x1e], 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
jmp 0x410c4e
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x410c5c
cmp byte [eax + 0x1e], 0
jne 0x410ece
movzx eax, word [ebx + 0x164]
test eax, eax
jg 0x410ea4
push 0
push ebx
call fcn.00437060
add esp, 8
test eax, eax
je 0x410ce4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x411cbf
test byte [eax + 0x44], 2
je 0x410cba
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x410ca8
xor edx, edx
mov dword [eax + 4], edx
mov dword [ebx + 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 [ebx + 0x17c]
push eax
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
movsx eax, byte [ebx + 0x166]
lea edx, [eax - 1]
cmp edx, 7
ja case.default.0x410cf7
jmp dword [edx*4 + 0x4e9b80]
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x410d08
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0x3c], ecx
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x44], edx
movzx edx, byte [ebx + 0x178]
jmp 0x410e2c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x411cde
test byte [eax + 0x44], 2
je 0x410d64
mov edx, 0x2c
mov dword [eax + 0x38], edx
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x410d52
xor edx, edx
mov dword [eax + 4], edx
mov dword [ebx + 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 [ebx + 0x17c]
push eax
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
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x410d9a
add ecx, 4
jmp 0x410da0
mov ecx, dword [ebx + 0x38]
add ecx, 4
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0x3c], ecx
lea edx, [ecx + eax - 8]
mov dword [ebx + 0x44], edx
movzx edx, byte [ebx + 0x178]
jmp 0x410e2c
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x410dc3
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x100]
mov dword [ebp - 0x1c0], edx
mov dword [ebx + 0x3c], ecx
lea esi, [ecx + edx]
movzx edx, byte [ebx + 0x178]
test dl, 4
je 0x410df8
test byte [ebx + 0x17a], 0x40
je 0x410df8
test byte [ebx + 0x17b], 8
je 0x410df8
cmp eax, 1
je 0x410dfd
mov dword [ebx + 0x44], esi
jmp 0x410e2c
mov eax, dword [ebp - 0x1c0]
lea esi, [ecx + eax - 2]
mov dword [ebx + 0x44], esi
jmp 0x410e2c
push 0x2cb
push str.for_wseq_fmt.c
push 2
push 8
call fcn.0040b430
add esp, 0x10
movzx edx, byte [ebx + 0x178]
mov ecx, dword [ebx + 0x3c]
test dl, 4
je 0x410e4c
test byte [ebx + 0x17a], 0x40
je 0x410e4c
test byte [ebx + 0x17b], 8
je 0x410e4c
cmp byte [ebx + 0x166], 1
je 0x410e97
movsx eax, byte [ebx + 0x168]
cmp eax, 2
jne 0x410e73
movsx eax, byte [ebx + 0x166]
cmp eax, 7
je 0x410e97
cmp eax, 6
je 0x410e97
cmp eax, 8
je 0x410e97
dec dword [ebx + 0x44]
jmp 0x410e97
cmp eax, 1
jne 0x410e97
movsx eax, byte [ebx + 0x166]
cmp eax, 7
je 0x410e91
cmp eax, 6
je 0x410e91
cmp eax, 8
je 0x410e91
dec dword [ebx + 0x44]
add ecx, 5
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], 0
mov ebx, dword [ebp - 0x14]
movzx eax, word [ebx + 0x164]
test eax, eax
jg 0x410ec6
mov eax, dword [ebx + 0x44]
sub eax, dword [ebx + 0x3c]
push eax
push 0x20
push dword [ebx + 0x3c]
call fcn.004cda30
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x4c], eax
jmp 0x410ed4
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x48], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x410f11
cmp byte [eax + 0x1f], 0
je 0x410f11
push dword [edx + 0xec]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x410f11
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x410f06
mov byte [eax + 0x1f], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
call fcn.00437060
add esp, 8
test byte [ebp + 0x12], 8
jne 0x410f2e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4110df
mov byte [eax + 0x1e], 0
jmp 0x4110df
lea eax, [ebp - 0x1c0]
push eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea ebx, [ebp + 0x14]
push ebx
call fcn.00440b60
add esp, 0x10
test eax, eax
jne 0x41104d
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
push 0
mov esi, dword [ebp - 0x38]
lea edx, [ebx + 1]
push edx
call fcn.00431e20
add esp, 0xc
test eax, eax
jne 0x41104d
test ebx, ebx
jle 0x410f8f
xor edi, edi
movsx eax, byte [edi + esi]
push eax
call fcn.00480220
mov edx, dword [ebp - 0x1c]
add esp, 4
mov byte [edx + edi], al
inc edi
cmp edi, ebx
jl 0x410f77
mov eax, dword [ebp - 0x1c]
mov byte [ebx + eax], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
cmp byte [edx + ebx - 1], 0x20
jne 0x410fbd
mov eax, edx
cmp ebx, 1
jle 0x410fba
mov byte [eax + ebx - 1], 0
dec ebx
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ebx - 1], 0x20
je 0x410fa5
mov dword [ebp - 0x28], eax
mov edi, 0x4e9d20
mov esi, dword [ebp - 0x28]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x410fe5
test dl, dl
je 0x410fe1
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x410fe5
add edi, 2
add esi, 2
test dl, dl
jne 0x410fc5
xor eax, eax
jmp 0x410fea
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410ff4
xor edx, edx
xor ebx, ebx
jmp 0x41102a
mov edi, 0x4e9d1c
mov esi, dword [ebp - 0x28]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x41101c
test dl, dl
je 0x411018
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x41101c
add edi, 2
add esi, 2
test dl, dl
jne 0x410ffc
xor eax, eax
jmp 0x411021
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411037
mov ebx, 1
push dword [ebp - 0x28]
call fcn.00431ee0
add esp, 4
jmp 0x41104d
push dword [ebp - 0x28]
call fcn.00431ee0
add esp, 4
test eax, eax
jne 0x41104d
mov eax, 0x30
jmp 0x411051
test eax, eax
je 0x4110b8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411cfd
test byte [edx + 0x44], 2
je 0x411093
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 0x411086
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
test ebx, ebx
je 0x4110cc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4110df
mov byte [eax + 0x1e], 0
jmp 0x4110df
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x7c]
mov byte [edx + 0x1e], 1
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + 0x7c]
mov dword [ebx + 0xc], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00411f80
add esp, 0xc
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1c0]
push edx
push edi
call fcn.00432ae0
add esp, 8
test eax, eax
jne 0x410631
mov edi, dword [ebp - 0x1c0]
xor ecx, ecx
mov dword [edi + 0x84], ecx
mov edx, dword [ebp - 0x1c0]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [edx + 0xfc], ecx
mov eax, dword [ebp - 0x1c0]
movzx edx, byte [eax + 0x17c]
and edx, 0xfffffffe
or edx, edi
mov byte [eax + 0x17c], dl
mov edi, dword [ebp - 0x1c0]
mov edx, dword [ebx]
mov dword [edi + 0xfc], edx
mov edx, dword [ebp - 0x1c0]
mov ebx, dword [ebx + 4]
mov dword [edx + 0x84], ebx
mov ebx, dword [ebp - 0x1c0]
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x4111da
test byte [edx + 0x44], 2
je 0x4111b5
mov dword [edx + 0x38], esi
mov edx, dword [ebp - 0x1c0]
mov ebx, dword [edx + 0x18]
mov dword [ebx + 0x3c], esi
mov edi, dword [ebp - 0x1c0]
mov edx, dword [edi + 0x64]
test edx, edx
je 0x4111a6
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c0]
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
cmp byte [esi + 2], 0x53
jne 0x410708
push 3
lea eax, [ebp - 0x40]
push eax
push 0x53
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x411245
mov edi, dword [ebp - 0x14]
add esi, 4
movzx eax, byte [edi + 0x175]
mov byte [edi + 0x176], al
mov edx, dword [ebp - 0x14]
or byte [edx + 0x183], 0x20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov byte [eax + 0x175], cl
jmp 0x410708
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4112a8
test byte [edx + 0x44], 2
je 0x411283
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 0x411276
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 [esi + 2], 0x51
jne 0x4106ff
push 3
lea eax, [ebp - 0x40]
push eax
push 0x51
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x411316
mov ecx, dword [ebp - 0x14]
add esi, 4
add edi, 8
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 - 0x40]
mov byte [edx + 0x171], al
jmp 0x4106ff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411379
test byte [edx + 0x44], 2
je 0x411354
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 0x411347
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 [esi + 2], 0x3c
jne 0x4106f6
push 3
lea eax, [ebp - 0x40]
push eax
push 0x3c
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x411434
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], ebx
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 ebx, dword [ebp - 0x14]
or byte [ebx + 0x183], 8
mov eax, dword [ebp - 0x40]
cmp eax, 2
mov ebx, dword [ebp - 0x1c0]
jne 0x41141c
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
mov dword [ebp - 0x1c0], ebx
or eax, edx
mov byte [ecx + 0x17e], al
jmp 0x411429
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x17e], 0xfd
add esi, 4
add edi, 8
jmp 0x4106f6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411497
test byte [edx + 0x44], 2
je 0x411472
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 0x411465
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 [esi + 2], 0x3b
jne 0x4106ed
push 3
lea eax, [ebp - 0x40]
push eax
push 0x3b
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x41152d
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 - 0x40]
cmp eax, 2
je 0x411518
cmp eax, 1
jne 0x411507
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0x27
jmp 0x411522
cmp eax, 3
jne 0x411518
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0x22
jmp 0x411522
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x16b], 0
add esi, 4
add edi, 8
jmp 0x4106ed
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411590
test byte [edx + 0x44], 2
je 0x41156b
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 0x41155e
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 [esi + 2], 0x52
jne 0x4106e4
push 3
lea eax, [ebp - 0x40]
push eax
push 0x52
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x4115fe
mov ecx, dword [ebp - 0x14]
add esi, 4
add edi, 8
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 - 0x40]
mov byte [edx + 0x173], al
jmp 0x4106e4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411661
test byte [edx + 0x44], 2
je 0x41163c
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 0x41162f
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 [esi + 2], 6
jne 0x4106db
push 3
lea eax, [ebp - 0x40]
push eax
push 6
push dword [edi]
push dword [edi + 4]
call fcn.0042c540
add esp, 0x14
test eax, eax
jne 0x411702
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], ebx
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 ebx, dword [ebp - 0x14]
or byte [ebx + 0x183], 1
mov eax, dword [ebp - 0x40]
cmp eax, 1
mov ebx, dword [ebp - 0x1c0]
je 0x4116ed
cmp eax, 2
jne 0x4116ed
mov eax, dword [ebp - 0x14]
or byte [eax + 0x17b], 0x20
jmp 0x4116f7
mov eax, dword [ebp - 0x14]
and byte [eax + 0x17b], 0xdf
add esi, 4
add edi, 8
jmp 0x4106db
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411765
test byte [edx + 0x44], 2
je 0x411740
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 0x411733
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 [esi + 2], 0x4f
jne 0x4106d2
mov eax, dword [ebp - 0x14]
test byte [eax + 0x17b], 4
jne 0x411888
test byte [eax + 0x179], 0x20
jne 0x411815
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4118c5
test byte [edx + 0x44], 2
je 0x4117eb
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 0x4117d9
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 0x4118e4
test byte [edx + 0x44], 2
je 0x411861
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 0x41184f
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 [edi]
add edx, 0xffffffff
mov ecx, dword [edi + 4]
adc ecx, 0xffffffff
add edi, 8
mov dword [eax + 0xb8], edx
mov dword [eax + 0xbc], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], ebx
xor ebx, ebx
mov edx, dword [eax + 0xbc]
sub edx, ebx
mov ebx, dword [ebp - 0x1c0]
jl 0x411900
add esi, 4
jmp 0x4106d2
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 0x41196f
test byte [edx + 0x44], 2
je 0x411945
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 0x411933
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 [esi + 2], 0x4e
jne 0x4106c9
mov edx, dword [ebp - 0x14]
add esi, 4
mov eax, dword [edi]
mov dword [edx + 0xfc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [eax + 0x84], ecx
jmp 0x4106c9
push edx
mov eax, 0x2f
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 edx
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 edx
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
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
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 0x411ab2
test byte [eax + 0x44], 2
je 0x411a88
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 0x411a76
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 0x411aeb
mov eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jmp 0x411a31
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x410bbb
mov eax, dword [ebx + 0x148]
test eax, eax
mov ecx, eax
jne 0x411b07
mov ecx, 0x20000
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x40]
sub esi, edx
cmp esi, ecx
ja 0x411b40
push 0
lea ecx, [ebp - 0x3c]
push ecx
push esi
push edx
push dword [ebx + 0xec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0xffffffff
test eax, eax
je 0x411b35
mov edx, 1
mov dword [ebp - 0x1bc], edx
jmp 0x411bc6
test eax, eax
mov edi, esi
mov dword [ebp - 0x1c0], esi
mov esi, edx
jne 0x411b53
mov eax, 0x20000
mov dword [ebp - 0x1bc], eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1bc]
push esi
push dword [ebx + 0xec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x411b88
mov esi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1bc], 0xffffffff
jmp 0x411bc6
mov eax, dword [ebx + 0x148]
test eax, eax
mov ecx, dword [ebp - 0x3c]
jne 0x411b9a
mov eax, 0x20000
sub edi, ecx
add esi, ecx
cmp edi, eax
jae 0x411bae
mov dword [ebp - 0x1bc], edi
test edi, edi
jne 0x411bb2
jmp 0x411bb6
test edi, edi
je 0x411bb6
test ecx, ecx
ja 0x411b59
mov esi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1bc], 1
mov eax, esi
xor edi, edi
cdq
add esi, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x40], ecx
adc edx, dword [ebx + 0xcc]
add ecx, dword [ebx + 0x100]
and byte [ebx + 0x17d], 0xfb
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0xb0], edi
mov dword [ebx + 0xb4], edi
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], edx
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xc4], edx
cmp dword [ebp - 0x1bc], 0xffffffff
je 0x411c22
mov ebx, dword [ebp - 0x14]
jmp 0x410b84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xf0], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x411ca0
test byte [eax + 0x44], 2
je 0x411c76
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 0x411c64
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 ebx
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 ebx
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
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
movzx ecx, byte [edx + 0x178]
mov esi, dword [ebp - 0x1c0]
and ecx, 0xfffffffe
shr esi, 7
or ecx, esi
mov esi, eax
mov byte [edx + 0x178], cl
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1bc]
shr ecx, 2
and ecx, 1
movzx edx, byte [edi + 0x178]
add ecx, ecx
and edx, 0xfffffffd
shr esi, 3
or edx, ecx
mov byte [edi + 0x178], dl
and esi, 1
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + 0x178]
lea edx, [esi*4]
and ecx, 0xfffffffb
or ecx, edx
mov byte [edi + 0x178], cl
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 2
and ecx, 1
movzx edx, byte [edi + 0x178]
shl ecx, 3
and edx, 0xfffffff7
or edx, ecx
mov byte [edi + 0x178], dl
mov edx, eax
mov edi, dword [ebp - 0x14]
shr edx, 6
and edx, 1
movzx ecx, byte [edi + 0x178]
shl edx, 4
and ecx, 0xffffffef
or ecx, edx
mov byte [edi + 0x178], cl
mov ecx, esi
mov edi, dword [ebp - 0x14]
shl ecx, 5
shl esi, 3
movzx edx, byte [edi + 0x178]
and edx, 0xffffffdf
or edx, ecx
mov byte [edi + 0x178], dl
mov edx, eax
mov edi, dword [ebp - 0x14]
shr edx, 4
and edx, 1
movzx ecx, byte [edi + 0x181]
shl edx, 2
and ecx, 0xfffffffb
or ecx, edx
mov byte [edi + 0x181], cl
mov edi, ebx
mov ecx, dword [ebp - 0x14]
shr eax, 5
and eax, 1
movzx edx, byte [ecx + 0x181]
and edx, 0xfffffff7
or edx, esi
mov esi, eax
mov byte [ecx + 0x181], dl
mov edx, dword [ebp - 0x14]
shl esi, 6
shl eax, 7
movzx ecx, byte [edx + 0x178]
and ecx, 0xffffffbf
or ecx, esi
mov byte [edx + 0x178], cl
mov esi, dword [ebp - 0x14]
shr edi, 1
and edi, 1
movzx ecx, byte [esi + 0x178]
and ecx, 0x7f
or ecx, eax
mov eax, ebx
mov byte [esi + 0x178], cl
and eax, 1
mov esi, dword [ebp - 0x14]
shl edi, 5
movzx edx, byte [esi + 0x179]
and edx, 0xfffffffe
or edx, eax
mov byte [esi + 0x179], dl
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, ebx
shr edx, 2
and edx, 3
movzx ecx, byte [eax + 0x181]
add edx, edx
and ecx, 0xffffffdf
or ecx, edi
mov byte [eax + 0x181], cl
mov ecx, dword [ebp - 0x14]
shr esi, 9
and esi, 1
movzx eax, byte [ecx + 0x179]
and eax, 0xfffffff9
or eax, edx
mov byte [ecx + 0x179], al
mov eax, ebx
mov edi, dword [ebp - 0x14]
shl esi, 3
shr eax, 0xa
movzx edx, byte [edi + 0x184]
and edx, 0xfffffff7
or edx, esi
mov byte [edi + 0x184], dl
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x184]
test dl, 0x10
jne 0x411ee3
and eax, 1
and edx, 0xffffffef
shl eax, 4
or edx, eax
mov byte [ecx + 0x184], dl
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 0x411f5c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x411f64
test byte [edx + 0x44], 2
je 0x411f37
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 0x411f2a
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 0x4107e8
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