joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b510
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x416190]
cmp ax, 0xcb
je 0x40b60c
cmp ax, 0xcc
je 0x40b60c
mov edx, dword [0x432030]
test edx, edx
je 0x40b542
mov eax, dword [0x431ed0]
call edx
mov ebx, eax
jmp 0x40b547
mov ebx, 0x431ed4
cmp word [0x431ec0], 0
jle 0x40b56a
mov eax, 0x431ea0
call fcn.0040b780
mov eax, ebx
call fcn.0040b0f0
mov eax, ebx
call fcn.0040b160
mov edi, dword [ebx]
jmp 0x40b58a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40b585
mov edx, edi
mov eax, ebx
call fcn.0040a5c0
jmp 0x40b588
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40b570
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x431ec0], 0
jle 0x40b60c
mov edx, 0x431de0
mov eax, ebx
call fcn.0040a6f0
mov edi, eax
test edi, edi
je 0x40b5df
mov eax, dword [0x431e74]
mov dword [edi + 0xc], eax
cmp dword [0x431e74], 0
je 0x40b5d4
mov eax, dword [0x431e74]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x431e74], eax
sub word [0x431ec0], 1
cmp word [0x431ec0], 0
sete bl
mov eax, 0x431ea0
call fcn.0040b790
test bl, bl
je 0x40b60c
mov eax, 0x431ea0
call fcn.0040b770
pop edi
pop esi
pop ebx
ret
Function at 0x4010b0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4010c2
mov eax, dword [0x40908b]
shl eax, 2
mov dword [0x40908f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00402470
pop edx
call fcn.0040180c
call fcn.00402474
push 0
call fcn.00403678
pop ecx
push 0x409034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x409093], eax
push 0
jmp fcn.00407114

