joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40be18
Capabilities:
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40bfa5
cmp esi, 1
jb 0x40bfa5
push esi
lea edi, [ebp - 0x400]
mov esi, 0x4bec8f
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebp - 0x800]
push esi
mov esi, 0x4bf090
mov ecx, 0x100
lea eax, [ebp - 0x800]
rep movsd dword es:[edi], dword [esi]
pop esi
push 0x400
push eax
push str._LOCALAPPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0x400]
push 0x400
push edx
lea ecx, [ebp - 0x800]
push 2
push ecx
push 0
call fcn.0040b0d8
add esp, 0x14
cmp byte [ebp - 0x400], 0
jne 0x40bed6
push 0x400
lea eax, [ebp - 0x800]
push eax
push str._APPDATA_MozillaFirefoxProfiles
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0x400]
push 0x400
push edx
lea ecx, [ebp - 0x800]
push 2
push ecx
push 0
call fcn.0040b0d8
add esp, 0x14
cmp byte [ebp - 0x400], 0
jne 0x40bf57
push 0x400
lea eax, [ebp - 0x800]
push eax
push 0x4c0159
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.00411534
add esp, 0x14
cmp byte [ebp - 0x800], 0
je 0x40bf57
push 0x400
lea edx, [ebp - 0x800]
push edx
call fcn.00412194
add esp, 8
lea ecx, [ebp - 0x800]
push 0x400
push 0x4c0233
push ecx
call fcn.00411af8
add esp, 0xc
lea eax, [ebp - 0x400]
lea edx, [ebp - 0x800]
push 0x400
push eax
push 2
push edx
push 0
call fcn.0040b0d8
add esp, 0x14
cmp byte [ebp - 0x400], 0
je 0x40bfa5
push esi
push 0x4c0326
push ebx
call fcn.00411af8
add esp, 0xc
push esi
push 0x4c036d
push ebx
call fcn.00411af8
add esp, 0xc
push esi
lea ecx, [ebp - 0x400]
push ecx
call fcn.0040c7f4
pop ecx
push eax
push ebx
call fcn.00411af8
add esp, 0xc
push esi
push 0x4c0328
push ebx
call fcn.00411af8
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c060
Capabilities:
Persist via run registry key
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7d0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x4c05ec
call fcn.0048c270
test ebx, ebx
je 0x40c085
cmp esi, 1
jae 0x40c096
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov eax, edx
jmp 0x40c27b
push esi
lea edi, [ebp - 0x430]
mov esi, 0x4bf892
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x430]
push 0x400
push eax
push str._LOCALAPPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x430]
lea eax, [ebp - 4]
call fcn.00497ebc
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043d63c
xor edx, edx
mov dl, al
lea eax, [ebp - 4]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.00498000
pop ecx
test cl, cl
je 0x40c1b1
push 0x400
lea eax, [ebp - 0x430]
push eax
push str._APPDATA_OperaOperaoperaprefs.ini
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x20], 0x14
lea edx, [ebp - 0x430]
lea eax, [ebp - 8]
call fcn.00497ebc
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043d63c
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x14]
call fcn.00498000
pop ecx
test cl, cl
je 0x40c1b1
push 0x400
lea eax, [ebp - 0x430]
push eax
push 0x4c0159
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call fcn.00411534
add esp, 0x14
cmp byte [ebp - 0x430], 0
je 0x40c1b1
push 0x400
lea edx, [ebp - 0x430]
push edx
call fcn.00412194
add esp, 8
lea ecx, [ebp - 0x430]
push 0x400
push 0x4c02b3
push ecx
call fcn.00411af8
add esp, 0xc
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x430]
lea eax, [ebp - 0xc]
call fcn.00497ebc
inc dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043d63c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00498000
pop ecx
test cl, cl
je 0x40c272
push esi
lea edi, [ebp - 0x830]
mov esi, 0x4bfc93
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x430]
push eax
lea edx, [ebp - 0x830]
push 0x400
push edx
push 0x4c0094
push str.Home_URL
push str.User_Prefs
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp byte [ebp - 0x830], 0
je 0x40c272
push esi
push 0x4c0326
push ebx
call fcn.00411af8
add esp, 0xc
push esi
push 0x4c038a
push ebx
call fcn.00411af8
add esp, 0xc
push esi
lea ecx, [ebp - 0x830]
push ecx
call fcn.0040c7f4
pop ecx
push eax
push ebx
call fcn.00411af8
add esp, 0xc
push esi
push 0x4c0328
push ebx
call fcn.00411af8
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c898
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
test dl, dl
push ebx
push esi
mov byte [ebp - 0x14], dl
jle 0x40c8ac
call fcn.0049910c
mov ebx, ecx
mov byte [ebp - 0x35], dl
mov dword [ebp - 4], eax
lea esi, [ebp - 0x34]
mov eax, 0x4cf0a8
call fcn.0048c270
mov word [esi + 0x10], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004383c8
add dword [esi + 0x1c], 2
mov eax, dword [ebp - 4]
xor edx, edx
add eax, 0x30
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x34
mov dword [eax], edx
xor edx, edx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x38
mov dword [eax], edx
lea eax, [ebp - 8]
inc dword [esi + 0x1c]
mov edx, 0x4ceec3
mov word [esi + 0x10], 0x14
call fcn.00497ebc
inc dword [esi + 0x1c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00498030
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00498000
mov word [esi + 0x10], 0x20
mov edx, 0x4ceec3
lea eax, [ebp - 0xc]
call fcn.00497ebc
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00498030
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00498000
mov word [esi + 0x10], 0x2c
mov edx, 0x4ceec3
lea eax, [ebp - 0x10]
call fcn.00497ebc
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00498030
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00498000
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x35], 0
je 0x40c9b1
call fcn.00499119
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411078
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea ecx, [edx + edx*4]
lea ecx, [edx + ecx*2]
add ecx, 0x67452301
mov dword [eax + 8], ecx
lea ecx, [edx + edx*8]
shl ecx, 3
sub ecx, edx
add ecx, 0xefcdab89
mov dword [eax + 0xc], ecx
lea ecx, [edx + edx*8]
lea ecx, [edx + ecx*4]
add ecx, 0x98badcfe
mov dword [eax + 0x10], ecx
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 5
add edx, ecx
add edx, 0x10325476
mov dword [eax + 0x14], edx
pop ebp
ret

