Function at 0x4ed810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
lea eax, [ebp - 0x10]
push 1
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
push ebx
push eax
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], esi
call fcn.00506290
add esp, 0x10
mov esi, eax
test esi, esi
je 0x4ed89e
test byte [ebp + 0x10], 1
je 0x4ed88d
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x4ed87d
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
test byte [eax - 4], 0x10
je 0x4ed87d
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 0x4ed87d
cmp byte [eax + 2], 0x4e
je 0x4ee0cb
movzx eax, si
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 edi, dword [ebp - 0x10]
movzx ecx, byte [ebp + 0x10]
mov esi, ecx
and esi, 1
and ecx, 2
movzx eax, byte [edi + 0x16c]
and eax, 0xfffffffe
or eax, esi
mov byte [edi + 0x16c], al
mov esi, dword [ebp - 0x10]
movzx edi, byte [ebp + 0x12]
mov eax, edi
shr eax, 5
movzx edx, byte [esi + 0x16c]
and eax, 1
and edx, 0xfffffffd
or edx, ecx
mov byte [esi + 0x16c], dl
mov ecx, dword [ebp - 0x10]
shl eax, 2
shr edi, 1
movzx edx, byte [ecx + 0x16c]
and edi, 0xffffffe0
and edx, 0xfffffffb
or edx, eax
mov byte [ecx + 0x16c], dl
mov esi, dword [ebp - 0x10]
movzx eax, byte [esi + 0x16e]
and eax, 0xffffff9f
or eax, edi
mov byte [esi + 0x16e], al
mov edx, dword [ebp - 0x10]
movzx esi, byte [ebp + 0x13]
mov edi, esi
shl edi, 7
movzx eax, byte [edx + 0x16e]
and eax, 0x7f
or eax, edi
mov byte [edx + 0x16e], al
xor eax, eax
mov ecx, dword [ebp - 0x10]
test esi, 0x80
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xf4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
mov edi, dword [eax + 0xbc]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], edi
je 0x4ed9d8
lea edx, [ebp + 0x23]
and edx, 0xfffffffc
lea eax, [edx + 4]
mov edi, dword [eax - 4]
test edi, 0x20
je 0x4ed985
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x40
test edi, 0x10
je 0x4ed9da
add edx, 7
and edx, 0xfffffffc
mov esi, dword [edx]
add edx, 7
and edx, 0xfffffffc
movsx eax, byte [esi]
cmp eax, 0x38
mov edx, dword [edx]
je 0x4ee9f9
cmp eax, 0xb
je 0x4ee7e7
cmp eax, 0x38
je 0x4ee1c2
cmp eax, 1
je 0x4ed9da
push 0x1a3
push str.for_rseq_fmt.c
push 2
push 8
call fcn.004db180
add esp, 0x10
jmp 0x4ed9da
xor edi, edi
mov eax, dword [ebp - 0x10]
test byte [eax + 0x169], 0x20
je 0x4eee22
test byte [eax + 0x16a], 0x40
jne 0x4eda69
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4eea2b
test byte [edx + 0x44], 2
je 0x4eda3f
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4eda2d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x101
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test byte [eax + 0x16b], 8
je 0x4edaf1
test byte [eax + 0x168], 4
jne 0x4edaf1
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4eea4a
test byte [edx + 0x44], 2
je 0x4edac7
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4edab5
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x103
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x58]
mov ecx, 0x54
xor edx, edx
mov dword [esi + ecx - 4], edx
mov dword [esi + ecx - 8], edx
mov dword [esi + ecx - 0xc], edx
mov dword [esi + ecx - 0x10], edx
mov dword [esi + ecx - 0x14], edx
mov dword [esi + ecx - 0x18], edx
mov dword [esi + ecx - 0x1c], edx
sub ecx, 0x1c
jne 0x4edaf9
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x15f]
test eax, eax
je case.default.0x4edb32
dec eax
cmp eax, 4
ja case.default.0x4edb32
jmp dword [eax*4 + 0x5ed94c]
movzx eax, byte [esi + 0x50]
and eax, 0xffffffc3
or eax, 0x40
mov byte [esi + 0x50], al
jmp case.default.0x4edb32
movzx eax, byte [esi + 0x50]
and eax, 0xffffffa3
or eax, 0x20
mov byte [esi + 0x50], al
jmp case.default.0x4edb32
movzx eax, byte [esi + 0x50]
and eax, 0xffffff93
or eax, 0x10
mov byte [esi + 0x50], al
jmp case.default.0x4edb32
movzx eax, byte [esi + 0x50]
and eax, 0xffffff8b
or eax, 8
mov byte [esi + 0x50], al
jmp case.default.0x4edb32
movzx eax, byte [esi + 0x50]
or eax, 4
and eax, 0xffffff87
mov byte [esi + 0x50], al
test byte [ebp + 0x10], 8
je 0x4edc31
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x16c]
test al, 1
jne 0x4edba8
test al, 2
jne 0x4edba8
not eax
and eax, 4
shr eax, 2
jmp 0x4edbaa
xor eax, eax
push eax
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0x1c]
call fcn.00511e00
add esp, 0xc
test eax, eax
je 0x4edc25
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4eea69
test byte [edx + 0x44], 2
je 0x4edc00
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4edbf3
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
or byte [esi + 0x4f], 2
jmp 0x4edc37
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 0x16b], 0x20
je 0x4edc4c
movzx eax, byte [esi + 0x4c]
or eax, 1
jmp 0x4edc53
movzx eax, byte [esi + 0x4c]
or eax, 2
mov byte [esi + 0x4c], al
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16e], 0xef
test byte [ebp + 0x12], 8
je 0x4ede6b
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c8]
push eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea esi, [ebp + 0x14]
push esi
call fcn.00510550
add esp, 0x10
test eax, eax
jne 0x4eddd6
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
push 0
mov edi, dword [ebp - 0x38]
lea edx, [esi + 1]
push edx
call fcn.00505140
add esp, 0xc
test eax, eax
jne 0x4eddd6
test esi, esi
jle 0x4edcde
xor eax, eax
mov dword [ebp - 0x18], ebx
mov ebx, eax
movsx edx, byte [ebx + edi]
push edx
call fcn.00555620
mov edx, dword [ebp - 0x1c]
add esp, 4
mov byte [edx + ebx], al
inc ebx
cmp ebx, esi
jl 0x4edcc3
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov byte [esi + eax], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], edx
cmp byte [edx + esi - 1], 0x20
jne 0x4edd0c
mov eax, edx
cmp esi, 1
jle 0x4edd09
mov byte [eax + esi - 1], 0
dec esi
mov eax, dword [ebp - 0x1c]
cmp byte [eax + esi - 1], 0x20
je 0x4edcf4
mov dword [ebp - 0x44], eax
mov edi, 0x5ed074
mov esi, dword [ebp - 0x44]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4edd34
test dl, dl
je 0x4edd30
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4edd34
add edi, 2
add esi, 2
test dl, dl
jne 0x4edd14
xor eax, eax
jmp 0x4edd39
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4edd46
mov dword [ebp - 0x28], 0
jmp 0x4edd7e
mov edi, 0x5ed070
mov esi, dword [ebp - 0x44]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4edd6e
test dl, dl
je 0x4edd6a
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4edd6e
add edi, 2
add esi, 2
test dl, dl
jne 0x4edd4e
xor eax, eax
jmp 0x4edd73
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4eddc0
mov dword [ebp - 0x28], 1
push dword [ebp - 0x44]
call fcn.00505200
add esp, 4
test eax, eax
jne 0x4eddd6
test byte [ebp + 0x12], 0x10
je 0x4eddd6
lea eax, [ebp - 0x1c8]
push eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea esi, [ebp + 0x14]
push esi
call fcn.00510550
add esp, 0x10
test eax, eax
jne 0x4eddd6
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], dl
jmp 0x4eddd6
push dword [ebp - 0x44]
call fcn.00505200
add esp, 4
test eax, eax
jne 0x4eddd6
mov eax, 0x30
jmp 0x4eddda
test eax, eax
je 0x4ede41
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4eea83
test byte [edx + 0x44], 2
je 0x4ede1c
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ede0f
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0
je 0x4ede6b
movsx eax, byte [ebp - 0x20]
cmp eax, 5
jl 0x4ede55
cmp eax, 0x11
jle 0x4ede6b
push 0x257
push str.for_rseq_fmt.c
push 2
push 8
call fcn.004db180
add esp, 0x10
mov esi, dword [ebp - 0x10]
test byte [esi + 0x16b], 4
je 0x4edeee
test byte [esi + 0x16d], 4
jne 0x4eec6a
mov ecx, dword [esi + 0xb4]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [esi + 0x16c]
and ecx, 8
mov edx, dword [esi + 0xc0]
cmp ecx, 8
mov edi, dword [esi + 0xc4]
mov eax, dword [esi + 0xb0]
je 0x4eea9d
mov ecx, dword [esi + 0x38]
sub eax, edx
add ecx, dword [esi + 0xd0]
add ecx, eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xf0]
test edx, edx
je 0x4edee0
mov eax, dword [ecx + 0x3c]
sub edx, eax
add edx, dword [ecx + 0x38]
mov dword [ecx + 0x90], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x50], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
jmp 0x4edef1
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4edf08
movzx eax, byte [eax + 0x1f]
test eax, eax
je 0x4edf08
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x48], eax
jmp 0x4edff7
xor eax, eax
push eax
push eax
push esi
call fcn.005151b0
add esp, 0xc
test eax, eax
je 0x4edfd3
test byte [ebp + 0x12], 8
je 0x4edf6c
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4edf6c
movsx edx, byte [ebp - 0x20]
add edx, 0xfffffffb
cmp edx, 0xc
ja case.default.0x4ee067
jmp dword [edx*4 + 0x5ed960]
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x4edf6c
mov dword [ecx], 0
jmp 0x4edf6c
xor edx, edx
mov word [ecx], dx
jmp 0x4edf6c
mov byte [ecx], 0
jmp 0x4edf6c
mov eax, 0x30
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4eee08
test byte [edx + 0x44], 2
je 0x4edfae
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4edfa1
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add dword [eax + 0x98], 1
adc dword [eax + 0x9c], 0
mov edx, dword [ebp - 0x10]
and byte [edx + 0x16f], 0xfb
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x48], ecx
mov edx, dword [ebp - 0x10]
movzx esi, byte [edx + 0x16e]
mov eax, esi
shr esi, 1
and eax, 0xfffffff7
and esi, 1
shl esi, 3
or eax, esi
mov byte [edx + 0x16e], al
test byte [ebp + 0x12], 8
jne 0x4ee030
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4ee0af
mov byte [eax + 0x1f], 0
jmp 0x4ee0af
cmp dword [ebp - 0x28], 0
je 0x4ee046
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4ee0af
mov byte [eax + 0x1f], 0
jmp 0x4ee0af
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [edx + 0x1f], 1
je 0x4ee0af
movsx edx, byte [ebp - 0x20]
lea ecx, [edx - 5]
cmp ecx, 0xc
ja case.default.0x4ee067
jmp dword [ecx*4 + 0x5ed994]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4ee089
mov dword [eax], 0
jmp 0x4ee089
xor ecx, ecx
mov word [eax], cx
jmp 0x4ee089
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10c], 0
mov esi, dword [ebp - 0x10]
or byte [esi + 0x16e], 0x10
mov edi, dword [ebp - 0x10]
mov byte [edi + 0x15b], dl
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.004ef050
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c8]
push eax
push edi
call fcn.00505c70
add esp, 8
test eax, eax
jne 0x4ed87d
mov ecx, dword [ebp - 0x1c8]
xor edx, edx
mov dword [ecx + 0x84], edx
mov edi, dword [ebp - 0x1c8]
movzx ecx, byte [ebp + 0x10]
and ecx, 1
mov dword [edi + 0xf4], edx
mov edi, dword [ebp - 0x1c8]
movzx eax, byte [edi + 0x16c]
and eax, 0xfffffffe
or eax, ecx
mov byte [edi + 0x16c], al
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ebx]
mov dword [ecx + 0xf4], eax
mov eax, dword [ebp - 0x1c8]
mov ebx, dword [ebx + 4]
mov dword [eax + 0x84], ebx
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4ee1a8
test byte [eax + 0x44], 2
je 0x4ee183
mov dword [eax + 0x38], esi
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], esi
mov ebx, dword [ebp - 0x1c8]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4ee174
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c8]
mov dword [eax + 0x64], edx
mov eax, esi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
cmp eax, 6
je 0x4ee6d0
cmp eax, 0x52
je 0x4ee5ec
cmp eax, 0x3b
je 0x4ee4e0
cmp eax, 0x3c
je 0x4ee3a5
cmp eax, 0x51
je 0x4ee2c1
cmp eax, 0x53
jne 0x4ed9c0
push 3
lea eax, [ebp - 0x48]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.004f77b0
add esp, 0x14
test eax, eax
jne 0x4ee244
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x163]
mov byte [ecx + 0x164], dl
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x20
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
mov byte [edx + 0x163], al
movsx eax, byte [esi + 4]
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee2a7
test byte [edx + 0x44], 2
je 0x4ee282
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee275
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x48]
push eax
push 0x51
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1c8], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x1c8]
add esp, 0x14
test eax, eax
jne 0x4ee31f
mov ecx, dword [ebp - 0x10]
add esi, 4
add edx, 8
movzx eax, byte [ecx + 0x15f]
mov byte [ecx + 0x160], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 0x10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
mov byte [ecx + 0x15f], al
movsx eax, byte [esi]
cmp eax, 0x38
je 0x4ee382
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee38b
test byte [edx + 0x44], 2
je 0x4ee35d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee350
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x4ee1f3
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x48]
push eax
push 0x3c
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1c8], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x1c8]
add esp, 0x14
test eax, eax
jne 0x4ee45a
mov dword [ebp - 0x1c4], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [esi + 0x16e]
mov eax, ecx
shr ecx, 1
and eax, 0xfffffffb
and ecx, 1
shl ecx, 2
or eax, ecx
mov byte [esi + 0x16e], al
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c4]
or byte [eax + 0x173], 8
mov eax, dword [ebp - 0x48]
cmp eax, 2
jne 0x4ee43a
mov dword [ebp - 0x1c4], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx eax, byte [esi + 0x16e]
add ecx, ecx
and eax, 0xfffffffd
or eax, ecx
mov byte [esi + 0x16e], al
mov esi, dword [ebp - 0x1c4]
jmp 0x4ee447
cmp eax, 1
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16e], 0xfd
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x4ee4bd
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee4c6
test byte [edx + 0x44], 2
je 0x4ee498
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee48b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x4ee1ea
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x48]
push eax
push 0x3b
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1c8], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x1c8]
add esp, 0x14
test eax, eax
jne 0x4ee566
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 0x159]
mov byte [ecx + 0x15a], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 4
mov eax, dword [ebp - 0x48]
cmp eax, 2
je 0x4ee549
cmp eax, 1
jne 0x4ee538
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x27
jmp 0x4ee553
cmp eax, 3
jne 0x4ee549
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0x22
jmp 0x4ee553
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x159], 0
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x4ee5c9
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee5d2
test byte [edx + 0x44], 2
je 0x4ee5a4
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee597
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x4ee1e1
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x48]
push eax
push 0x52
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1c8], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x1c8]
add esp, 0x14
test eax, eax
jne 0x4ee64a
mov ecx, dword [ebp - 0x10]
add esi, 4
add edx, 8
movzx eax, byte [ecx + 0x161]
mov byte [ecx + 0x162], al
mov eax, dword [ebp - 0x10]
or byte [eax + 0x173], 2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
mov byte [ecx + 0x161], al
movsx eax, byte [esi]
cmp eax, 0x38
je 0x4ee6ad
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee6b6
test byte [edx + 0x44], 2
je 0x4ee688
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee67b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x4ee1d8
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x48]
push eax
push 6
push dword [edx]
push dword [edx + 4]
mov dword [ebp - 0x1c8], edx
call fcn.004f77b0
mov edx, dword [ebp - 0x1c8]
add esp, 0x14
test eax, eax
jne 0x4ee761
mov dword [ebp - 0x1c4], esi
mov esi, dword [ebp - 0x10]
movzx ecx, byte [esi + 0x16b]
mov eax, ecx
shr ecx, 5
and eax, 0xffffffbf
and ecx, 1
shl ecx, 6
or eax, ecx
mov byte [esi + 0x16b], al
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c4]
or byte [eax + 0x173], 1
mov eax, dword [ebp - 0x48]
cmp eax, 1
je 0x4ee744
cmp eax, 2
jne 0x4ee744
mov eax, dword [ebp - 0x10]
or byte [eax + 0x16b], 0x20
jmp 0x4ee74e
mov eax, dword [ebp - 0x10]
and byte [eax + 0x16b], 0xdf
add esi, 4
add edx, 8
movsx eax, byte [esi]
cmp eax, 0x38
je 0x4ee7c4
jmp 0x4ed9bb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ee7cd
test byte [edx + 0x44], 2
je 0x4ee79f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4ee792
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
jmp 0x4ee1cf
push ecx
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp byte [esi + 2], 0x4f
jne 0x4ed9c0
mov eax, dword [ebp - 0x10]
test byte [eax + 0x16b], 4
jne 0x4ee8f0
test byte [eax + 0x169], 0x20
jne 0x4ee87d
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4ee930
test byte [edx + 0x44], 2
je 0x4ee853
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4ee841
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6d
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4ee94f
test byte [edx + 0x44], 2
je 0x4ee8c9
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x4ee8b7
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6e
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
add ecx, 0xffffffff
mov dword [ebp - 0x1c4], esi
mov esi, dword [edx + 4]
adc esi, 0xffffffff
add edx, 8
mov dword [eax + 0xb0], ecx
xor ecx, ecx
mov dword [eax + 0xb4], esi
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0xb4]
sub esi, ecx
mov esi, dword [ebp - 0x1c4]
jl 0x4ee96b
add esi, 4
movsx eax, byte [esi]
jmp 0x4ed9b2
push eax
mov edx, 0x6d
push edx
push edx
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4ee9da
test byte [edx + 0x44], 2
je 0x4ee9b0
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4ee99e
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x6f
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 2]
cmp eax, 0x4e
jne 0x4ee1c6
mov ecx, dword [ebp - 0x10]
add esi, 4
mov eax, dword [edx]
mov dword [ecx + 0xf4], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add edx, 8
mov dword [ecx + 0x84], eax
movsx eax, byte [esi]
jmp 0x4ed9a9
push eax
push 0x1f
push 0x101
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, eax
sub ecx, edx
mov ecx, dword [ebp - 0x18]
sbb ecx, edi
jl 0x4eeacd
mov ecx, dword [esi + 0xc8]
add ecx, edx
mov dword [ebp - 0x44], esi
mov esi, dword [esi + 0xcc]
adc esi, edi
mov edi, eax
sub edi, ecx
mov ecx, dword [ebp - 0x18]
sbb ecx, esi
mov esi, dword [ebp - 0x44]
jl 0x4edeb2
push 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push ecx
push eax
mov esi, dword [esi + 0xe4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x4eec45
mov ecx, dword [ebp - 0x40]
mov edx, 0xffffffff
sub eax, edx
sub ecx, edx
or eax, ecx
je 0x4eeba5
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 0xb0]
mov eax, dword [edx + 0xb4]
mov dword [edx + 0xc0], edi
mov dword [edx + 0xc4], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], eax
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov edx, dword [ebp - 0x10]
mov edi, dword [edx + 0xc8]
mov dword [edx + 0xf0], edi
mov ecx, dword [ebp - 0x10]
and byte [ecx + 0x16d], 0xfd
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x90], eax
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x50], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4edf08
mov byte [eax + 0x1f], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
jmp 0x4edef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4eec26
test byte [eax + 0x44], 2
je 0x4eebfc
mov edx, 0x27
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4eebea
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x27
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x27
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ecx
mov eax, 0x27
push eax
push eax
push 1
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4eec5f
mov eax, 0xffffffff
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
jmp 0x4eeba5
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
jmp 0x4eeaf9
mov eax, dword [esi + 0x13c]
test eax, eax
mov edx, dword [esi + 0x38]
jne 0x4eec7c
mov eax, 0x20000
mov ecx, dword [esi + 0x40]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp ecx, eax
ja 0x4eecae
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
push edx
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x4eed12
mov ecx, 1
jmp 0x4eed12
mov edi, ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], ebx
mov ebx, edx
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
push ebx
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4eecdf
mov ebx, dword [ebp - 0x18]
mov ecx, 0xffffffff
jmp 0x4eed12
mov eax, dword [esi + 0x13c]
test eax, eax
mov ecx, dword [ebp - 0x3c]
jne 0x4eecf1
mov eax, 0x20000
sub edi, ecx
add ebx, ecx
cmp edi, eax
jae 0x4eed02
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x4eed06
jmp 0x4eed0a
test edi, edi
je 0x4eed0a
test ecx, ecx
ja 0x4eecbb
mov ebx, dword [ebp - 0x18]
mov ecx, 1
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], edx
cdq
add eax, dword [esi + 0xc0]
mov edi, dword [esi + 0x38]
mov dword [esi + 0x40], edi
adc edx, dword [esi + 0xc4]
add edi, dword [esi + 0xf8]
and byte [esi + 0x16d], 0xfb
mov dword [esi + 0x44], edi
cmp ecx, 0xffffffff
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
je 0x4eed6b
mov esi, dword [ebp - 0x10]
jmp 0x4ede84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xe8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4eede9
test byte [eax + 0x44], 2
je 0x4eedbf
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x4eedad
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov eax, 0x26
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx edx, byte [eax + 0x168]
movzx esi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr esi, 7
or edx, esi
mov byte [eax + 0x168], dl
mov esi, dword [ebp - 0x10]
movzx eax, byte [ebp + 0x12]
shr eax, 2
and eax, 1
movzx edx, byte [esi + 0x168]
add eax, eax
and edx, 0xfffffffd
or edx, eax
movzx eax, byte [ebp + 0x13]
mov byte [esi + 0x168], dl
mov esi, eax
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
movzx ebx, byte [edx + 0x168]
lea ecx, [esi*4]
and ebx, 0xfffffffb
or ebx, ecx
mov byte [edx + 0x168], bl
mov ebx, eax
mov ecx, dword [ebp - 0x10]
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 - 0x10]
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, esi
mov ebx, dword [ebp - 0x10]
shl ecx, 5
shl esi, 3
movzx edx, byte [ebx + 0x168]
and edx, 0xffffffdf
or edx, ecx
mov byte [ebx + 0x168], dl
mov edx, eax
mov ecx, dword [ebp - 0x10]
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 - 0x10]
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 ecx, dword [ebp - 0x10]
shl esi, 6
shl eax, 7
movzx edx, byte [ecx + 0x168]
and edx, 0xffffffbf
or edx, esi
mov byte [ecx + 0x168], dl
mov ecx, edi
mov esi, dword [ebp - 0x10]
shr ecx, 1
and ecx, 1
movzx ebx, byte [esi + 0x168]
and ebx, 0x7f
or ebx, eax
mov eax, edi
mov byte [esi + 0x168], bl
and eax, 1
mov esi, dword [ebp - 0x10]
shl ecx, 5
shr edi, 2
movzx edx, byte [esi + 0x169]
and edi, 3
and edx, 0xfffffffe
add edi, edi
or edx, eax
mov byte [esi + 0x169], dl
mov eax, dword [ebp - 0x10]
movzx ebx, byte [eax + 0x171]
and ebx, 0xffffffdf
or ebx, ecx
mov byte [eax + 0x171], bl
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
movzx edx, byte [eax + 0x169]
and edx, 0xfffffff9
or edx, edi
mov edi, 1
push edi
push edi
mov byte [eax + 0x169], dl
push edi
push dword [ebp - 0x10]
call fcn.004f9160
add esp, 0x10
test eax, eax
je 0x4ef024
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4ef02c
test byte [edx + 0x44], 2
je 0x4eefff
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x4eeff2
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
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 - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
jmp 0x4ed9ea
push ecx
push eax
push eax
push 2
call fcn.004d9080
add esp, 0x10
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret