Function at 0x6f2944
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x6f294d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x6f2966
add esp, 0xfffffff0
call fcn.004086b4
mov esi, ecx
mov byte [ebp - 0x51], dl
mov dword [ebp - 0x50], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
call fcn.00409f30
lea eax, [ebp - 0x4c]
mov edx, dword [0x6c3ebc]
call fcn.0040b5b4
xor eax, eax
push ebp
push 0x6f3afb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [eax + 0x24], edx
call fcn.006f0228
push ebp
push 0x6f3a92
push dword fs:[0]
mov dword fs:[0], esp
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x6f29d6
mov edx, 0x771664
mov eax, 0x771660
call fcn.006c7d50
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x30], esi
test byte [ebp + 8], 0x20
setne al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x34], al
test byte [ebp + 8], 0x40
setne al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x35], al
test byte [ebp + 9], 1
setne al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [eax + 0x28], edx
lea edx, [ebp - 0xf0]
mov eax, 0x6f1eec
call fcn.006c6808
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
add eax, 0xa
add eax, 0xf50
xor edx, edx
call fcn.006ef9b8
mov ebx, eax
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x24], ebx
mov byte [ebx], 0xff
mov byte [ebx + 1], 0x25
lea eax, [ebx + 6]
mov dword [ebx + 2], eax
mov edx, dword [ebp - 0x50]
mov eax, edi
mov dword [edx + 8], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x14], eax
mov byte [ebp - 0x79], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, dword [0x771588]
call fcn.006ef588
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
mov cl, 1
mov eax, dword [0x771588]
call fcn.006ef588
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x6f2aca
mov eax, dword [ebp - 0x50]
cmp dword [eax + 8], 0x80000000
jb 0x6f2ad2
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a308
lea eax, [ebp - 8]
call fcn.00409e60
jmp 0x6f2ad2
lea eax, [ebp - 8]
call fcn.00409e60
lea edx, [ebp - 0xf8]
mov eax, dword [0x771568]
call fcn.005bc8d8
push dword [ebp - 0xf8]
push 0x6f3b34
push dword [ebp - 4]
lea eax, [ebp - 0xf4]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0xf4]
call fcn.0040a8ec
push eax
call fcn.006ef074
mov dword [ebp - 0x58], eax
cmp dword [ebp - 8], 0
je 0x6f2b5e
lea edx, [ebp - 0x100]
mov eax, dword [0x771568]
call fcn.005bc8d8
push dword [ebp - 0x100]
push 0x6f3b34
push dword [ebp - 8]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0xfc]
call fcn.0040a8ec
push eax
call fcn.006ef074
mov dword [ebp - 0x5c], eax
jmp 0x6f2b63
xor eax, eax
mov dword [ebp - 0x5c], eax
push ebp
push 0x6f3a6f
push dword fs:[0]
mov dword fs:[0], esp
cmp dword [ebp - 0x58], 0
je 0x6f2b88
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp dword [ebp - 0x5c], 0
je 0x6f2b99
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push ebp
push 0x6f3a3c
push dword fs:[0]
mov dword fs:[0], esp
push 0xffffffffffffffff
lea edx, [ebp - 0x108]
mov eax, dword [0x771580]
call fcn.005bc8d8
push dword [ebp - 0x108]
push 0x6f3b34
push dword [ebp - 4]
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0x104]
call fcn.0040a8ec
push eax
call fcn.006ef574
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
call fcn.006f28f4
xor al, 1
mov edx, dword [ebp - 0x50]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 5], 0
je 0x6f2c78
cmp dword [ebp - 8], 0
je 0x6f2c78
push 0xffffffffffffffff
lea edx, [ebp - 0x110]
mov eax, dword [0x771580]
call fcn.005bc8d8
push dword [ebp - 0x110]
push 0x6f3b34
push dword [ebp - 8]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0x10c]
call fcn.0040a8ec
push eax
call fcn.006ef574
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
call fcn.006f28f4
xor al, 1
mov edx, dword [ebp - 0x50]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 5], 0
jne 0x6f2c78
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a308
push ebp
push 0x6f3a09
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 0x50]
cmp byte [eax + 5], 0
je 0x6f3203
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov eax, esi
call fcn.006f23f4
test al, al
je 0x6f2ccd
mov dword [ebp - 0x74], 0x770001
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
test byte [ebp + 8], 2
jne 0x6f2e0a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.006f2334
test al, al
je 0x6f2cf1
or dword [ebp + 8], 2
jmp 0x6f2e0a
test byte [ebp + 0xb], 0x80
jne 0x6f2e0a
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
call fcn.006c6808
cmp byte [ebp - 0x4c], 0
je 0x6f2d3d
cmp byte [ebp - 0x24], 0
je 0x6f2d3d
cmp byte [0x77140a], 0
jne 0x6f2e0a
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.006f2770
test al, al
je 0x6f2e0a
or dword [ebp + 8], 2
cmp byte [ebp - 0x4c], 0
je 0x6f2d54
cmp byte [ebp - 0x24], 0
je 0x6f2d54
mov dword [ebp - 0x74], 0x770004
test byte [ebp + 9], 2
je 0x6f2e0a
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
call fcn.006c5538
cmp byte [ebp - 0xaa], 0
je 0x6f2e0a
cmp dword [ebp - 0xa8], 0
je 0x6f2e0a
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xa8]
call fcn.006c6808
mov ebx, 0xa
cmp byte [ebp - 0x4c], 0
je 0x6f2df1
cmp byte [ebp - 0x24], 0
jne 0x6f2df1
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xa8]
call fcn.006c5538
push esi
lea esi, [ebp - 0x134]
lea edi, [ebp - 0xb0]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
cmp byte [ebp - 0xaa], 0
je 0x6f2df1
cmp dword [ebp - 0xa8], 0
je 0x6f2df1
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xa8]
call fcn.006c6808
dec ebx
jne 0x6f2d9c
cmp byte [ebp - 0x4c], 0
je 0x6f2e0a
cmp byte [ebp - 0x24], 0
je 0x6f2e0a
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
and dword [ebp + 8], 0xfffffffd
test byte [ebp + 8], 2
jne 0x6f2e4a
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.006f258c
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f3213
cmp dword [ebp - 8], 0
je 0x6f3213
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a308
jmp 0x6f3213
test byte [ebp + 8], 0x10
jne 0x6f31e3
test esi, esi
je 0x6f2ec7
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x6f2ea0
lea edx, [ebp - 0x13c]
mov eax, dword [0x771548]
call fcn.005bc8d8
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x138]
mov dl, 1
call fcn.005bc90c
mov eax, dword [ebp - 0x138]
push eax
call sub.kernel32.dll_GetModuleHandleW_2
cmp esi, eax
sete al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x37], al
jmp 0x6f2ec7
lea edx, [ebp - 0x140]
mov eax, dword [0x771548]
call fcn.005bc8d8
mov eax, dword [ebp - 0x140]
push eax
call sub.kernel32.dll_GetModuleHandleA
cmp esi, eax
sete al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x37], 0
je 0x6f2ee1
test byte [ebp + 8], 0x80
je 0x6f2ee1
mov eax, esi
call fcn.006ef9e4
mov ebx, eax
jmp 0x6f2ee3
xor ebx, ebx
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x37], 0
je 0x6f2ef4
test ebx, ebx
je 0x6f31c3
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x6f2f24
mov eax, dword [ebp - 0x50]
cmp dword [eax + 8], 0x80000000
jae 0x6f2f28
test esi, esi
je 0x6f2f24
mov eax, esi
call fcn.005c30c8
mov edx, eax
mov eax, esi
call fcn.006f258c
test al, al
jne 0x6f2f28
xor eax, eax
jmp 0x6f2f2a
mov al, 1
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f2f58
cmp dword [ebp - 8], 0
je 0x6f2f4a
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a308
push 0
push 0xa
call fcn.006c7df8
mov dword [ebp - 0x6c], eax
jmp 0x6f2f67
xor edx, edx
mov eax, 0xa
call fcn.006ef9b8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x6c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x6c]
add eax, 6
mov edx, dword [ebp - 0x6c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 6], eax
mov eax, dword [0x773318]
mov dword [eax], fcn.006ef780
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0xc]
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x771584]
call fcn.006ef588
push 4
lea edx, [ebp - 0x148]
mov eax, dword [0x771580]
call fcn.005bc8d8
push dword [ebp - 0x148]
push 0x6f3b34
push dword [ebp - 0xc]
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0x144]
call fcn.0040a8ec
push eax
call fcn.006ef1bc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x6f303a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x6f302c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_UnmapViewOfFile
jmp 0x6f303a
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x6f3168
push ebx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x6c]
mov eax, esi
call fcn.006efb78
test al, al
jne 0x6f307a
call fcn.006efd88
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 8]
jne 0x6f3168
mov eax, dword [ebp - 0x6c]
call fcn.006efdac
test al, al
je 0x6f3168
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f30c2
mov eax, dword [ebp - 0x60]
call fcn.006c7d00
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.006efd88
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 8]
je 0x6f30c2
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x6c]
call fcn.006efe04
test byte [ebp + 8], 4
setne al
call fcn.006f0274
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x37], 0
je 0x6f3124
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x6f3108
lea edx, [ebp - 0x150]
mov eax, dword [0x771548]
call fcn.005bc8d8
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x14c]
mov dl, 1
call fcn.005bc90c
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_LoadLibraryW
jmp 0x6f3124
lea edx, [ebp - 0x154]
mov eax, dword [0x771548]
call fcn.005bc8d8
mov eax, dword [ebp - 0x154]
push eax
call sub.kernel32.dll_LoadLibraryA_1
xor eax, eax
push ebp
push 0x6f314a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x6c]
call fcn.006efd60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6f3154
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x79], 1
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x6f3213
cmp dword [ebp - 0x60], 0
je 0x6f3177
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f318d
push 0
mov eax, dword [ebp - 0x6c]
push eax
call fcn.006c7ef8
jmp 0x6f319d
push 0x8000
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_VirtualFree_1
cmp dword [ebp - 0x74], 0
jne 0x6f31aa
mov dword [ebp - 0x74], 0x770002
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
mov dword [ebp - 0x74], 0x770002
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
mov dword [ebp - 0x74], 0x770002
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0x53
sete al
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f3222
test byte [ebp + 8], 4
jne 0x6f3226
xor eax, eax
jmp 0x6f3228
mov al, 1
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x20], al
test al, al
je 0x6f33f1
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x10], 0x80000000
jae 0x6f334d
mov eax, dword [ebp - 0x50]
add eax, 0x18
push eax
lea eax, [ebp - 0x4c]
push eax
test byte [ebp + 8], 8
setne cl
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.006c8158
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x10], 0
jne 0x6f3294
mov dword [ebp - 0x74], 0x770003
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
mov eax, dword [ebp - 0x2c]
call fcn.0040c1b8
mov esi, eax
test esi, esi
jl 0x6f3336
inc esi
xor ebx, ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [edx + eax*4]
cmp byte [ecx + 0x10], 0
jne 0x6f332e
cmp dword [ecx + 0x18], 0
je 0x6f332e
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 0x14]
jne 0x6f332e
mov eax, dword [ecx + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x20], 0
jne 0x6f331d
mov edx, 4
mov eax, dword [ebp - 0x8c]
call fcn.006c80c0
test al, al
je 0x6f332e
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x8c]
mov dword [edx], eax
inc ebx
dec esi
jne 0x6f32a9
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
jmp 0x6f33f1
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x10]
call fcn.006c6808
cmp byte [ebp - 0x4c], 0
jne 0x6f3381
mov dword [ebp - 0x74], 0x770003
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
call fcn.004095b0
jmp 0x6f3a99
mov eax, dword [ebp - 0x2c]
call fcn.0040c1b8
mov esi, eax
test esi, esi
jl 0x6f33f1
inc esi
xor ebx, ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x2c]
lea edi, [edx + eax*4]
cmp byte [edi + 0x10], 0
jne 0x6f33ed
cmp dword [edi + 0x18], 0
je 0x6f33ed
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 0x14]
jne 0x6f33ed
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x18], 0
jne 0x6f33e2
push 0
push 4
call fcn.006c7df8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
mov edx, dword [edi + 0x18]
mov dword [edx], eax
inc ebx
dec esi
jne 0x6f3392
xor eax, eax
mov dword [ebp - 0x64], eax
xor ecx, ecx
push ebp
push 0x6f39d3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x50]
cmp byte [eax + 5], 0
je 0x6f3666
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f342b
push 0
push 0x22
call fcn.006c7df8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x3c], eax
jmp 0x6f345b
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x6f3448
push 0x22
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x3c], eax
jmp 0x6f345b
mov edx, dword [ebp - 0x70]
mov eax, 0x22
call fcn.006ef9b8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x3c], eax
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x3c]
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.006c5538
cmp byte [ebp - 0xa9], 0
je 0x6f34f9
cmp dword [ebp - 0x9c], 1
jne 0x6f34ac
cmp word [ebp - 0xae], 0xeb
je 0x6f34a4
mov byte [esi], 0xf
movzx eax, byte [ebp - 0xae]
and al, 0xf
add al, 0x80
mov byte [esi + 1], al
add esi, 6
jmp 0x6f34e8
mov byte [esi], 0xe9
add esi, 5
jmp 0x6f34e8
cmp dword [ebp - 0x9c], 2
jne 0x6f34d3
mov edi, dword [ebp - 0x90]
sub edi, ebx
mov ecx, edi
sub ecx, 3
mov edx, esi
mov eax, ebx
inc eax
call fcn.004066d8
add edi, esi
inc edi
mov esi, edi
jmp 0x6f34e8
mov edi, dword [ebp - 0x90]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.004066d8
add esi, edi
mov edx, dword [ebp - 0xa8]
mov eax, esi
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x6f350e
mov edi, dword [ebp - 0x90]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.004066d8
add esi, edi
mov ebx, dword [ebp - 0x90]
mov eax, ebx
sub eax, dword [ebp - 0x70]
cmp eax, 6
jb 0x6f3464
mov byte [esi], 0xe9
add esi, 5
sub ebx, esi
sub esi, 4
mov dword [esi], ebx
push 4
lea edx, [ebp - 0x15c]
mov eax, dword [0x771580]
call fcn.005bc8d8
push dword [ebp - 0x15c]
push 0x6f3b34
push dword [ebp - 4]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040a7a4
mov eax, dword [ebp - 0x158]
call fcn.0040a8ec
push eax
call fcn.006ef1bc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x6f3726
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f358e
mov eax, dword [ebp - 0x60]
call fcn.006c7d00
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x6f3726
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f35c8
push 0
push 0x5c
call fcn.006c7df8
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
jmp 0x6f35d9
xor edx, edx
mov eax, 0x5c
call fcn.006ef9b8
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [eax], 2
mov dword [eax + 4], 8
mov edx, dword [ebp - 0x70]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
mov cx, word [edx + 4]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0xff
mov byte [eax + 0x17], 0x25
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x3c]
add edx, 0x1e
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x3c]
add ecx, 0x1e
mov dword [ecx], edx
mov edx, dword [ebp - 0x50]
cmp byte [edx + 0xc], 0
jne 0x6f363d
cmp byte [ebp - 0x79], 0
jne 0x6f363d
mov edx, dword [ebp - 0x60]
mov dword [eax + 8], edx
jmp 0x6f3642
xor edx, edx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x3c]
add edx, 0x1e
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x3c]
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x6f3726
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov esi, dword [eax]
mov eax, dword [esi]
mov eax, dword [esi + eax*8 + 0x14]
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jne 0x6f3726
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f36bc
push 0
mov eax, dword [esi + 4]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, 0x1c
push eax
call fcn.006c7df8
mov ebx, eax
jmp 0x6f36d3
mov eax, dword [esi + 4]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, 0x1c
xor edx, edx
call fcn.006ef9b8
mov ebx, eax
mov ecx, dword [esi + 4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, 0x1c
mov edx, ebx
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
call fcn.004066d8
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [eax], ebx
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f3716
push 0
mov eax, dword [ebp - 0x68]
push eax
call fcn.006c7ef8
jmp 0x6f3726
push 0x8000
push 0
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x20], 0
jne 0x6f38ae
test byte [ebp + 8], 1
jne 0x6f380c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
add eax, 0xa
add eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x28], eax
xor ebx, ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x28]
lea eax, [edx + eax*2]
mov byte [eax], 0x68
xor edx, edx
mov dword [eax + 1], edx
mov byte [eax + 5], 0xf0
mov word [eax + 6], 0x2583
lea edx, [eax + 1]
mov dword [eax + 8], edx
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0xc3
inc ebx
cmp ebx, 0x118
jne 0x6f3751
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
add eax, 0xa
mov ebx, eax
mov edx, ebx
mov eax, 0x6f1eec
mov ecx, dword [ebp - 0x78]
call fcn.004066d8
mov eax, dword [ebp - 0x78]
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x7729a8]
mov esi, dword [esi]
mov eax, 0x6f3b38
mov ecx, 4
mov edx, ebx
call esi
add eax, ebx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x78]
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x7729a8]
mov esi, dword [esi]
mov eax, 0x6f3b40
mov ecx, 4
mov edx, ebx
call esi
add eax, ebx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x10]
sub edx, ebx
sub edx, dword [ebp - 0x78]
mov dword [eax], edx
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xc], 0
je 0x6f38ae
push 0
push 0x22
call fcn.006c7df8
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x1c]
mov edi, eax
mov esi, 0x771721
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x772d9c]
mov eax, dword [eax]
mov dl, 1
call fcn.006c6954
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x1c]
inc edx
add edx, 5
sub eax, edx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x1c]
mov dword [edx + 2], eax
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [ebp - 0x50]
mov ebx, dword [edx + 0x1c]
mov dword [ebx + 7], eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x1e]
mov dword [ebx + 0x1a], eax
lea eax, [ebx + 0x1e]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x24]
mov dword [edx + 2], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcessId
push eax
call sub.kernel32.dll_GetCurrentProcess
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 8]
pop edx
call fcn.006f1750
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 0x50]
mov ecx, dword [eax + 0x16]
mov dword [edx + 0x44], ecx
mov cx, word [eax + 0x1a]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 0x50]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x4a], ecx
mov cx, word [eax + 0x14]
mov word [edx + 0x4e], cx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov dword [eax + edx*8 + 0x1c], ecx
mov ecx, dword [eax + edx*8 + 0x18]
mov dword [eax + edx*8 + 0x20], ecx
mov edx, dword [ebp - 0x50]
cmp byte [edx + 0xc], 0
je 0x6f391e
mov edx, dword [ebp - 0x50]
cmp byte [edx + 0x20], 0
jne 0x6f391e
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*8 + 0x14], ecx
jmp 0x6f392a
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + 2]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x1c]
mov edx, dword [eax + edx*8 + 0x18]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov edx, dword [eax + edx*8 + 0x10]
mov dword [edx], ecx
inc dword [eax]
mov eax, dword [ebp - 0x50]
mov byte [eax + 4], 1
mov eax, dword [ebp - 0x50]
cmp byte [eax + 5], 0
jne 0x6f39ae
cmp byte [0x77140b], 0
jne 0x6f39ae
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.006c6db0
test al, al
jne 0x6f39b6
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
add edx, 0x4a
cmp eax, dword [edx]
jne 0x6f39b6
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
add eax, 4
movzx eax, word [eax]
mov edx, dword [ebp - 0x50]
add edx, 0x4a
add edx, 4
cmp ax, word [edx]
jne 0x6f39b6
mov eax, dword [ebp - 0x50]
call fcn.006f40d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f39da
cmp dword [ebp - 0x64], 0
je 0x6f39d2
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f3b02
lea eax, [ebp - 0x15c]
mov edx, 0xa
call fcn.00409ecc
lea eax, [ebp - 0x110]
mov edx, 8
call fcn.00409ecc
lea eax, [ebp - 0xf0]
mov edx, dword [0x6c3ebc]
call fcn.0040b68c
lea eax, [ebp - 0x4c]
mov edx, dword [0x6c3ebc]
call fcn.0040b68c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00409ecc
lea eax, [ebp + 0x18]
call fcn.00409e60
ret