Function at 0x411534
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x411561
test edx, edx
je 0x411561
cmp edi, 0x4d09e4
je 0x411561
test esi, esi
je 0x411561
cmp dword [ebp + 0x18], 1
jae 0x411565
xor eax, eax
jmp 0x4115ac
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov byte [esi], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push edx
push eax
call fcn.004117d8
add esp, 0x14
test eax, eax
jne 0x4115aa
lea eax, [ebp + 0x18]
push eax
push esi
push 0
push 0
push edi
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4115a1
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4115b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4115d3
test edx, edx
je 0x4115d3
cmp esi, 0x4d09e4
jne 0x4115d7
xor eax, eax
jmp 0x41161a
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push edx
push eax
call fcn.004117d8
add esp, 0x14
test eax, eax
jne 0x411618
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41160f
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x411ac4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x411af1
test ebx, ebx
je 0x411af1
cmp byte [esi], 0
je 0x411af1
cmp byte [ebx], 0
je 0x411af1
push ebx
call sub.KERNEL32.DLL_DeleteFileA
push ebx
push esi
call fcn.00411830
add esp, 8
pop esi
pop ebx
pop ebp
ret
Function at 0x412cac
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x412dfb
cmp dword [ebp + 0xc], 1
jb 0x412dfb
mov byte [ebx], 0
mov dword [ebp - 8], 0x280
mov eax, dword [ebp - 8]
push eax
call fcn.0048b754
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412d10
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x412d10
mov eax, dword [ebp - 4]
push eax
call fcn.0048b764
pop ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0048b754
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412ddf
lea ecx, [ebp - 8]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x412dc7
mov edi, dword [ebp - 4]
test edi, edi
je 0x412dc7
xor eax, eax
lea esi, [edi + 0x194]
mov dword [ebp - 0xc], eax
jmp 0x412db2
push esi
push edi
mov esi, 0x4d2e64
lea edi, [ebp - 0x20]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [edi + 0x190]
dec eax
cmp eax, dword [ebp - 0xc]
jne 0x412d85
push 0x4d2e80
xor edx, edx
mov dl, byte [esi]
push edx
push str._.2X_s
push 0x14
lea ecx, [ebp - 0x20]
push ecx
call fcn.0048ebac
add esp, 0x14
jmp 0x412d9d
xor eax, eax
mov al, byte [esi]
push eax
push str._.2X:
push 0x14
lea edx, [ebp - 0x20]
push edx
call fcn.0048ebac
add esp, 0x10
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push ecx
push eax
push ebx
call fcn.0048becc
add esp, 0xc
inc dword [ebp - 0xc]
inc esi
mov edx, dword [edi + 0x190]
cmp edx, dword [ebp - 0xc]
ja 0x412d47
mov edi, dword [edi]
test edi, edi
jne 0x412d3a
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048b764
pop ecx
jmp 0x412ddf
push ebx
call fcn.0048be70
pop ecx
mov byte [ebx + eax - 1], 0
push ebx
call fcn.0048be70
pop ecx
test eax, eax
jbe 0x412dfb
push ebx
call fcn.0048be70
pop ecx
movzx eax, byte [ebx + eax - 1]
cmp eax, 0x3b
je 0x412dd3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412e04
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x412ed0
cmp edi, 1
jb 0x412ed0
xor eax, eax
mov dword [ebp - 4], eax
mov byte [esi], 0
test ebx, ebx
jne 0x412e97
push esi
push edi
mov esi, 0x4d2e88
lea edi, [ebp - 0x404]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0x400
lea eax, [ebp - 0x404]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
cmp byte [ebp - 0x404], 0
je 0x412ebd
push 0x4d328a
call fcn.0048be70
pop ecx
lea edx, [ebp - 4]
mov byte [ebp + eax - 0x404], 0
push 0
push 0
push 0
push 0
push edx
push 0
lea ecx, [ebp - 0x404]
push 0
push ecx
call sub.KERNEL32.DLL_GetVolumeInformationA
jmp 0x412ebd
cmp byte [ebx], 0
je 0x412ed0
push ebx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x412ed0
push 0
push 0
push 0
lea eax, [ebp - 4]
push 0
push eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_GetVolumeInformationA
mov edx, dword [ebp - 4]
push edx
push str._08X
push edi
push esi
call fcn.0048ebac
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ee14
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
mov byte [0x4d760c], 1
mov eax, dword [sym.multiinstall.exe__Form1]
call fcn.00473584
cmp byte [ebx + 0x3c49], 0
je 0x41ee60
cmp byte [ebx + 0x371c], 0
je 0x41ee46
lea edx, [ebx + 0x371c]
push edx
call sub.KERNEL32.DLL_DeleteFileA
cmp byte [ebx + 0x331c], 0
je 0x41ee5b
lea ecx, [ebx + 0x331c]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
call fcn.00412c98
push str.FECHAMENTO:Botao_X
push 0x4d9adc
push 0x4d9bc4
call fcn.00426664
add esp, 0xc
mov eax, ebx
call fcn.0041ed90
pop ebx
ret
Function at 0x438704
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00438588
dec esi
jne 0x438726
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x439850
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e7e68
cmp dword [edi], 0
jne 0x4398cc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e7e64]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e152c
mov ecx, 2
call fcn.0044e0ac
mov edx, 0x439828
lea eax, [esi + 5]
call fcn.00439848
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00439848
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4398a1
mov dword [0x4e7e64], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43b158
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x42bba8]
call fcn.004503f0
xor eax, eax
push ebp
push 0x43b29c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e1564], 0
jne 0x43b1ab
mov ecx, dword [0x4e780c]
mov dl, 1
mov eax, dword [0x43c1cc]
call fcn.0044089c
call fcn.0044f480
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0044e5c8
mov eax, ebx
call fcn.00450260
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x43b2ac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00451770
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00450270
test eax, eax
jle 0x43b243
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x43b23c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0044fc64
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0044fc4c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0043d0a8
test eax, eax
jne 0x43b23c
mov ebx, 0x15
jmp 0x43b248
mov ebx, 0x10
jmp 0x43b248
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e1564]
call fcn.0043b0b0
mov eax, dword [ebp - 8]
call fcn.0043b0b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00451788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b2a3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0044fa08
lea eax, [ebp - 0x10]
mov edx, dword [0x42bba8]
call fcn.004504c0
ret
Function at 0x440028
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 0x440061
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044fad4
jmp 0x44006a
mov eax, ebx
mov edx, esi
call fcn.0044fa38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x440074
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 0x440095
mov al, byte [esp]
jmp 0x440097
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44071c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x440594
mov eax, dword [0x4e79c8]
cmp byte [eax], 0
je 0x440789
mov eax, dword [0x4e79d0]
call fcn.0044e448
call fcn.0044e018
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0043d7f4
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 0x4407d0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4407bf
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e7874]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e7b98]
call fcn.004511a0
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 0x441540
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 0x4415a4
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.0044fc4c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0043d2a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4415ab
lea eax, [ebp - 0xc]
call fcn.0044f9e4
ret
Function at 0x44eb24
Capabilities:
Query or enumerate registry value

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

Function at 0x44f7e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e81f8], 0
je 0x44f845
cmp word [0x4e83cc], 0xd7b2
jne 0x44f80d
cmp dword [0x4e83d4], 0
jbe 0x44f80d
mov eax, 0x4e83c8
call dword [0x4e83e4]
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 0x44f86c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4e1a9c], 0
jne 0x44f861
push 0
push 0x4e1af4
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x44f998
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0044de48
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e81f9], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x44f960
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x451394
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 0x4515c4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x451417
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4515c4
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x451417
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4515e0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4514a0
xor eax, eax
push ebp
push 0x451499
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004511dc
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 0x45147e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x451600
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x45147e
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 0x4514a0
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 0x4515ba
cmp byte [ebp - 0xd], 0
jne 0x4514e7
cmp byte [ebp - 0x12], 0
je 0x4515ba
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x451500
dec ebx
cmp byte [ebx], 0x2e
je 0x45150f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4514ff
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4515ba
inc ebx
cmp byte [ebp - 0x12], 0
je 0x45154c
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 0x4515ba
cmp byte [ebp - 0xd], 0
je 0x4515ba
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 0x4515ba
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