joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423340
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x2218
call fcn.0044ab60
mov eax, dword [0x48fac0]
xor eax, esp
mov dword [esp + 0x2214], eax
mov eax, dword [esp + 0x2220]
push esi
mov esi, dword [esp + 0x2220]
test esi, esi
mov dword [esp + 8], eax
je 0x4234d2
test eax, eax
je 0x4234d2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push 0
push 0x410
call ebp
test eax, eax
jne 0x4233be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.mmm_process__d_is_gone__GetLastError:_d
call fcn.00409e70
add esp, 0xc
pop ebp
xor al, al
pop esi
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.00448e02
add esp, 0x2218
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 8]
push eax
push 0x2000
lea ecx, [esp + 0x1c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x423403
push str.Error_EnumProcesses
call fcn.00409e70
add esp, 4
pop ebp
mov al, 1
pop esi
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.00448e02
add esp, 0x2218
ret
push ebx
mov ebx, dword [esp + 0xc]
shr ebx, 2
push edi
mov edi, 0
je 0x423478
mov edx, dword [esp + edi*4 + 0x1c]
push edx
push 0
push 0x410
call ebp
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42346a
mov eax, dword [esp + 0x18]
push 0x208
lea edx, [esp + 0x2020]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x2020]
push edx
call fcn.004485be
add esp, 8
test eax, eax
je 0x4234a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, ebx
jb 0x423413
cmp edi, ebx
jne 0x4234ce
push str.Cant_find_Outlook.exe__its_gone__TMAS_OL.exe_need_to_quit_
call fcn.00409e70
add esp, 4
xor al, al
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.00448e02
add esp, 0x2218
ret
mov eax, dword [esp + 0x222c]
cmp dword [esp + edi*4 + 0x1c], eax
je 0x4234c7
push str.The_last_outlook_instance_was_gone_
call fcn.00409e70
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423489
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42348b
push str.Process_doesnt_exist_because_of_either_pid0_or_pnameNULL
call fcn.00409e70
mov ecx, dword [esp + 0x221c]
add esp, 4
pop esi
xor ecx, esp
xor al, al
call fcn.00448e02
add esp, 0x2218
ret
Function at 0x4299e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x469568
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push str.COLShadow::OnReloadWBList
push str._____s__IN
call fcn.00409e70
mov ecx, dword [0x4910dc]
add esp, 8
push 1
call fcn.0042fa20
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x429870
push 0
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
call fcn.0044bacc
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.COLShadow::OnReloadWBList
push str._____s__OUT
call fcn.00409e70
mov ecx, dword [0x4910dc]
add esp, 8
push 0
mov dword [esp + 0x18], 0xffffffff
call fcn.0042fa20
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 8
Function at 0x429a90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4695a6
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x48fac0]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
push str.COLShadow::OnReloadProtectionLevel
push str._____s__IN
call fcn.00409e70
mov ecx, dword [0x4910dc]
add esp, 8
push 1
call fcn.0042fa20
push str.____Reload_protection_level
mov dword [esp + 0x824], 0
call fcn.00409e70
mov eax, dword [0x4910bc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
push eax
push 2
push str.CommercialLevel
push 0x472128
call esi
mov ecx, dword [0x4910bc]
push ecx
push 2
push str.FinancialLevel
push 0x472128
mov dword [0x49119c], eax
call esi
mov edx, dword [0x4910bc]
push edx
push 2
push str.HealthLevel
push 0x472128
mov dword [0x4911a0], eax
call esi
mov dword [0x4911a4], eax
mov eax, dword [0x4910bc]
push eax
push 2
push str.SexualLevel
push 0x472128
call esi
mov ecx, dword [0x4910bc]
push ecx
push 2
push str.SpiritualLevel
push 0x472128
mov dword [0x4911a8], eax
call esi
mov edx, dword [0x4910bc]
push edx
push 2
push str.RacialLevel
push 0x472128
mov dword [0x4911b0], eax
call esi
mov dword [0x4911ac], eax
mov eax, dword [0x4910bc]
push eax
push 2
push str.OtherLevel
push 0x472128
call esi
mov ecx, dword [0x4910bc]
push ecx
push 2
push str.ProtectLevel
push 0x472128
mov dword [0x491214], eax
call esi
mov edx, dword [0x491214]
push 0x800
mov dword [0x491210], eax
lea eax, [esp + 0x16]
push 0
push eax
mov dword [0x491198], edx
mov word [esp + 0x1c], 0
call fcn.004481f0
mov ecx, dword [0x4910bc]
add esp, 0xc
push ecx
push 0x400
lea edx, [esp + 0x18]
push edx
push 0x476b80
push str.GlobalLevel
push 0x472128
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.00406140
lea ecx, [esp + 0xc]
mov byte [esp + 0x820], 1
call fcn.0041a9f0
mov ecx, eax
call fcn.00419dc0
lea ecx, [esp + 0xc]
push 0x476b60
push ecx
call fcn.004183f0
add esp, 8
test al, al
mov eax, dword [esp + 0xc]
setne dl
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [0x4910fe], dl
mov byte [esp + 0x820], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429c8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x828], esi
je 0x429ca5
cmp dword [esp + 0x82c], esi
je 0x429ca5
push 0
call fcn.00429450
push str.COLShadow::OnReloadProtectionLevel
push str._____s__OUT
call fcn.00409e70
mov ecx, dword [0x4910dc]
add esp, 8
push 0
mov dword [esp + 0x824], esi
call fcn.0042fa20
xor eax, eax
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00448e02
add esp, 0x81c
ret 8
Function at 0x42cd20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469990
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0042c190
cmp eax, ebx
jne 0x42cd6c
push 0x484ef4
lea eax, [ebp - 0x11]
push eax
mov byte [ebp - 0x11], bl
call fcn.004489f1
push str.Create_PurgeSpamMailThread
mov dword [ebp - 0x18], ebx
call fcn.00409e70
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push 0x424ab0
push ebx
push ebx
call fcn.0044bacc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
push eax
call esi
push str.Create_OutlookMonitorThread
call fcn.00409e70
add esp, 4
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
push 0x423500
push ebx
push ebx
call fcn.0044bacc
add esp, 0x18
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e030
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x469b28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.004040e0
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42e090
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0041aa40
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.004040e0
cmp dword [esp + 0x28], 8
jb 0x42e0db
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00437b08
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x430b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a1b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push ebx
lea edi, [ecx + 0x20]
lea esi, [ecx + 4]
push edi
push esi
mov dword [ebp - 4], 0
call fcn.00430810
mov eax, 8
cmp dword [esi + 0x18], eax
jb 0x430bb0
mov esi, dword [esi + 4]
jmp 0x430bb3
add esi, 4
cmp dword [ebx + 0x18], eax
jb 0x430bbd
mov ebx, dword [ebx + 4]
jmp 0x430bc0
add ebx, 4
cmp dword [edi + 0x18], eax
jb 0x430bca
mov eax, dword [edi + 4]
jmp 0x430bcd
lea eax, [edi + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push esi
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x430c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a1f4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor edx, edx
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edx
push eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov word [ecx + 4], dx
call fcn.004040e0
mov eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x20]
push edi
lea ebx, [esi + 4]
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], ebx
call fcn.00430810
call fcn.00431d10
mov esi, eax
call fcn.00431d30
mov dword [ebp - 0x20], eax
mov edi, edi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437b0d
mov edi, eax
add esp, 4
test edi, edi
jne 0x430cf2
push 0x28
call fcn.00437add
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x430cdb
push 0xc1
push str.....common_srcTmCommonTmComn_IniFile.cpp
push 6
call fcn.00430320
jmp 0x430cdd
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x488bf4
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.004489f1
lea ecx, [esi + esi]
push ecx
push 0
push edi
call fcn.004481f0
mov ecx, 8
add esp, 0xc
cmp dword [ebx + 0x18], ecx
jb 0x430d10
mov eax, dword [ebx + 4]
jmp 0x430d13
lea eax, [ebx + 4]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x18], ecx
jb 0x430d20
mov ebx, dword [ebx + 4]
jmp 0x430d23
add ebx, 4
mov ecx, dword [ebp - 0x18]
push eax
push esi
push edi
call fcn.00401aa0
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00401aa0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esi - 1]
cmp edx, eax
jne 0x430d5a
push edi
call fcn.00437b08
mov ebx, dword [ebp - 0x14]
add esp, 4
add esi, dword [ebp - 0x20]
jmp 0x430c90
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430d60
mov esi, dword [ebp - 0x30]
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.00404930
push edi
call fcn.00437b08
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x431af0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
mov edi, ecx
je 0x431b44
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431b01
sub eax, edx
sar eax, 1
je 0x431b44
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, edi
call fcn.00431810
test al, al
je 0x431b2d
push 0
mov ecx, edi
call fcn.004317b0
push 0
push 8
push esi
call fcn.00436f65
mov dword [edi + 4], eax
test eax, eax
pop edi
setne al
pop esi
ret 4
pop edi
xor al, al
pop esi
ret 4
Function at 0x434670
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0xcc], 0
je 0x434728
push edi
lea eax, [esp + 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x434727
push edi
call fcn.0044b180
add esp, 4
push eax
push edi
push 0
push ebx
mov dword [esi + 0xcc], eax
call sub.VERSION.dll_GetFileVersionInfoW
mov eax, dword [esi + 0xcc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x47a018
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4346fd
mov ecx, dword [esi + 0xcc]
push ecx
call fcn.00449eca
add esp, 4
pop edi
mov dword [esi + 0xcc], 0
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04hX_04hX_
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x28]
mov dx, word [ecx]
add esp, 0x10
mov word [esi + 0xc8], dx
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x435350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466548
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x24]
push 0x491b28
push 0x491b24
push eax
lea ecx, [esp + 0x30]
xor edi, edi
push ecx
mov dword [esp + 0x1c], edi
call fcn.00434f90
add esp, 0x10
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [esi + 4]
push edi
lea edx, [esp + 0x28]
push edx
call eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00402060
mov esi, dword [esp + 0x24]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x435420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466599
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x491b24]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x24], ebx
call fcn.00402060
mov edi, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ebp
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
call edx
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x28], 1
call fcn.004035d0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4354c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi + 4]
mov edx, dword [edx + 8]
lea ecx, [esi + 4]
push ebp
lea eax, [esp + 0x30]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.004035d0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43550f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x491b28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004035d0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x436af2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x48fac0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x436b46
push 3
lea eax, [ebp - 0x44]
push 0x47a940
push eax
call fcn.0044c644
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.00448e02
leave
ret

Function at 0x436b62
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x48fac0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004481f0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x436bbb
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x11c]
xor eax, eax
dec ecx
pop esi
je 0x436c0f
dec ecx
jne 0x436c32
cmp edx, 5
jne 0x436c07
mov ecx, dword [ebp - 0x118]
sub ecx, eax
je 0x436c03
dec ecx
je 0x436bf8
dec ecx
je 0x436be9
push 0x14
jmp 0x436c5a
cmp word [ebp - 0xc], 1
jb 0x436bf3
push 0x10
pop eax
or eax, 4
jmp 0x436c32
cmp word [ebp - 0xc], 2
jb 0x436bf3
push 8
jmp 0x436bf2
push 4
jmp 0x436c5a
cmp edx, 4
ja 0x436c3e
push 2
pop eax
cmp edx, 4
jne 0x436c32
cmp dword [ebp - 0x118], 0
je 0x436c2f
cmp dword [ebp - 0x118], 0xa
je 0x436c2f
cmp dword [ebp - 0x118], 0x5a
jne 0x436c32
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448e02
leave
ret
cmp edx, 6
jne 0x436c5d
cmp dword [ebp - 0x118], 0
jne 0x436c5d
cmp dword [ebp - 0x114], 0x1554
jae 0x436c5d
push 0x40
pop eax
jmp 0x436c32
push 0x20
jmp 0x436c5a

Function at 0x436d7e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x48fac0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp word [0x491b3c], si
jne 0x436e16
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push 0x47a870
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436e16
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push str.Locale
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x436e16
push 3
push dword [esi*8 + 0x47a6c0]
lea eax, [ebp - 0xc]
push eax
call fcn.0044c58a
add esp, 0xc
test eax, eax
je 0x436e08
inc esi
cmp esi, 0x1c
jb 0x436de7
jmp 0x436e16
mov ax, word [esi*8 + 0x47a6c4]
mov word [0x491b3c], ax
mov ecx, dword [ebp - 4]
mov ax, word [0x491b3c]
xor ecx, ebp
pop esi
call fcn.00448e02
leave
ret
Function at 0x4396c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x46ad12
call fcn.0044d590
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.004432c7
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x43970b
call fcn.004432c7
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 0x43971c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x439729
or eax, 0xffffffff
jmp 0x439885
mov ecx, esi
call fcn.00439207
mov dword [ebp - 0x14], eax
call fcn.0043c88d
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4397a7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4397a7
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4397a7
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004390b8
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4397a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4397a7
mov ecx, ebx
call fcn.0043fd0b
test eax, eax
je 0x4397a7
push 0
mov ecx, ebx
call fcn.0043fd26
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0043e21d
push dword [ebp - 0x14]
call fcn.0043c7e5
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004394c8
xor edi, edi
cmp eax, edi
je 0x439804
test byte [esi + 0x3c], 0x10
je 0x4397ee
push 4
pop edi
mov ecx, esi
call fcn.0043fc0d
test ax, 0x100
je 0x4397e4
push 5
pop edi
push edi
mov ecx, esi
call fcn.0043c37b
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x439804
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0043fd8d
or dword [ebp - 4], 0xffffffff
jmp 0x43982f
cmp dword [ebp - 0x28], edi
je 0x43983d
push 1
mov ecx, ebx
call fcn.0043fd26
cmp dword [ebp - 0x2c], edi
je 0x43984d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x439866
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x439866
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.00439241
cmp dword [esi + 0x58], edi
je 0x439882
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0044d635
ret