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

Disassembly:
stosb byte es:[edi], al
pop eax
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1000488a
mov ah, 0x12
mov ah, 0xf0
lea eax, [ebp - 0x58]
push eax
call fcn.1000489a
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000484f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10004b78
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
dec ebp
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx

Function at 0x10004c4d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6

Function at 0x10004ca6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000489a
push eax
push esi
push dword [ebp + 8]
call fcn.1000484f
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000488a
add byte [eax], bl
jmp 0x10004d09
sbb bl, ch
std
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1000488a
stosd dword es:[edi], eax
and dword [ecx + 0x7c858d9c], edx
invalid
Function at 0x10007813
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000376b
xor ebx, ebx
cmp dword [0x10010a78], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100078e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10007853
xor eax, eax
jmp 0x100079ac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000784c
push eax
call fcn.10003708
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10010a78], eax
call esi
push eax
call fcn.10003708
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10010a7c], eax
call esi
push eax
call fcn.10003708
mov dword [0x10010a80], eax
lea eax, [ebp - 8]
push eax
call fcn.1000249b
test eax, eax
pop ecx
pop ecx
je 0x100078b6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000402e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100078e8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10003708
cmp eax, ebx
pop ecx
mov dword [0x10010a88], eax
je 0x100078e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003708
pop ecx
mov dword [0x10010a84], eax
mov eax, dword [0x10010a84]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10007961
cmp dword [0x10010a88], esi
je 0x10007961
push eax
call fcn.10003774
pop ecx
call eax
cmp eax, ebx
je 0x1000792e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10010a88]
call fcn.10003774
pop ecx
call eax
test eax, eax
je 0x1000792e
test byte [ebp - 0x18], 1
jne 0x10007961
lea eax, [ebp - 0xc]
push eax
call fcn.100024d2
test eax, eax
pop ecx
je 0x10007949
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000402e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10007958
or dword [ebp + 0x10], 0x200000
jmp 0x10007992
or dword [ebp + 0x10], 0x40000
jmp 0x10007992
mov eax, dword [0x10010a7c]
cmp eax, esi
je 0x10007992
push eax
call fcn.10003774
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10007992
mov eax, dword [0x10010a80]
cmp eax, esi
je 0x10007992
push dword [ebp - 4]
push eax
call fcn.10003774
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10010a78]
call fcn.10003774
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4360de
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x4360e4
pop ebp
add ebp, 0x18db8
push 4
push 0x1000
push 0x1000
push 0
call dword [ebp]
sub ebp, 4
mov edi, eax
mov byte [edi], 0xc3
push edi
push esp
push 0x120
push 0x1000
push edi
call dword [ebp]
pop ebx
call 0x43611a
pop eax
add eax, 0x2a
push eax
push dword fs:[0]
mov dword fs:[0], esp
call edi
pop dword fs:[0]
add esp, 4
nop
test eax, eax
je 0x43615c
jmp loc.004353bc
nop
nop
nop
nop
nop
popal
ret
add ebp, 8
push 0x4000
push 0x1000
push edi
call dword [ebp]
jmp 0x436155

Function at 0x43655a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004365d9
jae 0x436566
xor ecx, ecx
call fcn.004365d9
jae 0x436590
xor eax, eax
call fcn.004365d9
jae 0x4365a1
mov al, 0x10
call fcn.004365d9
adc al, al
jae 0x436582
jne 0x4365ce
stosb byte es:[edi], al
jmp 0x436567
call fcn.004365e5
dec ecx
loop 0x4365ad
mov eax, ebp
call fcn.004365e3
jmp 0x4365cf
lodsb al, byte [esi]
shr eax, 1
je 0x4365f5
adc ecx, 2
mov ebp, eax
jmp 0x4365cf
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004365e3
cmp eax, 0x7d00
jae 0x4365cd
cmp eax, 0x500
jae 0x4365ce
cmp eax, 0x7f
ja 0x4365cf
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x436567
pop ebp
ret 8
Function at 0x40600c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov eax, 0x447fc0
push ebx
push esi
push edi
call fcn.0042d670
mov esi, 0x445cd0
lea edi, [ebp - 0x128]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
je 0x406039
jne 0x406039
dec edx
lea eax, [ebp - 0x128]
push eax
push 0x446c2d
push str.Software
push SysReAllocString
call fcn.0040a8cc
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
add esp, 0x10
lea edx, [ebp - 0x128]
lea eax, [ebp - 4]
call fcn.0043ad48
inc dword [ebp - 0xc]
call fcn.0043b328
mov ebx, eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0043af58
mov word [ebp - 0x18], 0
jmp 0x4060af
push ebx
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4060dc
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4060e6
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4060f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x406163
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x104]
push ecx
call fcn.0042d4f4
add esp, 8
test eax, eax
jne 0x406152
push 0
mov eax, dword [ebp - 0x120]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
lea edx, [ebp - 0x128]
push edx
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x406120
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407520
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe28
push ebx
push esi