Function at 0x402164
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x406198
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4061fa
call fcn.00406148
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00402814
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00402814
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x406258
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x40ab0c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x406332
cmp dword [0x40ab08], 0
jne 0x406332
cmp dword [0x40acfc], 0
je 0x4062ec
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00406048
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4062d2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00406048
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4062d2
lea ebx, [ebp - 0x84]
jmp 0x4062d3
inc ebx
call fcn.00406214
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40636d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40ab10
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00402814
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40ab13
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x40636d
cmp dword [0x40ab08], 0
je 0x40634c
cmp dword [0x40ab08], 0xffffffff
je 0x40636d
push esi
call dword [0x40ab08]
pop ecx
mov eax, dword [0x40ab0c]
test eax, eax
je 0x40636d
cmp dword [0x40ab0c], 0xffffffff
je 0x40636d
cmp byte [eax], 0
je 0x40636d
push esi
push eax
call fcn.00406198
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406b58
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x40bda0], 0
jne 0x406bd9
cmp dword [0x40bdc0], 0
jne 0x406b88
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x40bdc0], eax
test eax, eax
jne 0x406b88
push str.GetEnvironmentStrings_failed
call fcn.00406384
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x40bdc0]
jmp 0x406b9c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00402814
pop ecx
mov edi, eax
test eax, eax
jne 0x406b94
lea edi, [ebp + 1]
push edi
call fcn.0040171c
pop ecx
mov ebx, eax
mov dword [0x40bda4], ebx
test ebx, ebx
jne 0x406bc6
xor eax, eax
jmp 0x406c9c
push edi
mov edx, dword [0x40bdc0]
push edx
push ebx
call fcn.00402700
add esp, 0xc
jmp 0x406bf9
xor esi, esi
mov ebx, dword [0x40bda0]
jmp 0x406bf3
push eax
call fcn.00402814
pop ecx
test eax, eax
jne 0x406bef
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x406be3
lea ebx, [esi + 4]
push 4
mov dword [0x40bda8], ebx
inc ebx
push ebx
call fcn.00401280
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x406c1c
xor eax, eax
jmp 0x406c9c
cmp dword [0x40bda0], 0
jne 0x406c4d
xor esi, esi
mov ebx, dword [0x40bda4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x406c3e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00402814
pop ecx
mov edi, eax
test eax, eax
jne 0x406c34
jmp 0x406c7e
xor esi, esi
mov ebx, dword [0x40bda0]
mov eax, dword [esp]
mov edi, eax
jmp 0x406c78
push eax
call fcn.00402814
pop ecx
test eax, eax
je 0x406c6d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x406c71
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x406c5c
mov eax, dword [0x40bda0]
test eax, eax
je 0x406c8e
push eax
call fcn.0040172c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x40bda0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420a3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [eax], al
adc al, 0xa1
aam 0x97
add byte [eax], al
mov ecx, dword [ebp + 8]
imul eax, eax, 0x14
add eax, dword [0x97d8]
add ecx, 0x17
and ecx, 0xfffffff0
mov dword [ebp - 0x10], ecx
sar ecx, 4
push ebx
dec ecx
cmp ecx, 0x20
push esi
push edi
jge 0x420a75
or esi, 0xffffffff
shr esi, cl
or dword [ebp - 8], 0xffffffff
jmp 0x420a82
add ecx, 0xffffffe0
or edx, 0xffffffff
xor esi, esi
shr edx, cl
mov dword [ebp - 8], edx
mov ecx, dword [0x4697e0]
mov ebx, ecx
jmp 0x420a9d
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
and edx, dword [ebp - 8]
and edi, esi
or edx, edi
jne 0x420aa4
add ebx, 0x14
cmp ebx, eax
mov dword [ebp + 8], ebx
jb 0x420a8c
cmp ebx, eax
jne 0x420b27
mov ebx, dword [0x97d8]
jmp 0x420ac1
mov edx, dword [ebx + 4]
mov edi, dword [ebx]
and edx, dword [ebp - 8]
and edi, esi
or edx, edi
jne 0x420ac8
add ebx, 0x14
cmp ebx, ecx
mov dword [ebp + 8], ebx
jb 0x420ab0
cmp ebx, ecx
jne 0x420b27
jmp 0x420ada
cmp dword [ebx + 8], 0
jne 0x420ade
add ebx, 0x14
mov dword [ebp + 8], ebx
pop ebp
invalid
cmp ebx, eax
jb 0x420ace
Function at 0x40349c
Capabilities:
Query or enumerate registry value

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

Function at 0x403de0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403e41
cmp word [0x40a218], 0xd7b2
jne 0x403e09
cmp dword [0x40a220], 0
jbe 0x403e09
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40908c
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 0x403e68
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403e5d
push 0
push 0x409084
push 0x40908c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404798
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 0x4049c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40481b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4049c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40481b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4049e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4048a4
xor eax, eax
push ebp
push 0x40489d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004045e0
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 0x404882
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404a04
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404882
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 0x4048a4
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 0x4049be
cmp byte [ebp - 0xd], 0
jne 0x4048eb
cmp byte [ebp - 0x12], 0
je 0x4049be
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404904
dec ebx
cmp byte [ebx], 0x2e
je 0x404913
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404903
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4049be
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404950
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 0x4049be
cmp byte [ebp - 0xd], 0
je 0x4049be
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 0x4049be
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 0x4048a4
Capabilities:
Get geographical location

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 0x4049c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40481b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4049c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40481b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4049e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4048a4
xor eax, eax
push ebp
push 0x40489d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004045e0
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 0x404882
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404a04
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404882
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 0x4048a4
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 0x4049be
cmp byte [ebp - 0xd], 0
jne 0x4048eb
cmp byte [ebp - 0x12], 0
je 0x4049be
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404904
dec ebx
cmp byte [ebx], 0x2e
je 0x404913
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404903
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4049be
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404950
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 0x4049be
cmp byte [ebp - 0xd], 0
je 0x4049be
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 0x4049be
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 0x404b54
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 0x404bba
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.004041a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b9c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404ba4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404bc1
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x406958
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 0x406991
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40699a
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40704c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406ec4
mov eax, dword [0x4093dc]
cmp byte [eax], 0
je 0x4070c8
mov eax, dword [0x409330]
call fcn.004029dc
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.00405e4c
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 0x407110
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4070fe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x409310]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.004045a4
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 0x407abc
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 0x407b20
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.004041a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405d20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407b27
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret
Function at 0x40ac50
Capabilities:
Encode data using xor

