joyce8/EMBER2024-capa huggingface dataset:
Function at 0x356560
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 0x356790
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x3565e3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x356790
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x3565e3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x3567ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x35666c
xor eax, eax
push ebp
push 0x356665
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0035639c
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 0x35664a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x3567cc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x35664a
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 0x35666c
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 0x356786
cmp byte [ebp - 0xd], 0
jne 0x3566b3
cmp byte [ebp - 0x12], 0
je 0x356786
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x3566cc
dec ebx
cmp byte [ebx], 0x2e
je 0x3566db
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x3566cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x356786
inc ebx
cmp byte [ebp - 0x12], 0
je 0x356718
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 0x356786
cmp byte [ebp - 0xd], 0
je 0x356786
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 0x356786
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 0x358cfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x358d4e
test eax, edx
je 0x358d51
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x358d11
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x358d37
add ecx, 4
js 0x358d27
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x358d34
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x358d5d
test edx, edx
jne 0x358d04
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00354f94
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x359b02
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x359b23
cmp ebx, 3
je 0x359b23
cmp ebx, 0x7b
je 0x359b23
mov eax, esi
call fcn.00359aa4
test al, al
jne 0x359b27
xor eax, eax
jmp 0x359b29
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00354f94
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x359b45
test al, 0x10
jne 0x359b49
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x359c48
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00354f94
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x359c5c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00354f94
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x359c7e
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x35d10c
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 0x35d145
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00354bfc
jmp 0x35d14e
mov eax, ebx
mov edx, esi
call fcn.00354b60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x35d158
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 0x35d17a
movzx eax, byte [esp]
jmp 0x35d17c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x35d80c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x35d684
mov eax, dword [0x3d81bc]
cmp byte [eax], 0
je 0x35d888
mov eax, dword [0x3d7fd8]
call fcn.003533e4
call fcn.00352fdc
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.0035a1fc
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 0x35d8d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x35d8be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x3d7f94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x3db7f8]
call fcn.00356344
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 0x36b644
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.0036b354
dec esi
jne 0x36b666
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x36da70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x36db08
push 0
mov eax, ebx
call fcn.00354f94
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x36dae3
mov ebx, esi
test ebx, ebx
je 0x36dab9
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00354f94
push eax
push 1
push 0
mov eax, edi
call fcn.00354f94
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x36dafe
mov ecx, dword [0x3d7ff8]
mov dl, 1
mov eax, dword [0x36c090]
call fcn.0035d990
call fcn.003543fc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x36db24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00354b0c
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00354f94
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x36dbcb
xor eax, eax
push ebp
push 0x36dbc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00355224
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00354f94
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00354f94
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x36dba6
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00355224
jmp 0x36dbad
mov eax, ebx
call fcn.00354b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x36dbcb
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x37669c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00354f84
xor eax, eax
push ebp
push 0x3767fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00354b0c
mov edx, dword [ebp - 4]
mov eax, 0x376814
call fcn.003550e0
test eax, eax
jne 0x37676c
lea eax, [ebp - 8]
mov edx, 1
call fcn.00355224
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00354f94
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00354f94
mov edi, eax
push edi
push 0
call sub.kernel32.dll_SearchPathA
mov ebx, eax
inc ebx
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00355224
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00354f94
push eax
push ebx
push 0
push edi
push 0
call sub.kernel32.dll_SearchPathA
test eax, eax
je 0x376760
mov eax, dword [ebp - 8]
call fcn.00354f94
call fcn.0035a1fc
mov edx, eax
lea eax, [ebp - 8]
call fcn.00355224
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00354b60
jmp 0x3767e2
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00354b60
jmp 0x3767e2
lea eax, [ebp - 8]
mov edx, 1
call fcn.00355224
push 0
mov eax, dword [ebp - 8]
call fcn.00354f94
push eax
mov eax, dword [ebp - 4]
call fcn.00354f94
mov edi, eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov ebx, eax
inc ebx
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00355224
push ebx
mov eax, dword [ebp - 8]
call fcn.00354f94
push eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
je 0x3767d8
mov eax, dword [ebp - 8]
call fcn.00354f94
call fcn.0035a1fc
mov edx, eax
lea eax, [ebp - 8]
call fcn.00355224
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00354b60
jmp 0x3767e2
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00354b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x376804
lea eax, [ebp - 8]
mov edx, 2
call fcn.00354b30
ret
Function at 0x376cb8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x376e21
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00375dd4
cmp al, 9
jb 0x376d7e
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00355224
xor edx, edx
push ebp
push 0x376d77
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00354f94
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x376d5f
mov eax, dword [ebp - 4]
call fcn.00354f94
mov edx, dword [ebp - 8]
call fcn.0035a37c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x376d39
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x376d55
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0035e600
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00354b60
call fcn.003544a8
jmp 0x376dfe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x376d7e
lea eax, [ebp - 4]
xor edx, edx
call fcn.00355224
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x3d8070]
mov eax, dword [eax]
mov ecx, 0x376e34
mov edx, 0x376e44
call fcn.003753f0
test al, al
je 0x376dfe
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00376ac0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00354b60
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x376dca
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x376dfe
mov eax, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x376de2
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x376dfe
mov eax, dword [ebp - 8]
mov edx, 0x376e90
call fcn.00354dd0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x376e28
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 4]
call fcn.00354b0c
ret
Function at 0x37b144
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x37b21e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00354d04
mov edx, dword [ebp - 0x18]
mov eax, dword [0x3ddbd0]
call fcn.0037a604
test al, al
je 0x37b18a
mov ebx, 1
jmp 0x37b208
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x37b1b7
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x37b208
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x37b1eb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x37b1eb
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37b225
lea eax, [ebp - 0x18]
call fcn.00354b0c
ret