Function at 0x408270
Capabilities:
Create thread

Disassembly:
push ecx
call fcn.00407444
push esp
push 0
push 0
push 0x408210
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
pop edx
ret
Function at 0x40a7d4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
lea eax, [ebp - 0x210]
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push 0x100
push eax
push edx
push ecx
lea eax, [ebp - 4]
lea edx, [ebp - 0x110]
push eax
push 0x100
push edx
push 0x44ad0a
call sub.KERNEL32.DLL_GetVolumeInformationA
test ebx, ebx
jne 0x40a81d
mov esi, 0x44ad0e
cmp ebx, 1
jne 0x40a827
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ
cmp ebx, 2
jne 0x40a831
mov esi, str.abcdefghijklmnopqrstuvwxyz
test edi, edi
jne 0x40a83c
mov edi, dword [ebp - 4]
and edi, 7
inc edi
push esi
call sub.KERNEL32.DLL_lstrlenA
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [ebp + 8]
mov ebx, eax
cmp edi, ecx
jle 0x40a874
lea eax, [ecx + 0xd]
imul dword [ebp - 4]
add eax, dword [ebp + 0x10]
push ecx
mov ecx, 0x11
xor edx, edx
div ecx
pop ecx
xor edx, edx
div dword [ebp - 0x10]
mov al, byte [esi + edx]
mov byte [ebx], al
inc ecx
inc ebx
cmp edi, ecx
jg 0x40a850
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a87c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ADVAPI32.DLL_RegCreateKeyExA
push ebx
call sub.KERNEL32.DLL_lstrlenA
inc eax
push eax
push ebx
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
pop ebx
pop ecx
pop ebp
ret

Function at 0x40a8cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x40a8f3
or eax, 0xffffffff
jmp 0x40a930
mov dword [ebp - 8], 0x400
xor edx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], edx
push ecx
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0xc]
push eax
push edx
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x40a925
mov eax, 0xfffffffe
jmp 0x40a930
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40a934
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push 0
push 0x8000000
push 3
push 0
push 3
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
push 0
push 0x8000000
push 3
push 0
push 3
push 0xc0000000
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
test ebx, ebx
je 0x40a9ae
test esi, esi
je 0x40a9ae
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
push ecx
push ebx
call sub.KERNEL32.DLL_GetFileTime
lea eax, [ebp - 0x18]
Function at 0x40a9b4
Capabilities:
Get common file path

Disassembly:
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
push ecx
push esi
call sub.KERNEL32.DLL_SetFileTime
push ebx
call sub.KERNEL32.DLL_CloseHandle
push esi
call sub.KERNEL32.DLL_CloseHandle
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
add esp, 0xffffff00
push esi
push edi
mov esi, 0x44a4b4
lea edi, [ebp - 0x100]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
push 0x100
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push eax
call 0x40a9f0
or bh, byte [esp + ecx*8 + 0x35f143e]
and dword [eax - 0x7d], ebx
shr byte [ecx], 0xff
loopne 0x40a993
xchg esi, eax
add esp, ebx
cmp cl, byte [ecx]
push esp
sbb al, 0x64
aas
invalid