Disassembly:
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add dword [edx], eax
or byte [ecx], dl
add byte [edx], al
add dl, byte [0x100000]
add byte [edx], al
add byte [edx], al
add dword [ecx], edx
add byte [eax], al
add eax, 0x51100
add dword [edx], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, 4
add al, 4
add al, 0
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add al, byte [eax]
add al, byte [edx]
add byte [eax], al
add byte [eax], al
add dword [edx], eax
add dword [ecx], eax
add dword [edx], eax
add dword [edx], eax
add byte [eax], al
add byte [esi], bl
add al, 0
add byte [ebp], ah
add byte [eax], al
arpl word [eax], ax
add byte [eax], al
popal
add byte [eax], al
add byte [0xa000000], cl
or al, byte [eax]
add byte [eax], al
sbb al, 1
add dword [ecx], eax
add byte cs:[ecx], cl
add dword [ebx], eax
add byte [eax], al
add dword [edx + 1], ebx
add byte [eax], al
and al, byte [eax]
add byte [eax], al
sub byte [eax], al
add byte [eax], al
mov al, byte [0x11006d2]
add dword [eax], eax
add byte [eax], al
add al, byte [eax]
add byte [eax], al
pop eax
rol byte [esi], cl
adc byte [edi + eax*4 - 0x2dafeffa], al
push es
adc byte [eax - 0x2e], cl
push es
adc byte [eax - 0x2e], al
push es
adc byte [esi], bl
add al, byte [eax]
add byte [ebx], al
add al, byte [ecx]
add byte [edx], ch
aas
pop ebx
add byte [0x2501005f], ah
pop edi
add byte [eax], al
xor byte [ecx], dh
xor dh, byte [ebx]
xor al, 0x35
aaa
cmp byte [ecx], bh
inc ecx
inc edx
inc ebx
inc esp
inc ebp
inc esi
add dword [eax], eax
add byte [eax], al
and dl, dl
push es
adc al, dl
outsb dx, byte [esi]
add dword [eax], edx
shr bh, 0
adc byte [eax + 0x701003cc], dl
pop ebp
add edx, dword [eax]
ror ah, 3
adc al, dl
pop ebp
add edx, dword [eax]
xor byte [esi + 3], bl
adc byte [eax - 0x10], dh
add byte [eax], dl
adc cl, dh
add byte [eax], dl
loopne 0x40ad2e
add byte [eax], dl
loopne 0x40ad0e
add edx, dword [eax]
adc ch, cl
add edx, dword [eax]
inc eax
int 3
adc byte [eax], ah
sub eax, 0x2de01001
add dword [eax], edx
add byte [ecx + eax], ch
adc byte [eax - 0x4a], ah
add edx, dword [eax]
xor byte [eax], 1
adc al, dl
xor byte [ecx], al
adc byte [eax - 0x37], al
add edx, dword [eax]
mov al, byte [0xf01003c9]
leave
add edx, dword [eax]
shr bh, 1
add byte [eax], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
push eax
cmp eax, 0x3d701002
add dl, byte [eax]
inc eax
retf 0x1003
Function at 0x402660
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 4], 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
push eax
push ecx
push str.DownProgName
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x4026a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x402716
lea eax, [esp + 8]
push str.TwInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x402716
mov eax, 1
add esp, 0x210
ret
xor eax, eax
cmp word [esp + 8], ax
sete al
add esp, 0x210
ret

Function at 0x402730
Capabilities:
Set registry value

Disassembly:
push str.TwInternalDownload
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.TwInternalDownload
push 1
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
ret