joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Compress data via winapi
Create thread
Get local ipv4 addresses
Get socket information
Initialize winsock library
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
call fcn.004055c6
push eax
push 0x41e9cc
push str.CONIN_
call fcn.004054d8
push 1
call fcn.004055c6
push eax
push 0x41e9d8
push str.CONOUT_
call fcn.004054d8
push 2
call fcn.004055c6
push eax
push 0x41e9d8
push str.CONOUT_
call fcn.004054d8
add esp, 0x30
push str.Azterion
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RtlDecompressBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42637c
mov dword [0x426378], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0
push 0x422378
call fcn.00403490
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
add esp, 0xc
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x401330
push 0x7f00
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call esi
push 0x7f00
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], str.Project_Azterion
call esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 0x60]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x401255
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x401255
mov eax, 2
mov dword [esp + 0x44], 0
push 0x270f
mov word [esp + 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x42], ax
lea eax, [esp + 0x40]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x401255
push 5
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x401255
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x10
push eax
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x42]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push str.SERVER_IS_ACTIVATED_ON_PORT__d_n
call fcn.00401010
mov edi, dword [sym.imp.WS2_32.dll_accept]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x54]
push eax
push esi
call edi
push 0
push 0
push eax
push 0x401c90
push 0
push 0
call ebx
jmp 0x401236
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.SERVER_CONNECTION_FAILED__Error:__d__n
call fcn.00401010
add esp, 8
call fcn.00409329
mov ecx, dword [esp + 0x1f4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402416
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402c40
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402c7f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402c7f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402c7f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402c7f
cmp dword [ecx + 0x74], 0xe
jbe 0x402c7f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40b66b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a6e0
push 0x41a6d8
push str.FlsAlloc
push 0x1f
call fcn.0040b587
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b69f
push dword [ebp + 8]
mov ecx, esi
call dword [0x419200]
call esi
jmp 0x40b6a5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b6e9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a6f0
push 0x41a6e8
push str.FlsGetValue
push 0x21
call fcn.0040b587
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b720
push dword [ebp + 8]
mov ecx, esi
call dword [0x419200]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b728
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a6f8
push 0x41a6f0
push str.FlsSetValue
push 0x22
call fcn.0040b587
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b762
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x419200]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410338
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4103d5
push ebx
push esi
call fcn.00410301
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00410295
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x410382
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4103d4
push edi
push eax
call fcn.0040be1a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4103a2
call fcn.0040b434
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4103d3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00410295
add esp, 0x20
test eax, eax
jne 0x4103c1
push edi
call fcn.0040b434
jmp 0x4103c9
push ebx
call fcn.0040b434
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4145ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x421f98]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4145ed
cmp byte [ebx], 0xa
jne 0x4145ed
or byte [edi + eax + 0x28], 4
jmp 0x4145f2
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4146f1
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4146d4
inc eax
cmp dl, 0xd
je 0x41461e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x414644
cmp eax, ecx
jae 0x414652
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x414606
jmp 0x4146f1
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4146cf
cmp dword [ebp - 0x10], 0
je 0x4146cf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x421f98]
test byte [eax + edi + 0x28], 0x48
je 0x4146a9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x414694
mov byte [esi], dl
jmp 0x4146a5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x421f98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4146f1
cmp byte [ebp - 1], 0xa
jne 0x4146b8
cmp esi, ebx
jne 0x4146b8
mov byte [esi], 0xa
jmp 0x4146f0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415171
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4146f1
mov byte [esi], 0xd
jmp 0x4146f0
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x421f98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4146ee
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4146f1
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4146fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x421f98]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414740
cmp word [ebx], dx
jne 0x414740
or byte [eax + edi + 0x28], 4
jmp 0x414745
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4148a8
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x414888
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x414786
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4147bc
cmp eax, edx
jae 0x4147ca
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x414761
jmp 0x4148a8
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414883
cmp dword [ebp - 0x18], 0
je 0x414883
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x421f98]
test byte [eax + edi + 0x28], 0x48
je 0x414859
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41481d
mov word [esi], cx
jmp 0x414854
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x421f98]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x421f98]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x421f98]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4148a8
pop eax
cmp word [ebp - 4], ax
jne 0x414869
cmp esi, ebx
jne 0x414869
mov word [esi], ax
jmp 0x4148a5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00415171
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4148a8
push 0xd
pop eax
jmp 0x414864
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x421f98]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4148a2
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4148a8
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x415d95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00415d11
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x415f04
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x415f04
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x415eb9
jg 0x415df1
test eax, eax
je 0x415eaf
push 1
push 0x1000
call fcn.0040b3d7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x415e14
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x415ea6
push 0x8000
push ebx
call fcn.0040a4c8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x415e3d
jg 0x415e38
cmp ecx, 0x1000
jb 0x415e3d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0040e6ff
add esp, 0x10
cmp eax, 0xffffffff
je 0x415e82
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x415e38
jl 0x415e69
test ecx, ecx
jne 0x415e2a
push dword [ebp - 0xc]
push ebx
call fcn.0040a4c8
push esi
call fcn.0040b434
add esp, 0xc
xor ebx, ebx
jmp 0x415f12
cmp byte [edi + 0x24], 0
je 0x415e99
cmp dword [edi + 0x20], 5
jne 0x415e99
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x415ea4
mov ebx, dword [edi + 0x18]
jmp 0x415ea6
xor ebx, ebx
push esi
call fcn.0040b434
pop ecx
jmp 0x415f12
test ecx, ecx
jg 0x415e7b
jl 0x415eb9
test eax, eax
jae 0x415e7b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00415171
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x415ed9
cmp byte [edi + 0x1c], 0
je 0x415e7b
jmp 0x415f0a
push ebx
call fcn.0041088e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x415e7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x415f12
cmp byte [edi + 0x1c], 0
je 0x415f0f
mov ebx, dword [edi + 0x18]
jmp 0x415f12
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00415171
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418340
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41836d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41836d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5f8cfa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5f8d39
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5f8d39
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5f8d39
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5f8d39
cmp dword [ecx + 0x74], 0xe
jbe 0x5f8d39
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5ffff8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x600095
push ebx
push esi
call fcn.005fffc1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005fff55
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x600042
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x600094
push edi
push eax
call fcn.005fe95b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x600062
call fcn.005fe9a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x600093
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005fff55
add esp, 0x20
test eax, eax
jne 0x600081
push edi
call fcn.005fe9a9
jmp 0x600089
push ebx
call fcn.005fe9a9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x6012a4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x625620
push 0x625618
push str.FlsAlloc
push 0x1f
call fcn.00601163
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6012d8
push dword [ebp + 8]
mov ecx, esi
call dword [0x60713c]
call esi
jmp 0x6012de
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x601322
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x625630
push 0x625628
push str.FlsGetValue
push 0x21
call fcn.00601163
mov esi, eax
add esp, 0x10
test esi, esi
je 0x601359
push dword [ebp + 8]
mov ecx, esi
call dword [0x60713c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x601361
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x625638
push 0x625630
push str.FlsSetValue
push 0x22
call fcn.00601163
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60139b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x60713c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x606760
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60678d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60678d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10031070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
xor bl, bl
call fcn.1000b530
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100021b0
test esi, esi
jne 0x10002013
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push str.English
jmp 0x1000215b
cmp esi, 1
jne 0x10002039
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Espanol
jmp 0x1000215b
cmp esi, 2
jne 0x1000205f
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Chinese
jmp 0x1000215b
cmp esi, 3
jne 0x10002085
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.French
jmp 0x1000215b
cmp esi, 4
jne 0x100020ab
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Italian
jmp 0x1000215b
cmp esi, 5
jne 0x100020d1
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Japanese
jmp 0x1000215b
cmp esi, 6
jne 0x100020f4
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Russe
jmp 0x1000215b
cmp esi, 7
jne 0x10002117
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Turk
jmp 0x1000215b
cmp esi, 8
jne 0x1000213a
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Portugues
jmp 0x1000215b
cmp esi, 9
jne 0x10002167
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Deutch
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002192
test dl, dl
je 0x1000218e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002192
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002172
xor eax, eax
jmp 0x10002197
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10008577
mov esp, ebp
pop ebp
ret
Function at 0x10006290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100211a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10031070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10006474
cmp byte [ebx + 0x3d], 0
je 0x10006474
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x100062e9
xor al, al
jmp 0x10006476
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005d70
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000635a
sub eax, 1
je 0x1000635e
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x10006426
xor bl, bl
jmp 0x10006428
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x10006396
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.1000e551
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x10006353
cmp byte [ebx + 0x3d], 0
je 0x10006426
test esi, esi
jne 0x10006314
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
sub ecx, edi
cmp ecx, 8
jbe 0x1000641c
lea esi, [edi + 8]
cmp esi, 0xfffffffe
ja 0x1000641c
cmp edx, esi
jae 0x10006404
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.10006ad0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x10006314
cmp edx, 0x10
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
cmovae ecx, eax
mov eax, dword [ebp - 0x18]
movq qword [ecx + eax], xmm0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x1000630e
test esi, esi
jne 0x100063d9
cmp edx, 0x10
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
cmovae ecx, eax
mov byte [ecx], 0
jmp 0x1000630e
push str.string_too_long
call fcn.10007914
mov bl, 1
cmp edx, 0x10
jb 0x10006470
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x10006467
test byte [ebp - 0x28], 0x1f
je 0x10006443
call fcn.1000e02c
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x1000644f
call fcn.1000e02c
sub eax, ecx
cmp eax, 4
jae 0x1000645b
call fcn.1000e02c
cmp eax, 0x23
jbe 0x10006465
call fcn.1000e02c
mov eax, ecx
push eax
call fcn.10008b66
add esp, 4
mov al, bl
jmp 0x10006476
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008577
mov esp, ebp
pop ebp
ret
Function at 0x10006950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021256
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10031070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100087e6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10007523
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10012b2d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100129ac

Function at 0x1001a349
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001a009