joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e2e8
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x438
mov eax, 0x10025b04
call fcn.10023418
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x43c], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x424], ax
xor esi, esi
lea eax, [ebp - 0x422]
push esi
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call sub.MSVCR100.dll_memset
fldz
add esp, 0x18
fstp qword [ebp - 0x444]
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSoftGrid
mov ebx, 0x104
push 0x80000002
mov dword [ebp - 0x438], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001e531
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x428], esi
push esi
jmp 0x1001e402
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR100.dll__wtof]
fldz
fcomp st(1)
pop ecx
fnstsw ax
test ah, 5
jp 0x1001e3e2
fld qword [ebp - 0x444]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1001e3e2
lea eax, [ebp - 0x21c]
fstp qword [ebp - 0x444]
push eax
lea eax, [ebp - 0x424]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
jmp 0x1001e3e4
fstp st(0)
inc dword [ebp - 0x428]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
call edi
mov dword [ebp - 0x430], eax
cmp eax, esi
je 0x1001e39a
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x430], 0x103
jne 0x1001e531
mov ebx, dword [sym.imp.MSVCR100.dll_wcslen]
push str.ClientUserInterface
call ebx
mov edi, str.SoftwareMicrosoftSoftGrid_
push edi
mov dword [ebp - 0x430], eax
call ebx
mov ecx, dword [ebp - 0x430]
lea ebx, [ecx + eax + 0x105]
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.100172c3
add esp, 0xc
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x1001e531
push ebx
push esi
push eax
call fcn.100172c3
push edi
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
lea eax, [ebp - 0x424]
push eax
push ebx
push dword [ebp - 0x428]
call edi
push str.ClientUserInterface
push ebx
push dword [ebp - 0x428]
call edi
add esp, 0x30
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push esi
push dword [ebp - 0x428]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001e525
push dword [ebp - 0x434]
push str.LaunchCommand
push dword [ebp - 0x42c]
call fcn.1001e1a1
add esp, 0xc
push dword [ebp - 0x43c]
push 0x1002ac28
push dword [ebp - 0x42c]
call fcn.1001e1a1
add esp, 0xc
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x428]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.10023474
ret
Function at 0x4080c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cca6
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x340], 0
lea eax, [ebp - 0x230]
push eax
call fcn.00408260
add esp, 4
mov dword [ebp - 4], 0
push 0x105
push 0
lea ecx, [ebp - 0x33c]
push ecx
call fcn.0045e8d0
add esp, 0xc
push 0x105
lea edx, [ebp - 0x33c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x105
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0045e8d0
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x105
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.0045e8d0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040f610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040f9b0
push eax
push str.APPPATH
lea ecx, [ebp - 0x120]
call fcn.00408ea0
lea edx, [ebp - 0x33c]
push edx
push str.SYSTEMPATH
lea ecx, [ebp - 0x120]
call fcn.00408ea0
lea eax, [ebp - 0x11c]
push eax
push str.WINDOWSPATH
lea ecx, [ebp - 0x120]
call fcn.00408ea0
lea ecx, [ebp - 0x22c]
push ecx
push 0x482a40
lea ecx, [ebp - 0x120]
call fcn.00408ea0
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f590
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0040f890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040f890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret

Function at 0x4087c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4087fc
xor eax, eax
jmp 0x408861
cmp dword [ebp + 0x10], 0
je 0x40883f
mov dword [ebp - 0xa4], 0x96
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x40883f
xor eax, eax
jmp 0x408861
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x40885c
xor eax, eax
jmp 0x408861
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret
Function at 0x40d520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d128
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40d560
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40d56c
mov al, 1
jmp 0x40d70f
mov dword [ebp - 0x10], 8
call fcn.00409fa0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00409fa0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040a030
add esp, 8
movzx eax, al
test eax, eax
je 0x40d5af
xor al, al
jmp 0x40d70f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040b490
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040b5f0
mov ecx, eax
call fcn.0040d9b0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00421b60
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b5f0
mov ecx, eax
call fcn.0040d9b0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.004100b0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40d62a
cmp dword [ebp - 0x6c], 1
je 0x40d631
cmp dword [ebp - 0x6c], 3
je 0x40d6cb
jmp 0x40d6e3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040b5f0
mov ecx, eax
call fcn.0040d9b0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40d694
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b5f0
mov ecx, eax
call fcn.0040d9b0
push eax
call fcn.0045f4f6
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40d694
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409640
mov al, byte [ebp - 0x61]
jmp 0x40d70f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40d6b7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409640
mov al, byte [ebp - 0x62]
jmp 0x40d70f
cmp dword [ebp - 0x38], 0
jne 0x40d6c9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040b4d0
jmp 0x40d6fb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409640
mov al, byte [ebp - 0x63]
jmp 0x40d70f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00409640
mov al, byte [ebp - 0x64]
jmp 0x40d70f
jmp 0x40d5c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret
Function at 0x413210
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d500
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49b1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x14]
call fcn.0040f570
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 8
call fcn.0040fa00
test eax, eax
jg 0x4132d7
push 0x5c
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
call fcn.0040f9b0
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.004133a0
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
call fcn.0040f9b0
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040f9b0
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00413500
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040f8b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040f890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040f890
jmp 0x413328
push 0x5c
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
add ecx, 8
call fcn.0040f9b0
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 4
call fcn.0040f9b0
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00413500
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f8b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040f890
push 0
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040f9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x28]
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.0040f9b0
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
call fcn.0040f9b0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41337e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
push 0x490778
lea edx, [ebp - 0x24]
push edx
call fcn.0045e94a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040f890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4145c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0045e8d0
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x482f9c
lea edx, [ebp - 0x114]
push edx
call fcn.00414670
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
call fcn.0040f9b0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x114]
call fcn.0040f890
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040f610
mov ecx, dword [ebp - 0x118]
or ecx, 1
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret

Function at 0x414670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0045e8d0
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f610
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret
Function at 0x415b20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d9c1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x49b1b0]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
mov byte [ebp - 0x11], 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x1c]
call fcn.0040f610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040f9b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x415cd4
mov cl, byte [0x483083]
mov byte [ebp - 0x13c], cl
push 0xfe
push 0
lea edx, [ebp - 0x13b]
push edx
call fcn.0045e8d0
add esp, 0xc
mov dword [ebp - 0x28], 0xff
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x34], 1
jbe 0x415c1a
mov byte [ebp - 0x11], 0
jmp 0x415cca
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [ebp - 0x154]
call fcn.0040f610
lea edx, [ebp - 0x158]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x154]
call fcn.0040f9b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x415cbf
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x168], 4
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x164]
push ecx
push 0
push 0
push 0x483380
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x415cb2
cmp dword [ebp - 0x164], 1
je 0x415cb2
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x154]
call fcn.0040f890
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x16d], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040f890
mov al, byte [ebp - 0x16d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0045e58d
mov esp, ebp
pop ebp
ret
Function at 0x424170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0045e8d0
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4241c6
mov al, 1
jmp 0x4241c8
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x426210
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x42623f
push esi
call fcn.0042a8c0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x426238
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4262b9
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x4262a9
mov eax, dword [esi + 8]
test eax, eax
je 0x426264
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x4262a5
cmp eax, 2
je 0x4262a9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x426255
cmp eax, 3
je 0x42628c
cmp eax, 1
jne 0x426255
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x426255
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x426255
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00425ee0
pop esi
ret
cmp eax, 0xcc
je 0x4262db
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00425ee0
pop esi
ret
Function at 0x431f80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x431fa7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x431fb3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x4320c6
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x431ff8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x432019
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x43206f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x432050
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x432050
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x432036
cmp dword [esp + 0x10], 0
je 0x4320ad
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x432090
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x431ff0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x43f7f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43f83c
call fcn.00447ab7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43f83c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43f87f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43f868
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 0x43f868
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43f87c
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 0x440a4f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47f4ac
call fcn.0046264f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x440a74
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x440aba
lea ecx, [ebp - 0x10]
call fcn.0040f570
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.00440277
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040fe70
mov eax, esi
call fcn.00462727
ret 8

Function at 0x44193e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x441962
cmp dword [edi + 0x54], 0
jne 0x441962
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00447ab7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004418ff
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4470f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44713a
call fcn.00447ab7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44713a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x447156
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00446c6d
mov esi, eax
test edi, edi
je 0x447154
test ebx, ebx
je 0x447154
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45e58d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49b1b0]
jne 0x45e597
repz ret
jmp fcn.0046763c