joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58f297
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6aedfc]
jne 0x58f2a1
repz ret
jmp fcn.0059881f

Function at 0x58f4be
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58f4ef
call fcn.005963be
mov dword [eax], esi
call fcn.005963ab
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00590470
add esp, 0x14
push 0x16
pop eax
jmp 0x58f544
test dword [ebp + 0xc], 0xfffffff9
jne 0x58f4cb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58f51c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005963d1
pop ecx
call fcn.005963ab
mov eax, dword [eax]
jmp 0x58f544
test al, 0x10
jne 0x58f542
test al, 1
je 0x58f542
test byte [ebp + 0xc], 2
je 0x58f542
call fcn.005963be
mov dword [eax], 5
call fcn.005963ab
mov dword [eax], 0xd
jmp 0x58f513
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5a3754
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00598997
and dword [ebp - 4], 0
cmp dword [0x7598a4], 0
mov ebx, eax
jne 0x5a3805
push 0x676428
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5a38b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x67641c
push edi
call esi
test eax, eax
je 0x5a38b6
push eax
call fcn.00598925
mov dword [esp], 0x67640c
push edi
mov dword [0x7598a4], eax
call esi
push eax
call fcn.00598925
mov dword [esp], 0x6763f8
push edi
mov dword [0x7598a8], eax
call esi
push eax
call fcn.00598925
mov dword [esp], 0x6763dc
push edi
mov dword [0x7598ac], eax
call esi
push eax
call fcn.00598925
pop ecx
mov dword [0x7598b4], eax
test eax, eax
je 0x5a3805
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00598925
pop ecx
mov dword [0x7598b0], eax
mov eax, dword [0x7598b0]
cmp eax, ebx
je 0x5a385d
cmp dword [0x7598b4], ebx
je 0x5a385d
push eax
call fcn.005989a0
push dword [0x7598b4]
mov esi, eax
call fcn.005989a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5a385d
test edi, edi
je 0x5a385d
call esi
test eax, eax
je 0x5a3854
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a3854
test byte [ebp - 0xc], 1
jne 0x5a385d
or dword [ebp + 0x10], 0x200000
jmp 0x5a3896
mov eax, dword [0x7598a8]
cmp eax, ebx
je 0x5a3896
push eax
call fcn.005989a0
pop ecx
test eax, eax
je 0x5a3896
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5a3896
mov eax, dword [0x7598ac]
cmp eax, ebx
je 0x5a3896
push eax
call fcn.005989a0
pop ecx
test eax, eax
je 0x5a3896
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x7598a4]
call fcn.005989a0
pop ecx
test eax, eax
je 0x5a38b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a38b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x79644798
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, str.8__
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3ec03338
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10003550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10003636
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10003625
jg 0x10003590
test edx, edx
je 0x10003625
nop dword [eax]
call fcn.10004c30
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100035e4
jg 0x100035a7
test esi, esi
je 0x100035e4
cmp ebx, eax
jg 0x100035b7
jl 0x100035b1
cmp edi, esi
jae 0x100035b7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.1001d140
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10003609
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x1000361f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10003590
jl 0x1000361f
test edi, edi
jne 0x10003590
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10003658
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1000365a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x100036d8
jg 0x1000366d
test esi, esi
je 0x100036d8
test eax, eax
jl 0x100036bc
jg 0x10003677
test ebx, ebx
je 0x100036bc
cmp edi, eax
jg 0x10003687
jl 0x10003681
cmp esi, ebx
jae 0x10003687
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.1001d140
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x100036d8
jg 0x100036bf
test esi, esi
je 0x100036d8
jmp 0x100036bf
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x100036d8
push eax
push esi
push 1
push edx
call fcn.10020d24
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10056050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10003c60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10003c9c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10003c9c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10003d84
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10003cc4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10003cf7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100202e2
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10003d57
sub eax, 1
je 0x10003d57
sub eax, 2
jne 0x10003d84
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.100202e2
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10003d74
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10020d24
add esp, 0x10
cmp edi, eax
jne 0x10003d84
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10003c87
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001b845
mov esp, ebp
pop ebp
ret 4
Function at 0x10004740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10056050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100047fa
cmp byte [esi + 0x3d], 0
je 0x100047fa
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100047e8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100047b0
sub eax, 1
je 0x100047b4
sub eax, 2
jne 0x100047e8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100047d1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10020d24
add esp, 0x10
cmp edi, eax
jne 0x100047e8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1001b845
mov esp, ebp
pop ebp
ret

