joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41803a
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43959d
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x44c370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:UsersDe
lea ecx, [ebp - 0x12c]
call fcn.0040690c
and dword [ebp - 4], 0
push str.faultDes
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push str.ktop
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push str._ath
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push str.letes
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push str..exe
lea ecx, [ebp - 0x12c]
call fcn.00413ecd
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x12c]
call fcn.0040ebf3
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00423200
pop ecx
pop ecx
test eax, eax
jne 0x41810f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040780b
jmp 0x4181c7
mov dword [ebp - 0x130], 0x974
mov eax, 0xbcaeac
sub eax, dword [0x44d5a0]
push eax
push dword [ebp - 0x130]
push 0x44b018
call fcn.0040151d
add esp, 0xc
push dword [ebp - 0x130]
push 0x44b018
call fcn.004179a4
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x12c]
call fcn.0040ebf3
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4181a6
mov dword [ebp - 0x134], 0x976
mov eax, 0x86060
sub eax, dword [0x44d5a0]
push eax
push dword [ebp - 0x134]
push 0x44b990
call fcn.0040151d
add esp, 0xc
push dword [ebp - 0x134]
push 0x44b990
call fcn.004179a4
pop ecx
pop ecx
jmp 0x4181b8
push str.____CopyFile_failed
call fcn.004016d9
pop ecx
push 2
call fcn.0042319f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040780b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041bb9d
leave
ret