Function at 0x37b230
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x37b278
lea eax, [esp + 0x105]
push eax
push 0
push 0x37b2b0
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x37b278
lea eax, [esp + 0x105]
call fcn.0035a1fc
cmp ebx, eax
jg 0x37b27c
xor eax, eax
jmp 0x37b27e
mov al, 1
mov ebx, eax
test bl, bl
je 0x37b298
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0035a23c
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x3d7f5c]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x37bc30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x37bc39
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x37bd76
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.0037babc
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x22]
call fcn.0035a2a8
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.0037b928
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x122]
call fcn.0035a2a8
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.0037ba04
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x222]
call fcn.0035a2a8
cmp word [esi + 0x4a], 0
je 0x37bcc6
push edi
lea eax, [ebp - 1]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 1], 0
jne 0x37bd37
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x14]
call fcn.00359b50
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.0037ab58
mov eax, dword [ebp - 0x18]
call fcn.00354f94
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [esi + 0x3ac], eax
xor eax, eax
mov dword [esi + 0x3b0], eax
movzx ebx, byte [ebp - 1]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37bd7d
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00354b30
ret
Function at 0x37e090
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00354f84
xor eax, eax
push ebp
push 0x37e2d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00354b60
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x37e2ae
cmp dword [0x3d7164], 0
jne 0x37e0f5
call fcn.0037f018
cmp dword [0x3d7164], 0
je 0x37e2ae
xor eax, eax
push ebp
push 0x37e2a4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x37e293
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x37e2f0
call fcn.00354ba4
mov edx, dword [ebp - 4]
mov eax, 0x37e300
call fcn.003550e0
mov esi, eax
test esi, esi
jle 0x37e154
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00354ffc
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.0035503c
cmp dword [ebp - 4], 0
jne 0x37e174
mov dl, 1
mov eax, ebx
call fcn.00371804
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.003594f0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x3d7164]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00378348
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00354b60
mov eax, dword [0x3d7164]
cmp byte [eax + 0x13], 0
je 0x37e1e0
push 0x37e30c
push dword [ebp - 4]
push 0x37e320
push ebx
push 0x37e320
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00354e98
mov eax, dword [ebp - 0x1c]
call fcn.00354f94
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x37e22d
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00354b60
mov eax, dword [0x3d7164]
cmp byte [eax + 0x11], 0
je 0x37e217
push dword [ebp - 4]
push 0x37e32c
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00354e98
mov byte [ebp - 0xd], 0
call fcn.003544a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x37e2ae
mov byte [ebp - 0xd], 1
mov eax, dword [0x3d7164]
cmp byte [eax + 0x11], 0
je 0x37e256
push dword [ebp - 4]
push 0x37e338
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00354e98
lea eax, [ebp - 8]
call fcn.00354b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37e29a
mov eax, dword [0x3d7164]
cmp dword [eax + 0x18], 0
je 0x37e292
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x3d7164]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00354b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37e2dd
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00354b30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00354b30
ret
Function at 0x37ee9c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x37ef92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x37efa8
call fcn.00354ba4
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x37ef02
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x37ef06
xor eax, eax
jmp 0x37ef08
mov al, 1
mov ebx, eax
test bl, bl
je 0x37ef23
lea eax, [ebp - 4]
lea edx, [ebp - 0xe]
call fcn.00354d04
mov eax, esi
lea edx, [ebp - 9]
call fcn.00354d04
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00358bec
mov eax, dword [ebp - 0x14]
mov edx, 0x37efb4
call fcn.00354f2c
jne 0x37ef65
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.00358bec
mov eax, dword [ebp - 0x18]
mov edx, 0x37efc0
call fcn.00354f2c
jne 0x37ef65
mov eax, edi
mov edx, dword [0x3d7168]
call fcn.00354b60
jmp 0x37ef6f
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00354b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37ef99
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 4]
call fcn.00354b0c
ret