Function at 0x10004b30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e5d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10056050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001b853
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1001adee
mov dword [esi + 4], eax
lea ebx, [edi + 4]
mov eax, dword [ebp - 0x10]
lea edx, [edi + 8]
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], esi
add edi, 0x14
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea esi, [eax + 0x24]
mov byte [ebx + 0x48], 0
add eax, 0x28
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x4c], 0
mov eax, dword [0x1005b8a0]
mov ecx, dword [0x1005b8a4]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e630
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10056050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001b853
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1001adee
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005690
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e73b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x10056050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [eax], 0x8b55ff8b
je 0x100058c6
cmp dword [0x1005b97c], 1
jne 0x1000575d
sub esp, 0xc
lea ecx, [ebp - 0x178]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nSP_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10005930
mov edx, str.Speed_Hack_detected_
lea ecx, [ebp - 0x178]
call fcn.10005930
lea ecx, [ebp - 0x174]
call fcn.10004900
test eax, eax
jne 0x1000574b
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005b98c], 1
jne 0x10005843
lea eax, [ebp - 0x18]
push eax
call fcn.10020f8f
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1002127c
sub esp, 8
lea ecx, [ebp - 0xc8]
mov esi, eax
push 0x1004c450
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10005930
push esi
call fcn.10021ca8
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.10005930
mov edx, str.SP_Scan:
lea ecx, [ebp - 0xc8]
call fcn.10005930
mov edx, str.Speed_Hack_detected_
lea ecx, [ebp - 0xc8]
call fcn.10005930
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10005930
lea ecx, [ebp - 0xc4]
call fcn.10004900
test eax, eax
jne 0x1000582b
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004c450
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc8]
call fcn.100030f0
mov eax, dword [0x1005b980]
push 0
cmp eax, 1
jne 0x10005875
push 0
push 0
push 0x10005660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10005885
push 0
push 0
push 0x10005630
jmp 0x10005858
cmp eax, 3
jne 0x10005895
push 0
push 0
push 0x10001f10
jmp 0x10005858
cmp eax, 4
jne 0x1000586f
push 0
push 0
push 0x1001a230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.SP_Scan
push str.Speed_Hack_detected_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000586d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006b10
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x1005b980]
cmp eax, 1
je 0x10006b5c
cmp eax, 4
je 0x10006b5c
push 0
cmp eax, 2
jne 0x10006b4c
push 0
push 0
push 0x10006ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10006b46
push 0
push 0
push 0x10001f10
jmp 0x10006b2f
push 0
push 0
push 0
push 0x10006ae0
jmp 0x10006b2f
Function at 0x10006f60
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e73b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x10056050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005b97c], 1
jne 0x10007008
sub esp, 0xc
lea ecx, [ebp - 0x178]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nHTTP_Server_connection_fail_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10005930
lea ecx, [ebp - 0x174]
call fcn.10004900
test eax, eax
jne 0x10006ff6
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005b98c], 1
jne 0x100070de
lea eax, [ebp - 0x18]
push eax
call fcn.10020f8f
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1002127c
sub esp, 8
lea ecx, [ebp - 0xc8]
mov esi, eax
push 0x1004c450
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10005930
push esi
call fcn.10021ca8
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.10005930
mov edx, str.HTTP_Server_connection_fail_
lea ecx, [ebp - 0xc8]
call fcn.10005930
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10005930
lea ecx, [ebp - 0xc4]
call fcn.10004900
test eax, eax
jne 0x100070c6
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004c450
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc8]
call fcn.100030f0
mov eax, dword [0x1005b980]
cmp eax, 1
je 0x1000711f
cmp eax, 3
je 0x1000711f
cmp eax, 4
je 0x1000711f
push 0
cmp eax, 2
jne 0x10007119
push 0
push 0
push 0x10006f00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10006f30
jmp 0x10007102
Function at 0x10012e90
Capabilities:
Check os version
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f220
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x10056050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4d4], esi
mov dword [ebp - 0x4c0], esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4bc]
push eax
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x4bc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x4b8], 6
jne 0x10012f27
cmp dword [ebp - 0x4b4], 1
jne 0x10012f27
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x14], 0xf
push 0x1004be2b
mov byte [esi], 0
call fcn.10004d50
jmp 0x100130af
push 0
push 0
push 0
push 1
push str.LicenseDownloader
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4c0], eax
test eax, eax
je 0x10012efd
cmp dword [edi + 0x14], 8
jb 0x10012f4c
mov edi, dword [edi]
push 0
push 0x80803000
push 0
push edi
push str.https:__openguard.com.tr_ip_index.php
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x4c8], eax
test eax, eax
je 0x10012efd
xor edi, edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], edi
push ecx
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1001306e
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4cc], ecx
test ecx, ecx
je 0x10013068
mov esi, dword [ebp - 0x414]
mov eax, esi
sub eax, edi
push ecx
cmp ecx, eax
ja 0x1001301a
lea eax, [edi + ecx]
cmp esi, 0x10
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
add edi, eax
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.1001d140
mov eax, dword [ebp - 0x4cc]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x1001303a
lea eax, [ebp - 0x410]
mov byte [ebp - 0x4d0], 0
push eax
push dword [ebp - 0x4d0]
push ecx
lea ecx, [ebp - 0x428]
call fcn.100054b0
lea eax, [ebp - 0x4c4]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x4c8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10013068
mov edi, dword [ebp - 0x418]
jmp 0x10012fc0
mov esi, dword [ebp - 0x4d4]
push dword [ebp - 0x4c0]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x4c8]
call edi
movups xmm0, xmmword [ebp - 0x428]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b845
mov esp, ebp
pop ebp
ret