Function at 0x4e3490
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 - 0x10], edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
call fcn.00506290
add esp, 0x10
mov esi, eax
test esi, esi
je 0x4e3521
test byte [ebp + 0x10], 1
je 0x4e3510
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x4e3500
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x4e3500
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 0x4e3500
cmp byte [eax + 2], 0x4e
je 0x4e3f3d
movzx eax, si
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push str.unknown
push edi
push 2
push esi
call fcn.004db180
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 + 0xf4], edx
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0xb8]
mov esi, dword [edi + 0xbc]
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], esi
je 0x4e35ca
lea ecx, [ebp + 0x23]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
mov ebx, dword [edx - 4]
test bl, 0x20
je 0x4e3576
mov edx, dword [ebp - 0x14]
or byte [edx + 0x173], 0x40
test bl, 0x10
je 0x4e35cc
add ecx, 7
and ecx, 0xfffffffc
mov edi, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
movsx eax, byte [edi]
cmp eax, 0x38
mov esi, dword [ecx]
je 0x4e4829
cmp eax, 0xb
je 0x4e4617
cmp eax, 0x38
je 0x4e4034
cmp eax, 1
je 0x4e35c4
push 0x1c3
push str.for_wseq_fmt.c
push 2
push 8
call fcn.004db180
add esp, 0x10
movzx eax, byte [ebp + 0x13]
jmp 0x4e35cc
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebp + 0x10]
mov edi, esi
and edi, 1
movzx edx, byte [ecx + 0x16c]
and edx, 0xfffffffe
or edx, edi
mov byte [ecx + 0x16c], dl
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], esi
and esi, 2
movzx edi, byte [ebp + 0x12]
movzx ecx, byte [edx + 0x16c]
and ecx, 0xfffffffd
or ecx, esi
mov esi, eax
mov byte [edx + 0x16c], cl
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1bc], edi
shr edi, 1
movzx edx, byte [ecx + 0x16e]
and edi, 0xffffffe0
and edx, 0xffffff9f
or edx, edi
mov edi, eax
mov byte [ecx + 0x16e], dl
mov edx, dword [ebp - 0x14]
shl esi, 7
shr edi, 1
movzx ecx, byte [edx + 0x16e]
and edi, 1
and ecx, 0x7f
or ecx, esi
xor esi, esi
mov byte [edx + 0x16e], cl
mov ecx, dword [ebp - 0x14]
shl edi, 3
movzx edx, byte [ecx + 0x16f]
and edx, 0xfffffff7
or edx, edi
mov byte [ecx + 0x16f], dl
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128], esi
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x130], esi
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x169]
test dl, 0x20
je 0x4e4baf
test dl, 0x40
je 0x4e3704
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e485b
test byte [eax + 0x44], 2
je 0x4e36da
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 0x4e36c8
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x2f
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x16a], 0x40
jne 0x4e3783
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e487a
test byte [eax + 0x44], 2
je 0x4e3759
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 0x4e3747
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx eax, byte [ecx + 0x16c]
push 0x101
and eax, 7
push eax
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x16b], 8
je 0x4e381a
test byte [ecx + 0x168], 4
je 0x4e37a4
je 0x4e381a
cmp byte [ecx + 0x156], 1
jne 0x4e381a
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e4899
test byte [eax + 0x44], 2
je 0x4e37f0
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 0x4e37de
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 0x1f
movzx eax, byte [ecx + 0x16c]
push 0x103
and eax, 7
push eax
push 0xffffffffffffffff
push ecx
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ecx + 0x58]
mov edx, 0x54
xor eax, eax
mov dword [ebx + edx - 4], eax
mov dword [ebx + edx - 8], eax
mov dword [ebx + edx - 0xc], eax
mov dword [ebx + edx - 0x10], eax
mov dword [ebx + edx - 0x14], eax
mov dword [ebx + edx - 0x18], eax
mov dword [ebx + edx - 0x1c], eax
sub edx, 0x1c
jne 0x4e3822
mov dword [ebx], ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x163]
test eax, eax
je 0x4e3898
cmp eax, 1
je 0x4e3888
cmp eax, 2
jne 0x4e3871
movzx eax, byte [ebx + 0x4c]
or eax, 4
and eax, 0xffffffe7
mov byte [ebx + 0x4c], al
mov edx, dword [ebp - 0x14]
jmp 0x4e3898
cmp eax, 3
jne 0x4e3898
movzx eax, byte [ebx + 0x4c]
and eax, 0xffffffeb
or eax, 8
mov byte [ebx + 0x4c], al
mov edx, dword [ebp - 0x14]
jmp 0x4e3898
movzx eax, byte [ebx + 0x4c]
and eax, 0xfffffff3
or eax, 0x10
mov byte [ebx + 0x4c], al
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x15f]
test eax, eax
je case.default.0x4e38a9
dec eax
cmp eax, 4
ja case.default.0x4e38a9
jmp dword [eax*4 + 0x5eceb8]
movzx eax, byte [ebx + 0x50]
and eax, 0xffffffc3
or eax, 0x40
mov byte [ebx + 0x50], al
jmp case.default.0x4e38a9
movzx eax, byte [ebx + 0x50]
and eax, 0xffffffa3
or eax, 0x20
mov byte [ebx + 0x50], al
jmp case.default.0x4e38a9
movzx eax, byte [ebx + 0x50]
and eax, 0xffffff93
or eax, 0x10
mov byte [ebx + 0x50], al
jmp case.default.0x4e38a9
movzx eax, byte [ebx + 0x50]
and eax, 0xffffff8b
or eax, 8
mov byte [ebx + 0x50], al
jmp case.default.0x4e38a9
movzx eax, byte [ebx + 0x50]
or eax, 4
and eax, 0xffffff87
mov byte [ebx + 0x50], al
test byte [ebp + 0x10], 8
je 0x4e39a8
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x16c]
test al, 1
jne 0x4e391f
test al, 2
jne 0x4e391f
not eax
and eax, 4
shr eax, 2
jmp 0x4e3921
xor eax, eax
push eax
lea edx, [ebp - 0x18]
push edx
push dword [ebp + 0x1c]
call fcn.00511e00
add esp, 0xc
test eax, eax
je 0x4e399c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e48b8
test byte [edx + 0x44], 2
je 0x4e3977
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 0x4e396a
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
or byte [ebx + 0x4f], 2
jmp 0x4e39ae
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 8], eax
mov edi, dword [ebp - 0x14]
test byte [edi + 0x16b], 4
je 0x4e3aac
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
neg ecx
neg edx
mov eax, dword [edi + 0xb0]
add ecx, eax
mov ebx, dword [edi + 0xb4]
add edx, ebx
or ecx, edx
je 0x4e3aac
test byte [edi + 0x16d], 4
jne 0x4e4997
push 0
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x4e4972
mov ecx, dword [ebp - 0x20]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x4e48d2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xb0]
mov edx, dword [ecx + 0xb4]
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], edx
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0xb0]
mov esi, dword [edi + 0xb4]
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], esi
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc8], esi
mov dword [eax + 0xcc], esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc8]
mov dword [ecx + 0xf0], edx
mov ebx, dword [ebp - 0x14]
and byte [ebx + 0x16d], 0xfd
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x90], esi
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4e3ac6
mov byte [eax + 0x1e], 0
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x7c]
jmp 0x4e3aaf
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4e3ac6
movzx eax, byte [eax + 0x1e]
test eax, eax
je 0x4e3ac6
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x48], eax
jmp 0x4e3d14
push 0
push edi
call fcn.0050a260
add esp, 8
test eax, eax
je 0x4e3b3f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4e4b57
test byte [eax + 0x44], 2
je 0x4e3b15
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4e3b03
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx edx, byte [edi + 0x154]
lea eax, [edx - 1]
cmp eax, 7
ja case.default.0x4e3b52
jmp dword [eax*4 + 0x5ececc]
mov ecx, dword [edi + 0x40]
test ecx, ecx
jne 0x4e3b63
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0xf8]
mov dword [edi + 0x3c], ecx
lea edx, [ecx + eax - 1]
mov dword [edi + 0x44], edx
movzx eax, byte [edi + 0x168]
jmp 0x4e3c86
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4e4b76
test byte [eax + 0x44], 2
je 0x4e3bbf
mov edx, 0x2c
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4e3bad
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov eax, 0x2c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov eax, 0x2c
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.0050ffa0
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x4e3bf5
add ecx, 4
jmp 0x4e3bfb
mov ecx, dword [edi + 0x38]
add ecx, 4
mov eax, dword [edi + 0xf8]
mov dword [edi + 0x3c], ecx
lea edx, [ecx + eax - 8]
mov dword [edi + 0x44], edx
movzx eax, byte [edi + 0x168]
jmp 0x4e3c86
mov ecx, dword [edi + 0x40]
test ecx, ecx
jne 0x4e3c1e
mov ecx, dword [edi + 0x38]
mov ebx, dword [edi + 0xf8]
mov dword [edi + 0x3c], ecx
lea eax, [ecx + ebx]
mov dword [ebp - 0x1c0], eax
movzx eax, byte [edi + 0x168]
test al, 4
je 0x4e3c52
test byte [edi + 0x16a], 0x40
je 0x4e3c52
test byte [edi + 0x16b], 8
je 0x4e3c52
cmp edx, 1
je 0x4e3c5d
mov edx, dword [ebp - 0x1c0]
mov dword [edi + 0x44], edx
jmp 0x4e3c86
lea edx, [ecx + ebx - 2]
mov dword [edi + 0x44], edx
jmp 0x4e3c86
push 0x29d
push str.for_wseq_fmt.c
push 2
push 8
call fcn.004db180
add esp, 0x10
movzx eax, byte [edi + 0x168]
mov ecx, dword [edi + 0x3c]
test al, 4
je 0x4e3ca5
test byte [edi + 0x16a], 0x40
je 0x4e3ca5
test byte [edi + 0x16b], 8
je 0x4e3ca5
cmp byte [edi + 0x154], 1
je 0x4e3cf0
movsx eax, byte [edi + 0x156]
cmp eax, 2
jne 0x4e3ccc
movsx eax, byte [edi + 0x154]
cmp eax, 7
je 0x4e3cf0
cmp eax, 6
je 0x4e3cf0
cmp eax, 8
je 0x4e3cf0
dec dword [edi + 0x44]
jmp 0x4e3cf0
cmp eax, 1
jne 0x4e3cf0
movsx eax, byte [edi + 0x154]
cmp eax, 7
je 0x4e3cea
cmp eax, 6
je 0x4e3cea
cmp eax, 8
je 0x4e3cea
dec dword [edi + 0x44]
add ecx, 5
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], 0
mov esi, dword [ebp - 0x14]
mov ebx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
sub eax, ebx
push eax
push 0x20
push ebx
call fcn.005a3600
add esp, 0xc
mov dword [esi + 0x4c], ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4e3d53
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x4e3d53
push dword [edx + 0xe4]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x4e3d53
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x4e3d48
mov byte [eax + 0x1f], 0
mov edx, dword [ebp - 0x14]
push 0
push edx
call fcn.0050a260
add esp, 8
test byte [ebp + 0x12], 8
jne 0x4e3d70
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4e3f1f
mov byte [eax + 0x1e], 0
jmp 0x4e3f1f
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.00510550
add esp, 0x10
test eax, eax
jne 0x4e3e8d
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.00505140
add esp, 0xc
test eax, eax
jne 0x4e3e8d
test ebx, ebx
jle 0x4e3dd1
xor edi, edi
movsx eax, byte [edi + esi]
push eax
call fcn.00555620
mov edx, dword [ebp - 0x1c]
add esp, 4
mov byte [edx + edi], al
inc edi
cmp edi, ebx
jl 0x4e3db9
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 0x4e3dff
mov eax, edx
cmp ebx, 1
jle 0x4e3dfc
mov byte [eax + ebx - 1], 0
dec ebx
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ebx - 1], 0x20
je 0x4e3de7
mov dword [ebp - 0x28], eax
mov edi, 0x5ed074
mov esi, dword [ebp - 0x28]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4e3e27
test dl, dl
je 0x4e3e23
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4e3e27
add edi, 2
add esi, 2
test dl, dl
jne 0x4e3e07
xor eax, eax
jmp 0x4e3e2c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e3e34
xor ebx, ebx
jmp 0x4e3e6a
mov edi, 0x5ed070
mov esi, dword [ebp - 0x28]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4e3e5c
test dl, dl
je 0x4e3e58
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4e3e5c
add edi, 2
add esi, 2
test dl, dl
jne 0x4e3e3c
xor eax, eax
jmp 0x4e3e61
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e3e77
mov ebx, 1
push dword [ebp - 0x28]
call fcn.00505200
add esp, 4
jmp 0x4e3e8d
push dword [ebp - 0x28]
call fcn.00505200
add esp, 4
test eax, eax
jne 0x4e3e8d
mov eax, 0x30
jmp 0x4e3e91
test eax, eax
je 0x4e3ef8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e4b95
test byte [edx + 0x44], 2
je 0x4e3ed3
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 0x4e3ec6
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4e3f0c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4e3f1f
mov byte [eax + 0x1e], 0
jmp 0x4e3f1f
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.004e4de0
add esp, 0xc
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c0]
push eax
push edi
call fcn.00505c70
add esp, 8
test eax, eax
jne 0x4e3500
mov ecx, dword [ebp - 0x1c0]
xor edx, edx
mov dword [ecx + 0x84], edx
mov edi, dword [ebp - 0x1c0]
movzx ecx, byte [ebp + 0x10]
and ecx, 1
mov dword [edi + 0xf4], edx
mov edi, dword [ebp - 0x1c0]
movzx eax, byte [edi + 0x16c]
and eax, 0xfffffffe
or eax, ecx
mov byte [edi + 0x16c], al
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebx]
mov dword [ecx + 0xf4], eax
mov eax, dword [ebp - 0x1c0]
mov ebx, dword [ebx + 4]
mov dword [eax + 0x84], ebx
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e401a
test byte [eax + 0x44], 2
je 0x4e3ff5
mov dword [eax + 0x38], esi
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], esi
mov ebx, dword [ebp - 0x1c0]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4e3fe6
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c0]
mov dword [eax + 0x64], edx
mov eax, esi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
cmp eax, 6
je 0x4e450c
cmp eax, 0x52
je 0x4e4434
cmp eax, 0x3b
je 0x4e4334
cmp eax, 0x3c
je 0x4e420b
cmp eax, 0x51
je 0x4e4133
cmp eax, 0x53
jne 0x4e35ae
push 3
lea eax, [ebp - 0x40]
push eax
push 0x53
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e40b6
mov esi, dword [ebp - 0x14]
movzx eax, byte [esi + 0x163]
mov byte [esi + 0x164], al
mov edx, dword [ebp - 0x14]
or byte [edx + 0x173], 0x20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov byte [eax + 0x163], cl
movsx eax, byte [edi + 4]
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e4119
test byte [edx + 0x44], 2
je 0x4e40f4
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 0x4e40e7
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x40]
push eax
push 0x51
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e4185
mov ecx, dword [ebp - 0x14]
add edi, 4
add esi, 8
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 - 0x40]
mov byte [edx + 0x15f], al
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4e41e8
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e41f1
test byte [edx + 0x44], 2
je 0x4e41c3
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 0x4e41b6
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
jmp 0x4e4065
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x40]
push eax
push 0x3c
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e42ae
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], edi
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 edi, dword [ebp - 0x14]
or byte [edi + 0x173], 8
mov eax, dword [ebp - 0x40]
cmp eax, 2
mov edi, dword [ebp - 0x1c0]
jne 0x4e428e
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
mov dword [ebp - 0x1c0], edi
or eax, edx
mov byte [ecx + 0x16e], al
jmp 0x4e429b
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x16e], 0xfd
add edi, 4
add esi, 8
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4e4311
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e431a
test byte [edx + 0x44], 2
je 0x4e42ec
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 0x4e42df
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
jmp 0x4e405c
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x40]
push eax
push 0x3b
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e43ae
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 - 0x40]
cmp eax, 2
je 0x4e4391
cmp eax, 1
jne 0x4e4380
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0x27
jmp 0x4e439b
cmp eax, 3
jne 0x4e4391
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0x22
jmp 0x4e439b
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x159], 0
add edi, 4
add esi, 8
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4e4411
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e441a
test byte [edx + 0x44], 2
je 0x4e43ec
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 0x4e43df
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
jmp 0x4e4053
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x40]
push eax
push 0x52
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e4486
mov ecx, dword [ebp - 0x14]
add edi, 4
add esi, 8
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 - 0x40]
mov byte [edx + 0x161], al
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4e44e9
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e44f2
test byte [edx + 0x44], 2
je 0x4e44c4
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 0x4e44b7
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
jmp 0x4e404a
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x40]
push eax
push 6
push dword [esi]
push dword [esi + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4e4591
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], edi
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 edi, dword [ebp - 0x14]
or byte [edi + 0x173], 1
mov eax, dword [ebp - 0x40]
cmp eax, 1
mov edi, dword [ebp - 0x1c0]
je 0x4e4574
cmp eax, 2
jne 0x4e4574
mov eax, dword [ebp - 0x14]
or byte [eax + 0x16b], 0x20
jmp 0x4e457e
mov eax, dword [ebp - 0x14]
and byte [eax + 0x16b], 0xdf
add edi, 4
add esi, 8
movsx eax, byte [edi]
cmp eax, 0x38
je 0x4e45f4
jmp 0x4e35a9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e45fd
test byte [edx + 0x44], 2
je 0x4e45cf
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 0x4e45c2
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
jmp 0x4e4041
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
cmp byte [edi + 2], 0x4f
jne 0x4e35ae
mov eax, dword [ebp - 0x14]
test byte [eax + 0x16b], 4
jne 0x4e4720
test byte [eax + 0x169], 0x20
jne 0x4e46ad
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4e4760
test byte [edx + 0x44], 2
je 0x4e4683
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 0x4e4671
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4e477f
test byte [edx + 0x44], 2
je 0x4e46f9
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 0x4e46e7
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
add edx, 0xffffffff
mov ecx, dword [esi + 4]
adc ecx, 0xffffffff
add esi, 8
mov dword [eax + 0xb0], edx
mov dword [eax + 0xb4], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c0], edi
xor edi, edi
mov edx, dword [eax + 0xb4]
sub edx, edi
mov edi, dword [ebp - 0x1c0]
jl 0x4e479b
add edi, 4
movsx eax, byte [edi]
jmp 0x4e35a0
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4e480a
test byte [edx + 0x44], 2
je 0x4e47e0
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 0x4e47ce
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi + 2]
cmp eax, 0x4e
jne 0x4e4038
mov edx, dword [ebp - 0x14]
add edi, 4
mov eax, dword [esi]
mov dword [edx + 0xf4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
add esi, 8
mov dword [eax + 0x84], ecx
movsx eax, byte [edi]
jmp 0x4e3597
push ecx
mov eax, 0x2f
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push ecx
push 0x1f
push 0x101
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push ecx
push 0x1f
push 0x103
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 0x4e4953
test byte [eax + 0x44], 2
je 0x4e4929
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 0x4e4917
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e498c
mov eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jmp 0x4e48d2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x4e3a1c
mov eax, dword [edi + 0x13c]
test eax, eax
mov ecx, eax
jne 0x4e49a8
mov ecx, 0x20000
mov esi, dword [edi + 0x38]
mov edx, dword [edi + 0x40]
sub edx, esi
mov dword [ebp - 0x1c0], edx
cmp edx, ecx
ja 0x4e49e3
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1c0]
push esi
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x4e4a52
mov ecx, 1
jmp 0x4e4a52
test eax, eax
lea edx, [ebp - 0x3c]
mov ebx, dword [ebp - 0x1c0]
jne 0x4e49f5
mov eax, 0x20000
mov dword [ebp - 0x1bc], eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x1bc]
push esi
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4e4a1f
mov ecx, 0xffffffff
jmp 0x4e4a52
mov eax, dword [edi + 0x13c]
test eax, eax
mov edx, dword [ebp - 0x3c]
jne 0x4e4a31
mov eax, 0x20000
sub ebx, edx
add esi, edx
cmp ebx, eax
jae 0x4e4a45
mov dword [ebp - 0x1bc], ebx
test ebx, ebx
jne 0x4e4a49
jmp 0x4e4a4d
test ebx, ebx
je 0x4e4a4d
test edx, edx
ja 0x4e49fb
mov ecx, 1
mov eax, dword [ebp - 0x1c0]
xor esi, esi
cdq
add eax, dword [edi + 0xc0]
mov ebx, dword [edi + 0x38]
mov dword [edi + 0x40], ebx
adc edx, dword [edi + 0xc4]
add ebx, dword [edi + 0xf8]
and byte [edi + 0x16d], 0xfb
mov dword [edi + 0x44], ebx
cmp ecx, 0xffffffff
mov dword [edi + 0xa8], esi
mov dword [edi + 0xac], esi
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], edx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], edx
je 0x4e4aba
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xb0]
mov ebx, dword [edi + 0xb4]
jmp 0x4e39f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e4b38
test byte [eax + 0x44], 2
je 0x4e4b0e
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 0x4e4afc
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x26
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x2c
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
movzx edx, byte [ecx + 0x168]
mov esi, dword [ebp - 0x1c0]
and edx, 0xfffffffe
shr esi, 7
or edx, esi
mov esi, eax
mov byte [ecx + 0x168], dl
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1bc]
shr edx, 2
and edx, 1
movzx ecx, byte [edi + 0x168]
add edx, edx
and ecx, 0xfffffffd
shr esi, 3
or ecx, edx
mov byte [edi + 0x168], cl
and esi, 1
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + 0x168]
lea ecx, [esi*4]
and edx, 0xfffffffb
or edx, ecx
mov byte [edi + 0x168], dl
mov edx, eax
mov edi, dword [ebp - 0x14]
shr edx, 2
and edx, 1
movzx ecx, byte [edi + 0x168]
shl edx, 3
and ecx, 0xfffffff7
or ecx, edx
mov byte [edi + 0x168], cl
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 6
and ecx, 1
movzx edx, byte [edi + 0x168]
shl ecx, 4
and edx, 0xffffffef
or edx, ecx
mov byte [edi + 0x168], dl
mov edx, esi
mov edi, dword [ebp - 0x14]
shl edx, 5
shl esi, 3
movzx ecx, byte [edi + 0x168]
and ecx, 0xffffffdf
or ecx, edx
mov byte [edi + 0x168], cl
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 4
and ecx, 1
movzx edx, byte [edi + 0x171]
shl ecx, 2
and edx, 0xfffffffb
or edx, ecx
mov byte [edi + 0x171], dl
mov edx, dword [ebp - 0x14]
shr eax, 5
and eax, 1
movzx ecx, byte [edx + 0x171]
and ecx, 0xfffffff7
or ecx, esi
mov esi, eax
mov byte [edx + 0x171], cl
mov edi, dword [ebp - 0x14]
shl esi, 6
shl eax, 7
movzx edx, byte [edi + 0x168]
and edx, 0xffffffbf
or edx, esi
mov byte [edi + 0x168], dl
mov edi, ebx
mov esi, dword [ebp - 0x14]
shr edi, 1
and edi, 1
movzx ecx, byte [esi + 0x168]
and ecx, 0x7f
or ecx, eax
mov eax, ebx
mov byte [esi + 0x168], cl
and eax, 1
mov esi, dword [ebp - 0x14]
shl edi, 5
shr ebx, 2
movzx edx, byte [esi + 0x169]
and ebx, 3
and edx, 0xfffffffe
add ebx, ebx
or edx, eax
mov byte [esi + 0x169], dl
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x171]
and ecx, 0xffffffdf
or ecx, edi
mov byte [eax + 0x171], cl
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x169]
and edx, 0xfffffff9
or edx, ebx
mov ebx, 1
push ebx
push 4
mov byte [eax + 0x169], dl
push ebx
push dword [ebp - 0x14]
call fcn.004f9160
add esp, 0x10
test eax, eax
je 0x4e4dac
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4e4dbb
test byte [edx + 0x44], 2
je 0x4e4d87
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 0x4e4d7a
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 - 0xc]
mov edi, dword [ebp - 0x10]
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 - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x169]
jmp 0x4e368c
push ecx
push eax
push eax
push 2
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret