joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435860
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x3c8]
test eax, eax
je 0x4358f3
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
lea ecx, [edi + 0x3bc]
call fcn.0050a100
mov esi, eax
test esi, esi
je 0x4358d3
mov eax, dword [esi]
xor edi, edi
test eax, eax
je 0x4358c6
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
push 2
call ebp
mov eax, dword [esp + 0x10]
inc edi
cmp eax, 0x103
jne 0x4358c6
cmp edi, 5
jl 0x43589c
mov edx, dword [esi]
push 7
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call fcn.0050d161
mov edi, dword [esp + 0x18]
add esp, 4
mov eax, dword [edi + 0x3c8]
test eax, eax
jne 0x435883
xor eax, eax
pop esi
test eax, eax
pop ebx
je 0x4358f3
mov eax, dword [edi + 0x4d8]
test eax, eax
jle 0x4358f3
push 0x64
call ebp
pop edi
pop ebp
add esp, 8
ret
Function at 0x435980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x53a49b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
push str.2F364306_AA45_47B5_9F9D_39A8B94E7EF7
lea ecx, [esp + 0x10]
call fcn.0050d46b
xor esi, esi
push str.SoftwareMicrosoftWindowsCurrentVersionexplorerBrowser_Helper_Objects_
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], esi
mov dword [esp + 8], esi
call fcn.0050d46b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push 0xf003f
push esi
push ecx
push reloc.FGBTCORE.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x435ad9
push ebx
push edi
mov ecx, 0x3f
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x10]
stosb byte es:[edi], al
push esi
push esi
lea eax, [esp + 0x1c]
push esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x435ad0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.004eea90
add esp, 8
test eax, eax
je 0x435ad0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x435ad0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x435ad0
mov edx, dword [esp + 0x1c]
push edx
call ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2c]
inc esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, 0x64
mov dword [esp + 0x10], 0xff
stosb byte es:[edi], al
jge 0x435ad0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x435a2c
mov ecx, dword [esp + 0xc]
push ecx
call ebx
pop edi
pop ebx
lea ecx, [esp + 0x10]
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x124]
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x435f90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x53a4f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x591288]
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x120], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esp + eax + 0xf], 0x5c
je 0x43601b
mov edi, 0x588788
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
call fcn.0050d586
push str.drivers_tcpip.sys
lea ecx, [esp + 0xc]
call fcn.0050d7d9
mov esi, dword [esp + 0x124]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 4

Function at 0x436080
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 8], 0
call fcn.00435f90
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.0050d3fd
test esi, esi
je 0x436130
cmp esi, 0xffffffff
je 0x436130
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x57a80
je 0x4360dc
cmp eax, 0x57d80
jne 0x436120
sub eax, 0x57a80
push edi
neg eax
sbb eax, eax
push 0
and eax, 0x280
push 0
add eax, 0x4f322
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
pop edi
jne 0x436120
lea ecx, [esp + 8]
push 0
push ecx
lea edx, [esp + 0xc]
push 4
push edx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x436140
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x53a527
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00435f90
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov edi, 1
push ecx
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
cmp ebp, ebx
jne 0x4361ac
mov eax, dword [0x588d5c]
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.0050d46b
mov dword [esp + 0x14], edi
jmp 0x4362e3
lea edi, [ebp + 0xa]
push edi
call fcn.0050d138
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4361ca
mov ecx, dword [0x588d5c]
push ecx
jmp 0x4362d0
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add ebp, 2
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push ebp
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x436207
push esi
call fcn.0050d161
mov ecx, dword [0x588d5c]
add esp, 4
push ecx
jmp 0x4362d0
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push 0x588788
push esi
mov dword [esp + 0x34], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4362c0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4362c0
cmp dword [esp + 0x18], 0x34
jb 0x4362c0
mov ecx, dword [eax + 8]
push esi
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
call fcn.0050d161
mov eax, dword [0x591288]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x30], 2
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
mov eax, dword [esp + 0x24]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
lea eax, [esp + 0x30]
push str._u._u._u._u
push eax
call fcn.005060bb
mov esi, dword [esp + 0x50]
add esp, 0x18
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0050d172
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
mov byte [esp + 0x30], 1
call fcn.0050d3fd
jmp 0x4362e3
push esi
call fcn.0050d161
mov edx, dword [0x588d5c]
add esp, 4
push edx
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.0050d46b
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.0050d3fd
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4396d0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x53ab87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 0xd
call fcn.0050d3fd
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xc
call fcn.0050d3fd
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call fcn.0050d3fd
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call fcn.0050d3fd
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call fcn.0050d3fd
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call fcn.0050d3fd
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call fcn.0050d3fd
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call fcn.0050d3fd
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call fcn.0050d3fd
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call fcn.0050d3fd
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call fcn.0050d3fd
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.0050d3fd
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.0050d3fd
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.0050d3fd
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x439820
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, dword [esp + 0x198]
test esi, esi
jne 0x439836
lea esi, [esp + 4]
push esi
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x439869
cmp byte [esi], 1
jne 0x439863
xor eax, eax
mov al, byte [esi + 1]
cmp al, 1
jne 0x439863
mov eax, 1
pop esi
add esp, 0x190
ret 4
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x190
ret 4
Function at 0x43a160
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x53ac70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x591288]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
push str.SoftwareJetCarJetCarFtp_Proxy
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.0050d586
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ecx
push reloc.FGBTCORE.dll_Ordinal_1
call edi
push str.SoftwareJetCarJetCarProxy
lea ecx, [esp + 0x18]
call fcn.0050d586
mov edx, dword [esp + 0x14]
push edx
push reloc.FGBTCORE.dll_Ordinal_1
call edi
mov edi, dword [esi + 0x280]
mov ecx, esi
push edi
push str.Count
push 0x58a4a4
mov dword [esp + 0x28], edi
call fcn.0051d77d
mov eax, dword [esi + 0x2b4]
mov ecx, esi
push eax
push str.DefaultForHttp
push 0x58a4a4
call fcn.0051d77d
mov ecx, dword [esi + 0x2bc]
push ecx
push str.DefaultForStream
push 0x58a4a4
mov ecx, esi
call fcn.0051d77d
mov edx, dword [esi + 0x2b8]
mov ecx, esi
push edx
push str.DefaultForFtp
push 0x58a4a4
call fcn.0051d77d
mov eax, dword [esi + 0x2b0]
mov ecx, esi
push eax
push str.Rollback
push 0x58a4a4
call fcn.0051d77d
mov ecx, dword [0x591288]
mov dword [esp + 0x10], ecx
mov ebp, dword [esi + 0x278]
xor eax, eax
test edi, edi
mov byte [esp + 0x34], 1
jle 0x43a380
test ebp, ebp
je 0x43a380
lea ebx, [eax + 1]
lea edx, [esp + 0x10]
push ebx
push 0x58a4a4
push 0x58a4a4
push str._s_s_d
push edx
call fcn.005060bb
mov eax, ebp
mov ebp, dword [ebp]
add esp, 0x14
mov edi, dword [eax + 8]
test edi, edi
je 0x43a372
mov eax, dword [edi]
mov ecx, esi
push eax
mov eax, dword [esp + 0x14]
push 0x58a2b8
push eax
call fcn.0051d7f2
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push str.Flags
push edx
mov ecx, esi
call fcn.0051d77d
movsx eax, word [edi + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 0x58b460
push ecx
mov ecx, esi
call fcn.0051d77d
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x10]
push eax
push str.Server
push edx
mov ecx, esi
call fcn.0051d7f2
mov eax, dword [edi + 8]
mov ecx, esi
push eax
mov eax, dword [esp + 0x14]
push str.UserName
push eax
call fcn.0051d7f2
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push str.Port
push edx
mov ecx, esi
call fcn.0051d77d
push ecx
add edi, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.0050d172
push ecx
mov byte [esp + 0x3c], 2
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Password
call fcn.0050d46b
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x44], 3
call fcn.0050d172
lea ecx, [esp + 0x24]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x48], 1
call fcn.004430a0
lea ecx, [esp + 0x18]
call fcn.0050d3fd
mov ecx, dword [esp + 0x1c]
mov eax, ebx
cmp eax, ecx
jl 0x43a264
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x43a990
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x53ad88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x591288]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
xor ebp, ebp
push str.SoftwareJetCarJetCarRules
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebp
call fcn.0050d586
mov ecx, dword [esp + 0x20]
push ecx
push reloc.FGBTCORE.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [edi + 0x6ec]
cmp eax, ebp
je 0x43a9ee
mov esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jmp 0x43a9f4
mov dword [esp + 0x1c], ebp
mov esi, ebp
push esi
push str.Count
push str.Rules
mov ecx, edi
call fcn.0051d77d
mov eax, dword [0x591288]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x6ec]
mov bl, 2
cmp eax, ebp
mov byte [esp + 0x3c], bl
je 0x43aa28
mov eax, dword [eax + 4]
jmp 0x43aa2a
xor eax, eax
test esi, esi
mov ebp, eax
mov dword [esp + 0x18], 0
jle 0x43ab93
test ebp, ebp
je 0x43ab93
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push 0x58838c
push eax
call fcn.005060bb
mov eax, ebp
mov ebp, dword [ebp]
add esp, 0xc
mov esi, dword [eax + 8]
test esi, esi
je 0x43ab7e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0x58b510
push edx
call fcn.0050d706
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.0050d3fd
mov eax, dword [esi + 4]
mov ecx, edi
push eax
mov eax, dword [esp + 0x14]
push eax
push str.Rules
call fcn.0051d7f2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push str.Flags
push edx
call fcn.0050d706
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0050d3fd
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.Rules
mov ecx, edi
call fcn.0051d77d
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push str.Var1
push eax
call fcn.0050d706
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.0050d536
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], bl
call fcn.0050d3fd
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.Rules
mov ecx, edi
call fcn.0051d7f2
lea edx, [esp + 0x14]
lea eax, [esp + 0x30]
push edx
push str.Var2
push eax
call fcn.0050d706
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 6
call fcn.0050d536
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], bl
call fcn.0050d3fd
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
push esi
push ecx
push str.Rules
mov ecx, edi
call fcn.0051d7f2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x43aa3c
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call fcn.0050d3fd
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x43c210
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43c272
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x43cb40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x53b1c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
cmp word [esi + 0x484], 0
mov dword [esp + 0x124], 1
jle 0x43ccdf
mov eax, dword [0x591288]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x12c], 2
call fcn.0042fdd0
push str.language_
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x130], 3
call fcn.0050d692
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 5
call fcn.0050d3fd
movsx eax, word [esi + 0x484]
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esi + 0x428]
call fcn.0041a2f0
push eax
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x130], 6
call fcn.0050d62c
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x128], 7
call fcn.0050d536
lea ecx, [esp + 8]
mov byte [esp + 0x124], 6
call fcn.0050d3fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], 5
call fcn.0050d3fd
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x130]
push ecx
lea edx, [esp + 0x20]
push 0x100
push edx
push 0x596660
push 0x58a2b8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x43ccbd
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0050d46b
mov esi, dword [esp + 0x12c]
lea edx, [esp + 8]
push edx
mov ecx, esi
mov byte [esp + 0x128], 8
call fcn.0050d172
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x124], 5
call fcn.0050d3fd
lea ecx, [esp + 4]
mov byte [esp + 0x124], 2
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 1
call fcn.0050d3fd
jmp 0x43ccfa
lea ecx, [esp + 4]
mov byte [esp + 0x124], 2
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 1
call fcn.0050d3fd
mov esi, dword [esp + 0x12c]
push 0x596660
mov ecx, esi
call fcn.0050d46b
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret 8
Function at 0x43d250
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x53b2ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x591288]
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
push 4
push ecx
push 7
push 0x800
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43d2e6
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0050d586
xor edi, edi
mov esi, 0x588d84
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004eea90
add esp, 8
test eax, eax
je 0x43d2d5
add esi, 8
inc edi
cmp esi, 0x5894f4
jl 0x43d2b3
jmp 0x43d2e6
mov ecx, dword [edi*8 + 0x588d80]
push ecx
lea ecx, [esp + 0x10]
call fcn.0050d586
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x43d2f6
cmp eax, 3
jl 0x43d316
mov ecx, ebp
call fcn.0043d090
test eax, eax
je 0x43d308
push 0x589b3c
jmp 0x43d30d
push 0x5895a4
lea ecx, [esp + 0x10]
call fcn.0050d586
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
push eax
call fcn.004ef567
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
je 0x43dee5
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push eax
push esi
mov byte [eax], 0
call fcn.004efc47
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push esi
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x43dee5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
xor edi, edi
push 0x105
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x43debf
mov edi, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x43dee5
push esi
push SysReAllocStringLen
call ebx
push 0x5c
push esi
call fcn.004efbd5
add esp, 8
test eax, eax
jne 0x43de80
push esi
call fcn.004ee909
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
Function at 0x43df00
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x43df33
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
mov eax, dword [esp + 0x14]
push 1
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 0xc
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x43df89
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x10]
push esi
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43df89
test esi, esi
jne 0x43df89
pop edi
mov eax, 1
pop esi
ret 0xc
pop edi
xor eax, eax
pop esi
ret 0xc