joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d6c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041d35c
push eax
push esi
push dword [ebp + 8]
call fcn.0041d311
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041d35c
push eax
push esi
push dword [ebp + 8]
call fcn.0041d311
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041d35c
push eax
push esi
push dword [ebp + 8]
call fcn.0041d311
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041d34c
lcall 0x7c9d, 0x882368e0
invalid
Function at 0x41fb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44ad48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0042a737
mov ecx, dword [esi + 0x84]
push 0x258
mov dword [esp + 0x48], 0
call fcn.00415310
mov ecx, dword [esi + 0x84]
push 0x25d
mov dword [esi + 0x80], eax
call fcn.00415240
mov ecx, dword [esi + 0x84]
push 0x25e
mov dword [esi + 0x7c], eax
call fcn.00415240
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.0041fa50
lea edi, [esi + 0x100]
mov ecx, edi
call fcn.0042adc8
lea ebx, [esi + 0xf0]
mov ecx, ebx
call fcn.0042adc8
lea ecx, [esi + 0xf8]
call fcn.0042adc8
mov ecx, dword [esi + 0x84]
call fcn.00420f90
mov eax, dword [esi + 0x74]
mov ebp, dword [eax]
call fcn.0042a47d
mov eax, dword [eax + 0xc]
movzx ecx, bp
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, edi
call fcn.0042ad75
mov edx, dword [esi + 0x7c]
mov ebp, dword [edx]
test ebp, ebp
jle 0x41fc4f
call fcn.0042a47d
mov eax, dword [eax + 0xc]
movzx ecx, bp
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, ebx
call fcn.0042ad75
mov edx, dword [esi + 0x78]
mov ebx, dword [edx]
test ebx, ebx
jle 0x41fc77
call fcn.0042a47d
mov eax, dword [eax + 0xc]
movzx ecx, bx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea ecx, [esi + 0xf8]
call fcn.0042ad75
mov eax, dword [esi + 0x84]
mov ebx, dword [eax + 0x2c]
call fcn.0042a47d
push 0
mov dword [eax + 0xc], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.0042ab3d
test edi, edi
je 0x41fca1
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x18]
push edi
push edx
call fcn.0042adfa
mov ecx, dword [esi + 0x104]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar ecx, 1
push ecx
sar eax, 1
push eax
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0xe8]
call fcn.0042ad75
test edi, edi
je 0x41fcfd
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x18]
push edi
push eax
call fcn.0042adfa
lea ecx, [esp + 0x14]
call fcn.0042aba1
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042abb7
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x421000
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44af9c
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CSMSkins.0
call fcn.0042c73d
xor edi, edi
mov dword [esp + 0x12c], edi
call fcn.004290da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421064
push 0x80004005
call fcn.00401100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov ebx, 1
mov byte [esp + 0x12c], bl
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
call fcn.0042a47d
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov ecx, esi
call fcn.00420fb0
lea edx, [esp + 0x14]
push edx
push str.SoftwareAnalog_DevicesSMax4Settings
mov dword [esi + 0x28], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push 0x80000001
mov dword [esp + 0x28], edi
call ebx
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x4210f6
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
push str.ShowAllSkins
push eax
mov dword [esp + 0x30], 4
call ebp
test eax, eax
je 0x4210eb
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], edi
je 0x421105
mov dword [esi + 0x28], 0xffffffff
jmp 0x421161
lea edx, [esp + 0x14]
push edx
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
call ebx
test eax, eax
jne 0x421161
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
push str.SysCaps
mov ebx, 0xfc
push eax
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
jne 0x421156
cmp dword [esp + 0x18], ebx
jne 0x421156
cmp dword [esp + 0x5c], edi
je 0x421156
mov dword [esi + 0x28], 2
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x4211e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, 1
call fcn.00420fb0
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x30], eax
je 0x421317
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetGeneral
push eax
call edi
test eax, eax
mov dword [esi + 0x44], eax
jne 0x42121d
xor ebx, ebx
mov eax, dword [esi + 0x30]
push str.GetBitmap
push eax
call edi
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x421231
xor ebx, ebx
mov ecx, dword [esi + 0x30]
push str.GetButton
push ecx
call edi
test eax, eax
mov dword [esi + 0x40], eax
jne 0x421245
xor ebx, ebx
mov edx, dword [esi + 0x30]
push str.GetGraph
push edx
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x30]
push str.GetIcon
push eax
call edi
test eax, eax
mov dword [esi + 0x4c], eax
jne 0x421267
xor ebx, ebx
mov ecx, dword [esi + 0x30]
push str.GetKnob
push ecx
call edi
test eax, eax
mov dword [esi + 0x50], eax
jne 0x42127b
xor ebx, ebx
mov edx, dword [esi + 0x30]
push str.GetString
push edx
call edi
test eax, eax
mov dword [esi + 0x5c], eax
jne 0x42128f
xor ebx, ebx
mov eax, dword [esi + 0x30]
push str.GetText
push eax
call edi
test eax, eax
mov dword [esi + 0x60], eax
jne 0x4212a3
xor ebx, ebx
mov ecx, dword [esi + 0x30]
push str.GetSkinVersion
push ecx
call edi
test eax, eax
mov dword [esi + 0x54], eax
jne 0x4212b7
xor ebx, ebx
mov edx, dword [esi + 0x30]
push str.GetVUMeter
push edx
call edi
test eax, eax
mov dword [esi + 0x64], eax
jne 0x4212cb
xor ebx, ebx
mov eax, dword [esi + 0x30]
push str.GetBackground
push eax
call edi
test eax, eax
mov dword [esi + 0x38], eax
jne 0x4212df
xor ebx, ebx
mov ecx, dword [esi + 0x30]
push str.GetSlider
push ecx
call edi
test eax, eax
mov dword [esi + 0x58], eax
je 0x42130a
test ebx, ebx
je 0x42130c
mov edx, dword [esi + 0x54]
call edx
cmp eax, 2
jne 0x42130a
push ebp
lea ecx, [esi + 0x24]
call fcn.00401780
jmp 0x421313
xor ebx, ebx
mov ecx, esi
call fcn.00420fb0
test ebx, ebx
je 0x421338
mov ecx, esi
call fcn.00420e90
mov eax, dword [eax + 4]
test dword [esi + 0x28], eax
jne 0x421338
mov ecx, esi
xor edi, edi
call fcn.00420fb0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
Function at 0x4214a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44affb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x46974c]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004290da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4214f6
push 0x80004005
call fcn.00401100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [esp + 0x22c]
push ecx
mov dword [esp + 0x444], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x456f54
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004327f0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x101
push 0
lea edx, [esp + 0x234]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4215a2
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4215b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.004014d0
push 0xa
push str._res.skn
lea ecx, [esp + 0x18]
call fcn.00405640
mov ecx, esi
call fcn.00420fb0
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 0x40]
lea ecx, [esi + 0xc]
push 0
push ebx
call edx
push 0x44daa0
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004211e0
mov edi, eax
test edi, edi
jne 0x421615
mov ecx, esi
call fcn.00421350
mov edi, eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42163c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00432688
add esp, 0x430
ret
Function at 0x421670
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x46974c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
call fcn.004327f0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareAnalog_DevicesSMax4Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x208
jne 0x4216f0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x456e90
push edx
mov dword [esp + 0x2c], ebx
call edi
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x421746
lea edx, [esp + 0x10]
push edx
push 0x101
push eax
push str.SoftwareAnalog_DevicesSMax4Settings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421746
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0x456e90
push eax
mov dword [esp + 0x2c], ebx
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004211e0
test eax, eax
jne 0x4217c1
mov ecx, esi
call fcn.004214a0
mov ebx, eax
test ebx, ebx
je 0x4217bf
lea eax, [esp + 0x10]
push eax
push str.SoftwareAnalog_DevicesSMax4Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4217bf
mov ecx, dword [esi + 0x24]
mov edi, dword [ecx - 0xc]
add esi, 0x24
mov eax, ecx
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
or edx, dword [eax + 8]
jge 0x4217a0
push 0
mov ecx, esi
call fcn.00401370
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push edi
push eax
push 1
push 0
push 0x456e90
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, ebx
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432688
add esp, 0x218
ret
Function at 0x4217e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push 0
mov dword [esi], vtable.CSpeakerConfig.0
mov dword [edi], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x421849
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0xc], eax
je 0x421849
push str.DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x10], eax
je 0x421849
push 0
push edi
push 0
call eax
test eax, eax
jge 0x421849
mov dword [edi], 0
lea eax, [esp + 8]
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
mov dword [esi + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4218b5
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.SysCaps
mov edi, 0xfc
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4218aa
cmp dword [esp + 0xc], edi
jne 0x4218aa
cmp dword [esp + 0x3c], eax
je 0x4218aa
mov dword [esi + 4], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0x108
ret

Function at 0x421a20
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000002
mov esi, ecx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x421a6e
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push eax
push 0x457004
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x421a63
mov edi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 8], 0
je 0x421a87
cmp dword [esp + 0x14], 0
je 0x421a87
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004218f0
test edi, edi
pop edi
pop esi
je 0x421aa3
mov edx, dword [0x46b4d0]
push 0
push 0
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
pop ecx
ret 8

Function at 0x421c80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000002
mov esi, ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x421cdb
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x457004
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
push eax
mov ecx, esi
call fcn.00421ab0
pop esi
add esp, 0x10
ret
Function at 0x428597
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 0x4285da
call fcn.0042a47d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4285da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4285f5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00428151
test ebx, ebx
mov esi, eax
je 0x4285f3
test edi, edi
je 0x4285f3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x429061
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44b99c
call fcn.00434328
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x429086
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4290d2
call fcn.004290da
push eax
lea ecx, [ebp - 0x10]
call fcn.004012d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00422fc0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401120
mov eax, esi
call fcn.004343c7
ret 8

Function at 0x42f211
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42f23f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42f25d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042f17b
jmp 0x42f25d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42f25d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042f17b
test edi, edi
mov eax, edi
jne 0x42f247
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46d158]
test ecx, ecx
je 0x42f320
jmp 0x42f210
ret 8

Function at 0x432688
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46974c]
jne 0x432692
repz ret
jmp fcn.00437bac
Function at 0x43e67a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043627e
xor ebx, ebx
cmp dword [0x46df10], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43e74f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43e6ba
xor eax, eax
jmp 0x43e813
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43e6b3
push eax
call fcn.0043621b
mov dword [esp], 0x45aed8
push edi
mov dword [0x46df10], eax
call esi
push eax
call fcn.0043621b
mov dword [esp], 0x45aec4
push edi
mov dword [0x46df14], eax
call esi
push eax
call fcn.0043621b
mov dword [0x46df18], eax
lea eax, [ebp - 8]
push eax
call fcn.00434784
test eax, eax
pop ecx
pop ecx
je 0x43e71d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004369a2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43e74f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043621b
cmp eax, ebx
pop ecx
mov dword [0x46df20], eax
je 0x43e74f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043621b
pop ecx
mov dword [0x46df1c], eax
mov eax, dword [0x46df1c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43e7c8
cmp dword [0x46df20], esi
je 0x43e7c8
push eax
call fcn.00436287
pop ecx
call eax
cmp eax, ebx
je 0x43e795
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x46df20]
call fcn.00436287
pop ecx
call eax
test eax, eax
je 0x43e795
test byte [ebp - 0x18], 1
jne 0x43e7c8
lea eax, [ebp - 0xc]
push eax
call fcn.004347bb
test eax, eax
pop ecx
je 0x43e7b0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004369a2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43e7bf
or dword [ebp + 0x10], 0x200000
jmp 0x43e7f9
or dword [ebp + 0x10], 0x40000
jmp 0x43e7f9
mov eax, dword [0x46df14]
cmp eax, esi
je 0x43e7f9
push eax
call fcn.00436287
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43e7f9
mov eax, dword [0x46df18]
cmp eax, esi
je 0x43e7f9
push dword [ebp - 4]
push eax
call fcn.00436287
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x46df10]
call fcn.00436287
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447aae
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46974c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00447a43
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004327f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x447afd
cmp dword [ebp - 0x1c], 5
jb 0x447b15
jmp 0x447b11
cmp dword [ebp - 0x10], 1
jne 0x447b15
cmp dword [ebp - 0x1c], 4
ja 0x447b11
jne 0x447b15
cmp dword [ebp - 0x18], 0
jbe 0x447b15
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45d974
call fcn.00447934
test eax, eax
jge 0x447b36
mov byte [0x46b4d4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00432688
add ebp, 0x78
leave
ret