Function at 0x40aa3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, 0x44a5b4
lea edi, [ebp - 0x100]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
push 0x100
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x100
push 0
push ebx
call fcn.0042d220
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x100]
push ecx
push str._s_s
push ebx
call fcn.0043098c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aaa0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
mov ecx, 0x20
push ebx
push esi
push edi
lea edi, [ebp - 0x80]
mov ebx, dword [ebp + 8]
mov esi, 0x44a6b4
rep movsd dword es:[edi], dword [esi]
push ebx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
je 0x40aacf
mov al, 1
jmp 0x40abe5
lea edi, [ebp - 0x184]
mov esi, 0x44a734
mov ecx, 0x41
lea eax, [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x80]
push edx
push 0
push 0x44ad69
lea ecx, [ebp - 0x184]
push ecx
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
jne 0x40ab14
xor eax, eax
jmp 0x40abe5
mov dl, byte [ebp - 0x80]
cmp dl, byte [ebx]
jne 0x40ab28
movsx ecx, byte [ebp - 0x7f]
cmp ecx, 0x3a
je 0x40abba
lea eax, [ebp - 0x184]
push eax
call sub.KERNEL32.DLL_lstrlenA
push eax
push 0
lea edx, [ebp - 0x184]
push edx
call fcn.0042d220
add esp, 0xc
lea ecx, [ebp - 0x184]
push 2
push ebx
push ecx
call fcn.0042d1b0
add esp, 0xc
push str._recycled
lea eax, [ebp - 0x184]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea edx, [ebp - 0x80]
push edx
call sub.KERNEL32.DLL_lstrlenA
push eax
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.0042d220
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0
push 0x44ad76
lea edx, [ebp - 0x184]
push edx
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
jne 0x40abba
lea ecx, [ebp - 0x184]
push ecx
lea eax, [ebp - 0x80]
push eax
call sub.KERNEL32.DLL_lstrcatA
push str.1.tmp
lea edx, [ebp - 0x80]
push edx
call sub.KERNEL32.DLL_lstrcatA
push 1
lea ecx, [ebp - 0x80]
push ecx
push ebx
call sub.KERNEL32.DLL_MoveFileExA
test eax, eax
je 0x40abce
mov al, 1
jmp 0x40abe5
push 4
push 0
lea edx, [ebp - 0x80]
push edx
call sub.KERNEL32.DLL_MoveFileExA
test eax, eax
je 0x40abe3
mov al, 1
jmp 0x40abe5
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ac44
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x41ac7d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0042a1c4
jmp 0x41ac86
mov eax, ebx
mov edx, esi
call fcn.0042a128
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41ac90
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
test eax, eax
jle 0x41acb1
mov al, byte [esp]
jmp 0x41acb3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41b338
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x41b1b0
mov eax, dword [0x4500b4]
cmp byte [eax], 0
je 0x41b3a5
mov eax, dword [0x4500b8]
call fcn.00428e20
call fcn.00428a14
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00418514
push eax
lea eax, [esp + 0x50]
push eax
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 0x41b3ec
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x41b3db
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44ff74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4500f8]
call fcn.0042b7b4
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x41c0a4
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 0x41c108
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0042a33c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00418038
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c10f
lea eax, [ebp - 0xc]
call fcn.0042a0d4
ret
Function at 0x42942c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44be0c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4294c4
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4294a4
xor eax, eax
push ebp
push 0x42949d
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 0x4294e0
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 0x4294a4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x44be0c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44be0c], ax
mov esp, ebp
pop ebp
ret

Function at 0x429f58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45063c], 0
je 0x429fb9
cmp word [0x450810], 0xd7b2
jne 0x429f81
cmp dword [0x450818], 0
jbe 0x429f81
mov eax, 0x45080c
call dword [0x450828]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x429fe0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x44be1c], 0
jne 0x429fd5
push 0
push 0x44be74
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x42b9a8
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 0x42bbd8
push SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x42ba2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x42bbd8
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x42ba2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x42bbf4
push SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42bab4
xor eax, eax
push ebp
push 0x42baad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0042b7f0
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 0x42ba92
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x42bc14
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x42ba92
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 0x42bab4
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 0x42bbce
cmp byte [ebp - 0xd], 0
jne 0x42bafb
cmp byte [ebp - 0x12], 0
je 0x42bbce
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x42bb14
dec ebx
cmp byte [ebx], 0x2e
je 0x42bb23
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x42bb13
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x42bbce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x42bb60
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 0x42bbce
cmp byte [ebp - 0xd], 0
je 0x42bbce
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 0x42bbce
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 0x42c314
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x450bb0], 1
jae 0x42c39a
mov byte [0x44be08], 2
mov dword [0x450600], 0x43baae
mov dword [0x450604], 0x43bac0
mov byte [0x45063e], 2
mov dword [0x4505ec], 0x42afe0
call fcn.004293fc
test al, al
je 0x42c357
call fcn.0042942c
call fcn.004294f0
mov word [0x450644], 0xd7b0
mov word [0x450810], 0xd7b0
mov word [0x4509dc], 0xd7b0
call fcn.0042aeb8
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x450630], eax
call fcn.00427500
mov dword [0x45062c], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x450624], eax
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x42e594
call fcn.0042fa20
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x42e5b0
test bl, 1
je 0x42e5b0
call fcn.00435e74
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret