joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452d01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [0x99fffff9], al
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.004521d8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0045218d
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004521d8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0045218d
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004521c8
jno 0x452dbd
hlt
xchg edi, eax
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004521d8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0045218d
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004521c8
jecxz 0x452e2b
jecxz 0x452d75
movsd dword es:[edi], dword [esi]
out dx, eax
cli
invalid
jns 0x452df3
test edi, esi
cli
invalid
sbb dword [ebx], edx
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x452ebc
cmp dword [ebp - 0x398], 0
je 0x453086
cmp dword [ebp + 0xc], 1
je 0x453086
cmp dword [ebp + 0xc], 8
jne 0x45304e
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
invalid
test dword [eax - 7], ecx
Function at 0x453056
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc al, 0x80
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.004521c8
or edx, dword [esi + 0x6e]
dec esp
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004521a6
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
invalid
Function at 0x487790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00418ae5
call fcn.00415a86
cmp eax, esi
pop esi
jne 0x4877ac
mov ecx, 0x58ce50
jmp fcn.00428e9f
ret

Function at 0x4efb4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4efb62
mov edi, dword [esi + 0xc]
jmp 0x4efba2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4efb7b
call fcn.0042377d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4efb90
call fcn.0042377d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4efba2
call fcn.0042377d
call fcn.00420a03
cmp dword [eax + 0x3c], 0
je 0x4efbb7
push edi
mov ecx, ebx
call fcn.004ee97c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004efa64
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4efbd5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4efbe1
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50baf1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5896f0]
jne 0x50bafb
repz ret
jmp fcn.005139e3
Function at 0x51e718
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5896f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051340b
and dword [ebp - 0x14], 0
cmp dword [0x5912cc], 0
mov dword [ebp - 0x18], eax
jne 0x51e7cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51e873
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55bda8
push ebx
call edi
test eax, eax
je 0x51e873
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55bd98
push ebx
mov dword [0x5912cc], eax
call edi
push eax
call esi
push 0x55bd84
push ebx
mov dword [0x5912d0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5912d4], eax
call edi
push eax
call esi
mov dword [0x5912dc], eax
test eax, eax
je 0x51e7cb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5912d8], eax
mov eax, dword [0x5912d8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51e824
cmp dword [0x5912dc], ecx
je 0x51e824
push eax
call esi
push dword [0x5912dc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51e824
test ebx, ebx
je 0x51e824
call edi
test eax, eax
je 0x51e81b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51e81b
test byte [ebp - 8], 1
jne 0x51e824
or dword [ebp + 0x10], 0x200000
jmp 0x51e857
mov eax, dword [0x5912d0]
cmp eax, dword [ebp - 0x18]
je 0x51e857
push eax
call esi
test eax, eax
je 0x51e857
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51e857
mov eax, dword [0x5912d4]
cmp eax, dword [ebp - 0x18]
je 0x51e857
push eax
call esi
test eax, eax
je 0x51e857
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5912cc]
call esi
test eax, eax
je 0x51e873
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51e875
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050baf1
leave
ret
Function at 0x403080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40f014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403118
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030f8
xor eax, eax
push ebp
push 0x4030f1
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 0x403134
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 0x4030f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40f014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40f014], ax
mov esp, ebp
pop ebp
ret

Function at 0x4039c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x410044], 0
je 0x403a25
cmp word [0x410218], 0xd7b2
jne 0x4039ed
cmp dword [0x410220], 0
jbe 0x4039ed
mov eax, 0x410214
call dword [0x410230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40f060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403a4c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40f020], 0
jne 0x403a41
push 0
push 0x40f058
push 0x40f060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4045a0
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 0xf0019
push 0
push 0x4047d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404623
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4047d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404623
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4047ec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4046ac
xor eax, eax
push ebp
push 0x4046a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004043e8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40468a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40480c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40468a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4046ac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x4047c6
cmp byte [ebp - 0xd], 0
jne 0x4046f3
cmp byte [ebp - 0x12], 0
je 0x4047c6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40470c
dec ebx
cmp byte [ebx], 0x2e
je 0x40471b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40470b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4047c6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404758
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047c6
cmp byte [ebp - 0xd], 0
je 0x4047c6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047c6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x40495c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4049c2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403da8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ab8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4049ac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4049c9
lea eax, [ebp - 0x10]
call fcn.00403b60
ret

Function at 0x405734
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40583e
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x405787
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403c50
jmp 0x405825
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.004056e8
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.00405708
mov ebx, eax
test esi, esi
je 0x4057af
dec esi
test esi, esi
jl 0x4057af
cmp edi, ebx
jne 0x40578e
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403d3c
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.0040402c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403dd4
cmp eax, 2
jl 0x405825
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x405825
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403dd4
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x405825
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403dd4
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.0040402c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405845
lea eax, [ebp - 0x110]
call fcn.00403b60
ret

Function at 0x4058d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40593a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.00403d3c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.004058bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405941
lea eax, [ebp - 0x10c]
call fcn.00403b60
ret
Function at 0x4059a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00403fd4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete al
pop ebp
ret

Function at 0x405a9c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x405b34
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x405ae9
mov eax, dword [ebx + 0x19]
call fcn.00403fd4
push eax
push esi
mov eax, edi
call fcn.00403fd4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403fd4
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x405b1e
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.00403fd4
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.00407ab8
mov eax, dword [ebp - 8]
call fcn.00403fd4
push eax
mov eax, edi
call fcn.00403fd4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403fd4
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b3b
lea eax, [ebp - 8]
call fcn.00403b60
ret

Function at 0x405b48
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x405bb0
mov byte [ebp - 0x1000], 0
mov eax, dword [ebx + 0x19]
call fcn.00403fd4
push eax
push 0x1000
lea eax, [ebp - 0x1000]
push eax
mov eax, esi
call fcn.00403fd4
push eax
mov eax, edi
call fcn.00403fd4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403fd4
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1000]
mov ecx, 0x1000
call fcn.00403da8
jmp 0x405be1
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.00403bb4
mov eax, dword [ebx + 0x19]
call fcn.00403fd4
push eax
mov eax, esi
call fcn.00403fd4
push eax
mov eax, edi
call fcn.00403fd4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403fd4
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b424
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b45d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c50
jmp 0x40b466
mov eax, ebx
mov edx, esi
call fcn.00403bb4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b470
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b491
mov al, byte [esp]
jmp 0x40b493
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb18
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b990
mov eax, dword [0x40f4f0]
cmp byte [eax], 0
je 0x40bb94
mov eax, dword [0x40f448]
call fcn.00402a28
call fcn.0040262c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a8c4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bbdc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbca
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40f428]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x410660]
call fcn.004043ac
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c660
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c6c4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403da8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a6e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6cb
lea eax, [ebp - 0xc]
call fcn.00403b60
ret

Function at 0x40d8d0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fc4
xor eax, eax
push ebp
push 0x40d974
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402a98
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403fd4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test bl, bl
je 0x40d95e
jmp 0x40d94f
mov eax, dword [0x4107d8]
mov eax, dword [eax + 0x18]
call fcn.00408eb0
push 0x32
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x40d942
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d97b
lea eax, [ebp - 4]
call fcn.00403b60
ret
Function at 0x4012bc
Capabilities:
Hash data with crc32

Disassembly:
cmp dword [0x44d424], 0
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x4012f9
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x4012e4
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4012d6
mov dword [ecx*4 + 0x44d420], eax
inc ecx
cmp ecx, 0x100
jne 0x4012cf
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x40131b
mov cl, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x44d420]
jmp 0x401303
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x40139c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x38]
sub esp, 0x3c
mov dword [esp + 4], eax
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x40001
mov dword [ebp - 0x28], 0x40d9f0
mov dword [ebp - 0x24], 0x40d9f0
mov dword [esp], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x40d9e0
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edx
test eax, eax
push edx
je 0x4013f9
xor eax, eax
jmp 0x401426
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x401426
mov dword [esp + 8], edi
mov dword [esp + 4], 0x80000007
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
sub esp, 0xc
test eax, eax
jne 0x4013f5
call ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x401430
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x228]
sub esp, 0x22c
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and edi, 0x300
mov dword [esp], ebx
mov eax, edi
mov dword [esp + 4], esi
or eax, 8
mov dword [esp + 8], eax
call fcn.0040664c
sub esp, 0x10
test eax, eax
jne 0x40152c
mov dword [esp + 0xc], 0x105
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x222]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea edx, [ebp - 0x222]
sub esp, 0x10
test eax, eax
jne 0x4014e2
test byte [ebp + 0x10], 1
mov eax, dword [ebp - 0x228]
je 0x4014c8
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
push ecx
jmp 0x40152c
mov dword [esp + 4], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.00401430
sub esp, 0xc
test eax, eax
je 0x401475
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [esp], 3
call fcn.00409e5c
push edx
test eax, eax
je 0x40151d
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 0x10
jmp 0x40152c
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edx
push edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc