joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c263
Capabilities:
Link many functions at runtime

Disassembly:
push 4
mov eax, 0x44d1ef
call fcn.00436c36
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x16c]
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jne 0x40c28d
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, ebx
je 0x40c2b4
lea ebx, [esi + 0x170]
cmp dword [ebx], 0
jne 0x40c2b2
push str.GetModuleFileNameExW
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebx], eax
xor ebx, ebx
jmp 0x40c2ba
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x60]
cmp ecx, 2
jne 0x40c368
mov eax, dword [esi + 0x54]
cmp eax, 4
je 0x40c2e0
cmp eax, 5
jne 0x40c368
cmp dword [esi + 0x58], ebx
jne 0x40c368
cmp dword [esi + 0x1c], ebx
jne 0x40c448
push str.PSAPI
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x40c302
xor al, al
jmp 0x40c44a
push str.EnumProcesses
push eax
call edi
push str.EnumProcessModules
push dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call edi
push str.GetModuleFileNameExW
push dword [esi + 0x1c]
mov dword [esi + 0x24], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x1c]
mov dword [esi + 0x28], eax
call edi
cmp dword [esi + 0x20], ebx
mov dword [esi + 0x2c], eax
je 0x40c34b
cmp dword [esi + 0x24], ebx
je 0x40c34b
cmp dword [esi + 0x28], ebx
je 0x40c34b
cmp eax, ebx
jne 0x40c448
push ebx
push ebx
push str.NT:_Could_not_get_the_ProcAddress_for_process_enum_
call fcn.0040738d
add esp, 0xc
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1c], ebx
jmp 0x40c2fb
cmp ecx, 1
je 0x40c380
cmp ecx, 2
jne 0x40c448
cmp dword [esi + 0x54], 4
jbe 0x40c448
cmp dword [esi + 0x30], ebx
jne 0x40c448
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x40c2fb
push str.CreateToolhelp32Snapshot
push eax
call edi
push str.Process32FirstW
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call edi
push str.Process32NextW
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
call edi
push str.Module32FirstW
push dword [esi + 0x30]
mov dword [esi + 0x3c], eax
call edi
push str.Module32NextW
push dword [esi + 0x30]
mov dword [esi + 0x40], eax
call edi
push str.Thread32First
push dword [esi + 0x30]
mov dword [esi + 0x44], eax
call edi
push str.Thread32Next
push dword [esi + 0x30]
mov dword [esi + 0x48], eax
call edi
cmp dword [esi + 0x34], ebx
mov dword [esi + 0x4c], eax
je 0x40c411
cmp dword [esi + 0x38], ebx
je 0x40c411
cmp dword [esi + 0x3c], ebx
je 0x40c411
cmp dword [esi + 0x40], ebx
je 0x40c411
cmp dword [esi + 0x44], ebx
jne 0x40c448
push ebx
push ebx
push str.2K__XP:_Could_not_get_the_ProcAddress_for_process_enum_
call fcn.0040738d
add esp, 0xc
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], ebx
jmp 0x40c2fb
mov al, 1
call fcn.00436cdb
ret
Function at 0x40c6aa
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0xffffffff
je 0x40c70e
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40c70e
push 0x10
pop eax
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40c70e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x514
setne cl
mov eax, ecx
jmp 0x40c710
xor eax, eax
leave
ret 8

Function at 0x40d35e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a86b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov dword [ebp - 0x210], eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00432ca0
add esp, 0xc
push dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x4912d0
push str.PRODUCT_REG
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004015ca
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004328fa
leave
ret

Function at 0x40e78c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x44d191
call fcn.00436c03
xor ebx, ebx
cmp dword [ecx + 0x10], ebx
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 4
mov eax, 0x20019
je 0x40e7ba
mov eax, 0x20119
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ecx], ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
push esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e7f3
lea ecx, [esi - 0x10]
call fcn.00401109
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
xor al, al
call fcn.00436cdb
ret 0x10
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x40e878
cmp dword [ebp - 0x14], 0x14
ja 0x40e878
cmp dword [ebp - 0x18], 4
jne 0x40e86a
cmp dword [ebp - 0x14], ebx
je 0x40e86a
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call edi
test eax, eax
push dword [ebp - 0x10]
je 0x40e858
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.00401109
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
mov al, bl
jmp 0x40e7eb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.00401109
mov bl, 1
jmp 0x40e849
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e7d6
push dword [ebp - 0x10]
jmp 0x40e83b
Function at 0x40e87d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x44c4b0
call fcn.00436c36
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x14]
push 0x491eee
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 1
call fcn.0040685c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], ebx
mov eax, 0x20019
je 0x40e8c2
mov eax, 0x20119
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push edi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e8f6
lea ecx, [edi - 0x10]
call fcn.00401109
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401109
xor al, al
call fcn.00436cdb
ret 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x40e91d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e8d9
cmp dword [ebp - 0x1c], 1
je 0x40e929
cmp dword [ebp - 0x1c], 2
jne 0x40e912
cmp dword [ebp - 0x18], ebx
je 0x40e912
push dword [ebp - 0x18]
call fcn.004147bd
pop ecx
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
push ebx
push eax
call fcn.00432ca0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call esi
cmp eax, ebx
push dword [ebp - 0x14]
je 0x40e982
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [edi - 0x10]
call fcn.00401109
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401109
mov al, bl
jmp 0x40e8ee
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
push 0x491708
push dword [ebp + 0x14]
call fcn.00406d8c
add esp, 0xc
push dword [ebp + 8]
call fcn.004147c2
pop ecx
lea ecx, [edi - 0x10]
call fcn.00401109
mov bl, 1
jmp 0x40e970

Function at 0x40fae9
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x40fb2e
mov eax, esi
call fcn.0041052a
test eax, eax
je 0x40fb33
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x40fe4f
push edi
push edi
mov dword [ebp - 4], edi
call fcn.00435045
add esp, 0x18
cmp eax, edi
mov dword [esi + 0xa8], eax
je 0x40fb2e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
leave
ret
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x40fb2e
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb0]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x68]
push dword [esi + 0x64]
push edi
push edi
push dword [esi + 0x90]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x40fb2e
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x40fb30
Function at 0x40fb93
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004208dc
mov eax, dword [eax + 0xc]
push 0x49174c
push 0x87
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40fc3f
call fcn.004208dc
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40fc3f
call fcn.004208dc
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40fc3f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40fc38
test ebx, ebx
je 0x40fc38
push edi
push eax
push ebx
call fcn.004345d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.0040f5f2
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x40fc41
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411682
Capabilities:
Read .ini file

Disassembly:
push 0x96c
mov eax, 0x44c460
call fcn.00436c6c
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [ebp - 0x974], 0
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [ebp - 0x978], esi
jl 0x411706
cmp ecx, dword [eax + 0x10]
jge 0x411706
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
mov ecx, dword [edx]
push eax
push 0x4b0
lea eax, [ebp - 0x970]
push eax
push 0x4912d0
push ecx
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x970]
push eax
mov ecx, esi
call fcn.004015ca
and dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x974], 1
call fcn.0041170c
mov eax, esi
call fcn.00436cef
ret 4
call fcn.0041bf2c
int3

Function at 0x4118f5
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4a86b0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x44c208
call fcn.00436c03
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.00432ca0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4119a4
call fcn.0041c12a
push eax
lea ecx, [ebp - 0x10]
call fcn.0040177e
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push 0x491708
push eax
mov dword [ebp - 4], edi
call fcn.00406d8c
add esp, 0xc
push str.English
lea esi, [ebp - 0x10]
call fcn.004069a0
cmp eax, 0xffffffff
jne 0x411997
push str.Deutsch
call fcn.004069a0
cmp eax, 0xffffffff
je 0x411997
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401109
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004328fa
add ebp, 0x20c
leave
ret
Function at 0x4142e1
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0x4989cc
lea ecx, [ebp - 4]
call fcn.004015ca
mov esi, SysReAllocString
push esi
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x414310
xor al, al
jmp 0x41435e
push ebx
push esi
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x41432b
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x414352
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x414346
push edi
call esi
push ebx
jmp 0x414350
cmp dword [ebp - 0x1c], 4
push ebx
je 0x414356
call esi
push edi
call esi
xor al, al
jmp 0x41435d
call esi
push edi
call esi
mov al, 1
pop ebx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x46], al
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401109
pop edi
pop esi
leave
ret 4
Function at 0x41450f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
cmp byte [esi + 0x45], 0
push ebx
push edi
jne 0x414525
push esi
call fcn.004142e1
push str.GlobalRC_MUTEX
lea ecx, [esp + 0x10]
call fcn.004015ca
push dword [esp + 0xc]
lea eax, [esi + 0x38]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
mov dword [esi + 8], eax
call fcn.00401109
push str.GlobalRC_QUARANTINE_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0xc]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
mov ebx, str.GlobalRC_SM
push ebx
mov edi, 0x1570
push edi
push 0
push 4
lea eax, [esi + 0x38]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4145b7
push ebx
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 4], eax
jmp 0x4145b9
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x4145cd
push ebx
push ebx
push str.CreateFileMapping_failed
call fcn.0040738d
add esp, 0xc
push edi
push ebx
push ebx
push 2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi], eax
jne 0x4145f0
push ebx
push ebx
push str.MapViewOfFile_failed
call fcn.0040738d
add esp, 0xc
push str.GlobalRC_RESULT_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x10]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
push str.GlobalRC_RECOVER_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x14]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
push str.GlobalRC_DEFRAGGER_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x18]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
push str.GlobalRC_STOP_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x1c]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
push str.GlobalRC_OPTIONS_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x20]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.00401109
push str.GlobalRC_SETUP_EVENT
lea ecx, [esp + 0x10]
call fcn.004015ca
lea eax, [esi + 0x24]
push eax
push esi
lea eax, [esp + 0x14]
call fcn.00414375
mov ecx, dword [esp + 0xc]
mov bl, al
neg bl
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401109
test bl, bl
je 0x4146fd
push 0
push 0
push str.Create_event_for_RCSetupEvent_failed
call fcn.0040738d
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417f05
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x417f3e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040c10c
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00406b6f
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x419b1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x419b62
call fcn.004208dc
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419b62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x419b7d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004196d9
test ebx, ebx
mov esi, eax
je 0x419b7b
test edi, edi
je 0x419b7b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41d873
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4a86b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41d8b0
push 0x489338
push 4
push eax
call fcn.00434063
push eax
call fcn.0040101f
add esp, 0x10
jmp 0x41d8c2
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41d92d
push edi
call fcn.00436fb5
mov edi, dword [eax]
call fcn.00436fb5
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0043424f
add esp, 0x18
mov ebx, eax
call fcn.00436fb5
cmp dword [eax], 0
je 0x41d90d
call fcn.00436fb5
push dword [eax]
call fcn.004147c7
pop ecx
jmp 0x41d914
call fcn.00436fb5
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41d92d
cmp ebx, esi
jae 0x41d92d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41d92f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004328fa
leave
ret
Function at 0x41e7bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41e803
call fcn.004208dc
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e803
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41e846
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41e82f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41e82f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41e843
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41f8ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44b0db
call fcn.00436c36
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004208dc
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41f938
call fcn.004208dc
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41f949
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41f956
or eax, 0xffffffff
jmp 0x41fab2
mov ecx, esi
call fcn.0041f43f
mov dword [ebp - 0x14], eax
call fcn.00416f55
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41f9d4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41f9d4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41f9d4
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00414293
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41f9d4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41f9d4
mov ecx, ebx
call fcn.0041a9c0
test eax, eax
je 0x41f9d4
push 0
mov ecx, ebx
call fcn.0041a9db
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00418902
push dword [ebp - 0x14]
call fcn.00416ead
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041f6f5
xor edi, edi
cmp eax, edi
je 0x41fa31
test byte [esi + 0x3c], 0x10
je 0x41fa1b
push 4
pop edi
mov ecx, esi
call fcn.0041a87d
test ax, 0x100
je 0x41fa11
push 5
pop edi
push edi
mov ecx, esi
call fcn.00416a75
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41fa31
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041abaa
or dword [ebp - 4], 0xffffffff
jmp 0x41fa5c
cmp dword [ebp - 0x28], edi
je 0x41fa6a
push 1
mov ecx, ebx
call fcn.0041a9db
cmp dword [ebp - 0x2c], edi
je 0x41fa7a
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41fa93
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41fa93
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041f479
cmp dword [esi + 0x58], edi
je 0x41faaf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00436cdb
ret

Function at 0x4328fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a86b0]
jne 0x432904
repz ret
jmp fcn.00439fa5