Function at 0x42905d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440f08
push 0x440f00
push str.FlsAlloc
push 0x1e
call fcn.00428ec9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x429091
push dword [ebp + 8]
mov ecx, esi
call dword [0x43a18c]
call esi
jmp 0x429097
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4290db
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440f18
push 0x440f10
push str.FlsGetValue
push 0x20
call fcn.00428ec9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x429112
push dword [ebp + 8]
mov ecx, esi
call dword [0x43a18c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x42c4a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c316

Function at 0x42c89f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041ca30
mov eax, dword [0x44c370]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0042a581
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42c8e1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x42ca3d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00437fb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x44e1d0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0042d898
mov ecx, dword [esi*4 + 0x44e1d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x42ca36
cmp eax, dword [edi + ecx + 0x24]
jne 0x42ca36
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ca36
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042d898
add esp, 0x14
test edx, edx
jl 0x42ca36
jg 0x42c9ac
test eax, eax
jb 0x42ca36
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x42ca36
jl 0x42c9c6
cmp dword [ebp - 0x1008], eax
ja 0x42ca36
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x42c9e4
test ebx, ebx
je 0x42ca1d
cmp ecx, edi
jae 0x42ca1d
mov al, byte [ecx]
cmp al, 0xd
jne 0x42c9fe
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42ca0a
cmp byte [ecx + 1], 0xa
jne 0x42ca0a
inc ecx
jmp 0x42ca0a
movzx eax, al
movsx eax, byte [eax + 0x44c610]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x42c9e4
cmp edx, ebx
jne 0x42c9e4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x42ca3b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041bb9d
leave
ret
Function at 0x42cd34
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x44e1d0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42cd74
cmp byte [ebx], 0xa
jne 0x42cd74
or byte [eax + edi + 0x28], 4
jmp 0x42cd79
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x42ce77
mov al, byte [edx]
cmp al, 0x1a
je 0x42ce59
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x42cda8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x42cdcd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x42cdd7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x42cd8a
jmp 0x42ce77
push 0
lea eax, [ebp - 0xc]
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 0x42ce54
cmp dword [ebp - 0xc], 0
je 0x42ce54
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x44e1d0]
test byte [eax + edi + 0x28], 0x48
je 0x42ce2e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42ce19
mov byte [esi], dl
jmp 0x42ce2a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x44e1d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42ce77
cmp byte [ebp - 1], 0xa
jne 0x42ce3d
cmp esi, ebx
jne 0x42ce3d
mov byte [esi], 0xa
jmp 0x42ce76
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042d8b6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42ce77
mov byte [esi], 0xd
jmp 0x42ce76
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x44e1d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42ce73
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42ce77
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42ce82
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x44e1d0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42cec5
cmp word [esi], dx
jne 0x42cec5
or byte [edi + eax + 0x28], 4
jmp 0x42ceca
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42d01d
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42cffd
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42cf0c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42cf42
cmp eax, edx
jae 0x42cf4e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x42cee4
jmp 0x42d01d
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42cff9
cmp dword [ebp - 0x14], 0
je 0x42cff9
mov eax, dword [ebx*4 + 0x44e1d0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x42cfd1
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42cf9a
mov word [esi], cx
jmp 0x42cfcd
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x44e1d0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x44e1d0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x44e1d0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42d01d
pop ebx
cmp word [ebp - 4], bx
jne 0x42cfe2
cmp esi, dword [ebp + 0xc]
jne 0x42cfe2
mov word [esi], bx
jmp 0x42d01a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042d8b6
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42d01d
push 0xd
jmp 0x42d016
mov ecx, dword [ebx*4 + 0x44e1d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42d014
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42d01d
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430d07
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 0x430da4
push ebx
push esi
call fcn.00430cd0
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.0042fab1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x430d51
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x430da3
push edi
push eax
call fcn.00429690
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x430d71
call fcn.00428bee
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x430da2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042fab1
add esp, 0x20
test eax, eax
jne 0x430d90
push edi
call fcn.00428bee
jmp 0x430d98
push ebx
call fcn.00428bee
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 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x40ea38
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb28
push ebx
push 0x40eb38
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40eab8
mov al, 0x6a
call fcn.0040e658
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea0c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40eac1
call fcn.0040ea0c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb14
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xae13cd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae13cd
ret
Function at 0x402628
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402657
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00402f44
jmp 0x402675
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004025b0
mov edi, eax
test ebx, ebx
je 0x402675
cmp dword [esi], 0
je 0x402675
dec ebx
jmp 0x40265e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4026b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402750
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402730
xor eax, eax
push ebp
push 0x402729
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40276c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402730
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x4032e8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4034a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403349
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4034c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033bb
xor eax, eax
push ebp
push 0x4033b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00403140
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40339d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4034e0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033bb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40349c
cmp byte [ebp - 0xd], 0
jne 0x4033fd
cmp byte [ebp - 0x12], 0
je 0x40349c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403416
dec ebx
cmp byte [ebx], 0x2e
je 0x403425
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403415
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40349c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403452
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40349c
cmp byte [ebp - 0xd], 0
je 0x40349c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40349c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f85a3
Capabilities:
Hash data using murmur3

Disassembly:
pushfd
mov dword [esp + 0xc], edx
pushfd
push 0xaab4e330
push dword [esp + 8]
jmp 0x4f9d70
mov dword [esp + 0x30], edi
push 0x78f6cbf6
lea esp, [esp + 0x34]
jmp 0x4fa5a1
push 0xe4c6d442
mov dword [esp + 0x14], esi
jmp 0x4f935d
pushal
jmp 0x4f8992
mov dword [esp + 0x14], ebx
jmp 0x4f8ff6

Function at 0x4f8712
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x48], edi
push ebp
push 0x264fc7bb
mov byte [esp + 8], 0x95
lea esp, [esp + 0x50]
jmp 0x4fa5a1

Function at 0x4f8ab9
Capabilities:
Hash data using murmur3

Disassembly:
test cl, 0xd
bt bx, 0xe
sub bl, al
bt cx, sp
stc
sub ebp, 2
jmp 0x4f90b5
stc
ror al, 2
jmp 0x4f9f10
mov word [ebp], ax
push dword [esp]
mov byte [esp + 0xc], 0xd6
push dword [esp]
lea esp, [esp + 0x30]
jmp 0x4fa6eb
jmp 0x4f9d34
push 0xf9c4bb0b
pushal
call fcn.004fa2ec
pushal
push ebx
push 0xdaa7e357
inc esi
jmp 0x4f8831
cmc
add al, 0x98
push 0xef4cd34
rol al, 5
push esp
pushal
mov byte [esp], al
inc al
lea esp, [esp + 0x30]
jae 0x4f9185
pushfd
pushal
inc esi
cmc
push dword [esp]
push 0xffede401
sub bl, al
cmp al, bl
cmp si, bp
sub esp, 0xffffffd4
jnp 0x4fa7c0
test di, dx
sub ebp, 2
pushfd
pushfd
mov word [ebp], ax
push dword [esp]
lea esp, [esp + 0xc]
jmp 0x4fa6eb
sub ebp, 2
jmp 0x4f9b71
stc
jmp 0x4fa7b3

Function at 0x4f8b22
Capabilities:
Hash data using murmur3

Disassembly:
bswap ecx
bt bx, 0xb
neg ecx
call fcn.004f8b92
jmp 0x4f9afa
mov dword [esp + 0x20], esi
jmp 0x4f9f0b
jmp 0x4fa6c4
pushfd
mov dword [esp + 0x20], edi
pushfd
pushal
lea esp, [esp + 0x44]
jmp 0x4fa5a1

Function at 0x4f8d6e
Capabilities:
Hash data using murmur3

Disassembly:
pushfd
mov dword [esp + 4], edx
mov word [esp], 0xcb8c
jmp 0x4f9ab7
push 0xff5408f5
pushal
mov dword [esp + 0x24], ebx
jmp 0x4f8b30

Function at 0x4f9ad9
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x54], edi
mov word [esp + 4], 0x93c5
mov byte [esp + 4], dl
lea esp, [esp + 0x54]
jmp 0x4fa5a1

Function at 0x4f9cc6
Capabilities:
Hash data using murmur3

Disassembly:
mov word [esp + 0xc], 0xd6c7
mov dword [esp + 0x3c], edi
push dword [esp + 8]
push dword [esp]
lea esp, [esp + 0x44]
jmp 0x4fa5a1

Function at 0x4f9f05
Capabilities:
Hash data using murmur3

Disassembly:
jmp 0x4f8b84
mov dword [esp + 0x3c], edi
pushfd
lea esp, [esp + 0x40]
jmp 0x4fa5a1
push edi
jmp 0x4f882c

Function at 0x4fa09c
Capabilities:
Hash data using murmur3

Disassembly:
push 0x2ee2efcd
push dword [esp + 0x30]
pop dword [ebp]
mov byte [esp + 8], ah
pushfd
push edi
mov word [esp], 0x793c
lea esp, [esp + 0x3c]
jmp 0x4fa6eb
pushfd
pop dword [esp + 0x2c]
mov byte [esp + 4], 0x17
jmp 0x4f8e23

Function at 0x4fa110
Capabilities:
Hash data using murmur3

Disassembly:
jns 0x4f98ee
push 0xa94b5754
pushal
mov dword [esp + 0x20], edi
jmp 0x4fa554

Function at 0x4fa2ec
Capabilities:
Hash data using murmur3

Disassembly:
mov word [ebp], ax
mov byte [esp], 0xd7
push 0xd18941c4
push esp
lea esp, [esp + 0x30]
jmp 0x4fa6eb

Function at 0x4fa50c
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x28], ebx
jmp 0x4fa71b
Function at 0x4faa08
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x40], edi
pushfd
push eax
mov byte [esp + 0xc], 0xc2
mov byte [esp], dh
lea esp, [esp + 0x48]
jmp 0x4fa5a1
jmp 0x4f91fe

Function at 0x4faa31
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x10], edi
mov byte [esp], ch
lea esp, [esp + 0x10]
jmp 0x4fa5a1

Function at 0x4fac8c
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [esp + 0x40], edi
mov word [esp + 0x14], 0x50c8
mov byte [esp], 0xa5
pushfd
mov word [esp + 4], 0x7619
lea esp, [esp + 0x44]
jmp 0x4fa5a1