Function at 0x4de060
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.00506290
add esp, 0x10
mov esi, eax
test esi, esi
je 0x4de0f1
test byte [ebp + 0x10], 1
je 0x4de0e0
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x4de0d0
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x4de0d0
add edx, 7
and edx, 0xfffffffc
mov eax, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [eax], 0x38
mov ebx, dword [edx]
jne 0x4de0d0
cmp byte [eax + 2], 0x4e
je 0x4de860
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.004db180
add esp, 0x10
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0x16a], 0x40
je 0x4de1c9
mov edx, dword [ecx + 0x7c]
test edx, edx
je 0x4de1c9
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x4de1c9
mov esi, dword [edx + 0xc]
cmp esi, ecx
je 0x4de1c9
movzx eax, byte [esi + 0x16d]
test al, 0x40
je 0x4de13b
cmp byte [esi + 0x156], 1
je 0x4de939
push esi
call fcn.00508d70
add esp, 4
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x4de152
mov byte [edx + 0x1e], 0
test eax, eax
je 0x4de1b1
mov edx, dword [esi + 0x18]
test edx, edx
je 0x4de970
test byte [edx + 0x44], 2
je 0x4de18c
mov dword [edx + 0x38], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x3c], eax
mov edx, dword [esi + 0x64]
test edx, edx
je 0x4de17f
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0050ffa0
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 + 0x98], 1
adc dword [esi + 0x9c], 0
and byte [esi + 0x16f], 0xfb
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xf4], eax
mov edi, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x13]
test eax, 0x80
mov ecx, dword [edi + 0xb8]
mov esi, dword [edi + 0xbc]
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], esi
je 0x4de278
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
lea ecx, [edx + 4]
mov esi, dword [ecx - 4]
test esi, 0x20
je 0x4de21e
mov ecx, dword [ebp - 0x14]
or byte [ecx + 0x173], 0x40
test esi, 0x10
je 0x4de27a
add edx, 7
and edx, 0xfffffffc
mov edi, dword [edx]
add edx, 7
and edx, 0xfffffffc
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4df18d
cmp eax, 0xb
je 0x4def7b
cmp eax, 0x38
je 0x4de98a
cmp eax, 1
je 0x4de272
push 0x2df
push str.for_wseq_lis.c
push 2
push 8
call fcn.004db180
add esp, 0x10
movzx eax, byte [ebp + 0x13]
jmp 0x4de27a
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
movzx esi, byte [ebp + 0x10]
mov edi, esi
movzx edx, byte [ecx + 0x16c]
and edi, 1
and edx, 0xfffffffe
or edx, edi
mov byte [ecx + 0x16c], dl
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
and esi, 2
movzx ecx, byte [edx + 0x16c]
and ecx, 0xfffffffd
or ecx, esi
mov byte [edx + 0x16c], cl
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 1
and ecx, 1
movzx edx, byte [edi + 0x16f]
shl ecx, 3
and edx, 0xfffffff7
or edx, ecx
xor ecx, ecx
mov byte [edi + 0x16f], dl
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128], ecx
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x12c], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
test byte [edx + 0x169], 0x20
je 0x4df600
movzx eax, byte [edx + 0x173]
and esi, 0xffffff80
and eax, 0x7f
or eax, esi
mov byte [edx + 0x173], al
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x169]
and edx, 0x40
cmp edx, 0x40
je 0x4df572
movzx ecx, byte [eax + 0x16b]
mov edx, ecx
and edx, 0x10
cmp edx, 0x10
je 0x4df4e4
test byte [eax + 0x16a], 0x40
jne 0x4de3bb
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4df1c5
test byte [edx + 0x44], 2
je 0x4de391
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 0x4de37f
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 + 0x16c]
push 0x101
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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 cl, 8
je 0x4de43f
test byte [eax + 0x168], 4
jne 0x4de43f
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4df1e4
test byte [edx + 0x44], 2
je 0x4de415
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 0x4de403
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 + 0x16c]
push 0x103
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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 ecx, 0x28
mov dword [edi + 0x28], 0
xor edx, edx
mov dword [edi + ecx - 4], edx
mov dword [edi + ecx - 8], edx
mov dword [edi + ecx - 0xc], edx
mov dword [edi + ecx - 0x10], edx
mov dword [edi + ecx - 0x14], edx
sub ecx, 0x14
jne 0x4de44e
mov dword [edi], eax
mov esi, dword [ebp - 0x14]
test byte [esi + 0x16b], 4
je 0x4de56f
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
mov edx, dword [esi + 0xb8]
mov esi, dword [esi + 0xbc]
neg edx
neg esi
add edx, ecx
add esi, eax
or edx, esi
mov esi, dword [ebp - 0x30]
je 0x4de56f
test byte [esi + 0x16d], 4
jne 0x4df2c8
push 0
lea edx, [ebp - 0x18]
push edx
push ecx
mov esi, dword [esi + 0xe4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4df2a3
mov ecx, dword [ebp - 0x18]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x4df203
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xb0]
mov edx, dword [ecx + 0xb4]
mov dword [ecx + 0xc0], eax
xor eax, eax
mov dword [ecx + 0xc4], edx
mov esi, dword [ebp - 0x14]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc8]
mov dword [ecx + 0xf0], edx
mov esi, dword [ebp - 0x14]
and byte [esi + 0x16d], 0xfd
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x90], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4de59c
mov byte [eax + 0x1e], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x7c]
jmp 0x4de572
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4de59c
movzx eax, byte [eax + 0x1e]
test eax, eax
je 0x4de59c
mov dword [esi + 0x4c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4de7ed
mov byte [eax + 0x1e], 0
jmp 0x4de7ed
push 0
push esi
call fcn.0050a260
add esp, 8
test eax, eax
je 0x4de615
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4df491
test byte [eax + 0x44], 2
je 0x4de5eb
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 0x4de5d9
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0050ffa0
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 + 0x154]
mov dword [ebp - 0x2c], eax
lea eax, [eax - 1]
cmp eax, 7
ja case.default.0x4de62b
jmp dword [eax*4 + 0x5ecc4c]
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x4de63c
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0xf8]
mov dword [esi + 0x3c], ecx
lea edx, [ecx + eax - 1]
mov dword [esi + 0x44], edx
movzx eax, byte [esi + 0x168]
jmp 0x4de75a
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4df4b0
test byte [eax + 0x44], 2
je 0x4de698
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 0x4de686
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push esi
call fcn.0050ffa0
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 0x4de6ce
add ecx, 4
jmp 0x4de6d4
mov ecx, dword [esi + 0x38]
add ecx, 4
mov eax, dword [esi + 0xf8]
mov dword [esi + 0x3c], ecx
lea edx, [ecx + eax - 8]
mov dword [esi + 0x44], edx
movzx eax, byte [esi + 0x168]
jmp 0x4de75a
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x4de6f7
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0xf8]
mov dword [esi + 0x3c], ecx
lea eax, [ecx + edx]
mov dword [ebp - 0x30], eax
movzx eax, byte [esi + 0x168]
test al, 4
je 0x4de729
test byte [esi + 0x16a], 0x40
je 0x4de729
test byte [esi + 0x16b], 8
je 0x4de729
cmp dword [ebp - 0x2c], 1
je 0x4de731
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x44], edx
jmp 0x4de75a
lea edx, [ecx + edx - 2]
mov dword [esi + 0x44], edx
jmp 0x4de75a
push 0x33c
push str.for_wseq_lis.c
push 2
push 8
call fcn.004db180
add esp, 0x10
movzx eax, byte [esi + 0x168]
mov ecx, dword [esi + 0x3c]
test al, 4
je 0x4de779
test byte [esi + 0x16a], 0x40
je 0x4de779
test byte [esi + 0x16b], 8
je 0x4de779
cmp byte [esi + 0x154], 1
je 0x4de7c4
movsx eax, byte [esi + 0x156]
cmp eax, 2
jne 0x4de7a0
movsx eax, byte [esi + 0x154]
cmp eax, 7
je 0x4de7c4
cmp eax, 6
je 0x4de7c4
cmp eax, 8
je 0x4de7c4
dec dword [esi + 0x44]
jmp 0x4de7c4
cmp eax, 1
jne 0x4de7c4
movsx eax, byte [esi + 0x154]
cmp eax, 7
je 0x4de7be
cmp eax, 6
je 0x4de7be
cmp eax, 8
je 0x4de7be
dec dword [esi + 0x44]
add ecx, 5
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
test eax, eax
je 0x4df4cf
push dword [edx + 0xf8]
push 0x20
push eax
call fcn.005a3600
add esp, 0xc
or byte [edi + 0x2a], 0x10
mov edx, dword [ebp - 0x14]
test byte [edx + 0x168], 2
je 0x4de839
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4de839
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x4de839
push dword [edx + 0xe4]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x4de839
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4de82e
mov byte [eax + 0x1f], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
call fcn.0050a260
add esp, 8
push dword [ebp + 0x18]
push dword [ebp - 4]
push ebx
call fcn.004df830
add esp, 0xc
mov edx, dword [edi + 0x14]
test edx, edx
mov ebx, dword [ebp - 8]
jne 0x4de854
mov edx, eax
mov eax, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.00505c70
add esp, 8
test eax, eax
jne 0x4de0d0
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dword [ecx + 0x84], edx
mov edi, dword [ebp - 0x30]
movzx ecx, byte [ebp + 0x10]
and ecx, 1
mov dword [edi + 0xf4], edx
mov edi, dword [ebp - 0x30]
movzx eax, byte [edi + 0x16c]
and eax, 0xfffffffe
or eax, ecx
mov byte [edi + 0x16c], al
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov dword [ecx + 0xf4], eax
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebx + 4]
mov dword [eax + 0x84], ebx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4de91f
test byte [eax + 0x44], 2
je 0x4de8fa
mov dword [eax + 0x38], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], esi
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4de8eb
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x64], edx
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 eax, byte [ecx + 0x16c]
push esi
and eax, 7
push eax
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 esi
push esi
push 0
call fcn.004d9080
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 0x4de963
cmp edx, 0x2b
jne 0x4de955
mov byte [ecx + 5], 0
movzx eax, byte [esi + 0x16d]
and eax, 0xffffffbf
mov byte [esi + 0x16d], al
jmp 0x4de13b
mov byte [ecx + 5], 0x24
movzx eax, byte [esi + 0x16d]
jmp 0x4de955
push esi
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
cmp eax, 6
je 0x4dee73
cmp eax, 0x52
je 0x4ded92
cmp eax, 0x3b
je 0x4dec89
cmp eax, 0x3c
je 0x4deb6d
cmp eax, 0x51
je 0x4dea8c
cmp eax, 0x53
jne 0x4de25c
push 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4dea0f
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x163]
mov byte [ecx + 0x164], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x173], 0x20
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x163], al
movsx eax, byte [edi + 4]
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4dea72
test byte [edx + 0x44], 2
je 0x4dea4d
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 0x4dea40
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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.004d9080
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 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0x51
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4deae7
mov ecx, dword [ebp - 0x14]
add edi, 4
movzx edx, byte [ecx + 0x15f]
mov byte [ecx + 0x160], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x173], 0x10
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x15f], al
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4deb4a
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4deb53
test byte [edx + 0x44], 2
je 0x4deb25
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 0x4deb18
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 [edi + 2]
jmp 0x4de9bb
push ecx
push eax
push eax
push 1
call fcn.004d9080
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 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0x3c
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4dec03
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x16e]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x16e], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x173], 8
mov eax, dword [ebp - 0x24]
cmp eax, 2
jne 0x4debdd
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x16e]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x16e], al
jmp 0x4debea
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x16e], 0xfd
add edi, 4
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4dec66
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4dec6f
test byte [edx + 0x44], 2
je 0x4dec41
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 0x4dec34
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 [edi + 2]
jmp 0x4de9b2
push ecx
push eax
push eax
push 1
call fcn.004d9080
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 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0x3b
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4ded0c
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x159]
mov byte [edx + 0x15a], al
mov ecx, dword [ebp - 0x14]
or byte [ecx + 0x173], 4
mov eax, dword [ebp - 0x24]
cmp eax, 2
je 0x4dece9
cmp eax, 1
jne 0x4decd8
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0x27
jmp 0x4decf3
cmp eax, 3
jne 0x4dece9
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0x22
jmp 0x4decf3
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0
add edi, 4
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4ded6f
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ded78
test byte [edx + 0x44], 2
je 0x4ded4a
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 0x4ded3d
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 [edi + 2]
jmp 0x4de9a9
push ecx
push eax
push eax
push 1
call fcn.004d9080
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 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 0x52
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4deded
mov ecx, dword [ebp - 0x14]
add edi, 4
movzx edx, byte [ecx + 0x161]
mov byte [ecx + 0x162], dl
mov eax, dword [ebp - 0x14]
or byte [eax + 0x173], 2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x161], al
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4dee50
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4dee59
test byte [edx + 0x44], 2
je 0x4dee2b
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 0x4dee1e
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 [edi + 2]
jmp 0x4de9a0
push ecx
push eax
push eax
push 1
call fcn.004d9080
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 3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 6
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4deef5
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x16b]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x16b], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x173], 1
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x4deed2
cmp eax, 2
jne 0x4deed2
mov eax, dword [ebp - 0x14]
or byte [eax + 0x16b], 0x20
jmp 0x4deedc
mov eax, dword [ebp - 0x14]
and byte [eax + 0x16b], 0xdf
add edi, 4
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4def58
jmp 0x4de257
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4def61
test byte [edx + 0x44], 2
je 0x4def33
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 0x4def26
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 [edi + 2]
jmp 0x4de997
push ecx
push eax
push eax
push 1
call fcn.004d9080
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 0x4de25c
mov eax, dword [ebp - 0x14]
test byte [eax + 0x16b], 4
jne 0x4df084
test byte [eax + 0x169], 0x20
jne 0x4df011
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4df0c4
test byte [edx + 0x44], 2
je 0x4defe7
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 0x4defd5
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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 0x4df0e3
test byte [edx + 0x44], 2
je 0x4df05d
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 0x4df04b
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 + 0x16c]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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 - 0x2c]
mov dword [ebp - 0x30], edi
mov ecx, dword [edx]
add ecx, 0xffffffff
mov edi, dword [edx + 4]
adc edi, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
xor edx, edx
mov edi, dword [ebp - 0x30]
mov ecx, dword [eax + 0xb4]
sub ecx, edx
jl 0x4df0ff
add edi, 4
movsx eax, byte [edi]
jmp 0x4de24e
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.004d9080
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.004d9080
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 0x4df16e
test byte [edx + 0x44], 2
je 0x4df144
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 0x4df132
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
cmp eax, 0x4e
jne 0x4de98e
mov eax, dword [ebp - 0x2c]
add edi, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [ecx + 0xf4], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x2c], eax
mov dword [ecx + 0x84], edx
movsx eax, byte [edi]
jmp 0x4de245
push eax
push 0x1f
push 0x101
push 1
call fcn.004d9080
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.004d9080
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 + 0xe8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4df284
test byte [eax + 0x44], 2
je 0x4df25a
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 0x4df248
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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.004d9080
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 0x4df2bd
mov eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jmp 0x4df203
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
jmp 0x4de4df
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x28], eax
sub edx, eax
mov eax, dword [esi + 0x13c]
test eax, eax
mov ecx, eax
jne 0x4df2e4
mov ecx, 0x20000
mov dword [ebp - 0x2c], edx
cmp edx, ecx
ja 0x4df316
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x4df311
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4df38e
test eax, eax
jne 0x4df31f
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 + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4df356
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4df38e
mov eax, dword [esi + 0x13c]
test eax, eax
mov ecx, dword [ebp - 0x20]
jne 0x4df368
mov eax, 0x20000
sub ebx, ecx
add edi, ecx
cmp ebx, eax
jae 0x4df379
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x4df37d
jmp 0x4df381
test ebx, ebx
je 0x4df381
test ecx, ecx
ja 0x4df32d
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 + 0xa8], edx
mov dword [esi + 0xac], edx
cdq
add eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x40], ecx
adc edx, dword [esi + 0xc4]
add ecx, dword [esi + 0xf8]
and byte [esi + 0x16d], 0xfb
mov dword [esi + 0x44], ecx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x4df3f4
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb0]
jmp 0x4de4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xe8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4df472
test byte [eax + 0x44], 2
je 0x4df448
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 0x4df436
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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.004d9080
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.004d9080
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.004d9080
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 dword [edx + 0xf8]
push 0x20
push dword [edx + 0x38]
call fcn.005a3600
jmp 0x4de7ea
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4df553
test byte [edx + 0x44], 2
je 0x4df529
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 0x4df517
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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.004d9080
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 0x4df5e1
test byte [edx + 0x44], 2
je 0x4df5b7
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 0x4df5a5
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 + 0x16c]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0050ffa0
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.004d9080
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 + 0x168]
mov edi, dword [ebp - 0x30]
and ecx, 0xfffffffe
shr edi, 7
or ecx, edi
mov byte [edx + 0x168], cl
mov edi, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx edx, byte [edi + 0x168]
add ecx, ecx
and edx, 0xfffffffd
or edx, ecx
mov byte [edi + 0x168], dl
mov edi, eax
shr edi, 3
and edi, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
movzx ebx, byte [ecx + 0x168]
lea edx, [edi*4]
and ebx, 0xfffffffb
or ebx, edx
mov byte [ecx + 0x168], bl
mov ebx, eax
mov ecx, dword [ebp - 0x14]
shr ebx, 2
and ebx, 1
movzx edx, byte [ecx + 0x168]
shl ebx, 3
and edx, 0xfffffff7
or edx, ebx
mov byte [ecx + 0x168], dl
mov edx, eax
mov ebx, dword [ebp - 0x14]
shr edx, 6
and edx, 1
movzx ecx, byte [ebx + 0x168]
shl edx, 4
and ecx, 0xffffffef
or ecx, edx
mov byte [ebx + 0x168], cl
mov ecx, edi
mov ebx, dword [ebp - 0x14]
shl ecx, 5
shl edi, 3
movzx edx, byte [ebx + 0x168]
and edx, 0xffffffdf
or edx, ecx
mov byte [ebx + 0x168], dl
mov edx, eax
mov ecx, dword [ebp - 0x14]
shr edx, 4
and edx, 1
movzx ebx, byte [ecx + 0x171]
shl edx, 2
and ebx, 0xfffffffb
or ebx, edx
mov byte [ecx + 0x171], bl
mov edx, dword [ebp - 0x14]
shr eax, 5
and eax, 1
movzx ecx, byte [edx + 0x171]
and ecx, 0xfffffff7
or ecx, edi
mov edi, eax
mov byte [edx + 0x171], cl
mov ecx, dword [ebp - 0x14]
shl edi, 6
shl eax, 7
movzx edx, byte [ecx + 0x168]
and edx, 0xffffffbf
or edx, edi
mov byte [ecx + 0x168], dl
mov ecx, esi
mov edi, dword [ebp - 0x14]
shr ecx, 1
and ecx, 1
movzx ebx, byte [edi + 0x168]
and ebx, 0x7f
or ebx, eax
mov eax, esi
mov byte [edi + 0x168], bl
and eax, 1
mov edi, dword [ebp - 0x14]
shl ecx, 5
movzx edx, byte [edi + 0x169]
and edx, 0xfffffffe
or edx, eax
mov byte [edi + 0x169], dl
mov edi, esi
mov eax, dword [ebp - 0x14]
shr edi, 2
and edi, 3
movzx ebx, byte [eax + 0x171]
add edi, edi
and ebx, 0xffffffdf
or ebx, ecx
mov ecx, 1
mov byte [eax + 0x171], bl
mov eax, dword [ebp - 0x14]
push ecx
push 4
movzx edx, byte [eax + 0x169]
and edx, 0xfffffff9
or edx, edi
mov byte [eax + 0x169], dl
push ecx
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
call fcn.004f9160
add esp, 0x10
test eax, eax
je 0x4df800
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4df808
test byte [edx + 0x44], 2
je 0x4df7db
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 0x4df7ce
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 + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
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 0x4de2fc
push ecx
push eax
push eax
push 2
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret