joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404198
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x46735c
call fcn.0044bb2f
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
lea eax, [ebp + 0xc]
push eax
xor edi, edi
lea eax, [ebp - 0x2c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.00403ff3
pop ecx
pop ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00407998
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x18], esi
jbe 0x4041fd
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b2
xor byte [eax], 0x5a
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b2
movzx eax, byte [eax]
push eax
mov ecx, ebx
call fcn.00403a25
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x4041d7
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.004018cb
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.004018cb
mov eax, ebx
call fcn.0044bbb2
ret

Function at 0x40422d
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x467399
call fcn.0044bac6
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403909
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.BnB0cA
mov byte [ebp - 4], 1
call fcn.004023a9
lea eax, [ebp - 0x14]
push eax
call fcn.00404198
add esp, 0x20
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00403e03
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401268
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00403909
call fcn.00403abc
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401268
call fcn.0044bb9e
ret
Function at 0x4042c6
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0xc
mov eax, 0x4673ed
call fcn.0044bac6
mov ebx, dword [ebp + 0xa0]
sub esp, 0x1c
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DzQxNDUtNA
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ebx
call fcn.004023a9
push ebx
call fcn.00404198
mov dword [ebp - 4], esi
mov esi, 0x94
push esi
xor edi, edi
lea eax, [ebp]
push 0
inc edi
push eax
mov dword [ebp - 0x14], edi
call fcn.0044b410
add esp, 0x2c
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 5
jne 0x40439d
cmp dword [ebp + 8], edi
jne 0x40436e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DTM0Ago
call fcn.004023a9
lea eax, [ebp - 0x10]
push eax
call fcn.00404198
add esp, 0x20
mov dword [ebp - 4], edi
jmp 0x4043fa
push 2
pop esi
cmp dword [ebp + 8], esi
jne 0x40440d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DTM0AgoFbG4
call fcn.004023a9
lea eax, [ebp - 0x10]
push eax
call fcn.00404198
add esp, 0x20
mov dword [ebp - 4], esi
jmp 0x4043fa
cmp dword [ebp + 4], 6
jne 0x40440d
cmp dword [ebp + 8], 0
jne 0x4043d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DTM0DDMpLjs
call fcn.004023a9
lea eax, [ebp - 0x10]
push eax
call fcn.00404198
add esp, 0x20
mov dword [ebp - 4], 3
jmp 0x4043fa
cmp dword [ebp + 8], edi
jne 0x40440d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DTM0bQ
call fcn.004023a9
lea eax, [ebp - 0x10]
push eax
call fcn.00404198
add esp, 0x20
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00403f03
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044bab7
add ebp, 0x98
leave
ret

Function at 0x4044f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0044b410
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.00404432
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0044bab7
leave
ret
Function at 0x404645
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x467436
call fcn.0044bac6
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00404607
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044b410
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.0044b410
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.0044b410
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00404432
push dword [ebp - 0x10]
mov ecx, edi
push str.APPPATH
mov dword [ebp - 0x14], ebx
call fcn.00403ba9
lea eax, [ebp + 0x108]
push eax
push str.SYSTEMPATH
mov ecx, edi
call fcn.00403ba9
lea eax, [ebp]
push eax
push str.WINDOWSPATH
mov ecx, edi
call fcn.00403ba9
lea eax, [ebp + 0x210]
push eax
push str.TEMPPATH
mov ecx, edi
call fcn.00403ba9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
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 + 0x318]
xor ecx, ebp
call fcn.0044bab7
add ebp, 0x31c
leave
ret
Function at 0x40625c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
test eax, eax
jne 0x406294
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x4062a8
push ebx
lea ebx, [ebp - 0x38]
push ebx
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ebx
test eax, eax
je 0x4062b0
xor eax, eax
jmp 0x4062e3
test edi, edi
je 0x4062d5
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0x96
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4062ac
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
pop edi
call fcn.0044bab7
add ebp, 0x68
leave
ret

Function at 0x40906b
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x46735c
call fcn.0044bb2f
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
lea eax, [ebp + 0xc]
push eax
xor edi, edi
lea eax, [ebp - 0x2c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.00403ff3
pop ecx
pop ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00407998
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x18], esi
jbe 0x4090d4
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b2
xor byte [eax], 0x5a
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b2
movsx ax, byte [eax]
movzx eax, ax
push eax
mov ecx, ebx
call fcn.0040872f
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x4090aa
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.004018cb
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.004018cb
mov eax, ebx
call fcn.0044bbb2
ret
Function at 0x4090f2
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x467bbc
call fcn.0044baf9
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
call fcn.00407998
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x40915c
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x409166
lea ecx, [ebp - 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x409228
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.0044b410
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0xff
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x40921f
push dword [ebp - 0x18]
call fcn.0044dd54
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x409218
cmp dword [ebp - 0x24], 1
jne 0x409218
mov ecx, dword [ebp - 0x20]
push edi
call fcn.00403fc4
push edi
call fcn.0044b643
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0044bab7
add ebp, 0x104
leave
ret
Function at 0x41a2bf
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x46a65d
call fcn.0044bac6
mov esi, ecx
call fcn.00429b92
push eax
lea ecx, [ebp - 0x10]
call fcn.0040720e
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x41a32d
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.0041a129
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0041a1f5
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403f03
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401268
jmp 0x41a350
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a1f5
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403f03
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401268
mov eax, dword [esi + 8]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp - 0x10]
push ebx
push esi
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x41a393
mov dword [ebp - 0x18], eax
push 0x481840
lea eax, [ebp - 0x18]
push eax
call fcn.0044b5f7
lea ecx, [esi - 0x10]
call fcn.00401268
call fcn.0044bb9e
ret
Function at 0x41ab59
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 8
mov eax, 0x46a707
call fcn.0044bac6
mov esi, dword [ebp + 0x114]
and dword [ebp - 0x10], 0
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.0044b410
add esp, 0xc
lea eax, [ebp]
push eax
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Ljcq
call fcn.004023a9
lea eax, [ebp - 0x10]
push eax
call fcn.00404198
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004044f6
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x24
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401268
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00404432
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0044bab7
add ebp, 0x10c
leave
ret
Function at 0x41bacf
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x48c170]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x46a9f9
call fcn.0044bac6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CRUcDg0bCB8GFzM5KDUpNTwuBhQfDnocKDs3Py01KDF6CT8uLyoGFB4K
mov byte [ebp - 0xd], 0
call fcn.004023a9
lea eax, [ebp - 0x14]
push eax
call fcn.00404198
add esp, 0x20
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x14]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x41bc17
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.0044b410
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x1c], 1
jbe 0x41bb9d
mov byte [ebp - 0xd], 0
jmp 0x41bc0e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CRUcDg0bCB8GFzM5KDUpNTwuBhQfDnocKDs3Py01KDF6CT8uLyoGFB4KBixrdGt0bmloaA
call fcn.004023a9
lea eax, [ebp - 0x20]
push eax
call fcn.00404198
add esp, 0x20
lea eax, [ebp - 0x28]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x41bc03
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x472144
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bbfa
cmp dword [ebp - 0x18], 1
je 0x41bbfa
mov byte [ebp - 0xd], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401268
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401268
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0044bab7
add ebp, 0x104
leave
ret
Function at 0x41c251
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x46ab8a
call fcn.0044bac6
mov edi, ecx
push 0x20
mov dword [ebp - 4], 2
call fcn.00427ac6
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x41c27f
mov ecx, eax
call fcn.0041af41
mov esi, eax
jmp 0x41c281
xor esi, esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403f03
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.00403f03
mov eax, dword [edi + 0x330]
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.00403f03
mov eax, dword [edi + 0x20]
push ebx
push 4
push ebx
push ebx
push esi
push 0x41bf67
mov dword [esi], eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
call fcn.0042b129
lea ecx, [edi + 0x354]
mov dword [ecx], eax
cmp eax, ebx
je 0x41c2e5
mov dword [eax + 0x28], ebx
mov eax, dword [ecx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41c2f3
mov byte [edi + 0x359], 1
mov byte [edi + 0x35a], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401268
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401268
call fcn.0044bb9e
ret 0xc
Function at 0x42280c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0044b410
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x44], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop esi
leave
ret 8
Function at 0x423d30
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x46bdf8
call fcn.0044bac6
mov esi, ecx
xor ebx, ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Mi4uKmA
mov dword [ebp - 4], ebx
call fcn.004023a9
lea eax, [ebp - 0x18]
push eax
call fcn.00404198
add esp, 0x20
push dword [eax]
lea ecx, [ebp + 8]
call fcn.00403811
mov ecx, dword [ebp - 0x18]
cmp eax, 0xffffffff
setg byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00401268
cmp byte [ebp - 0xd], bl
je 0x423dbc
push 1
push ebx
push ebx
push dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NSo_NA
call fcn.004023a9
lea eax, [ebp - 0x18]
push eax
call fcn.00404198
add esp, 0x20
push dword [eax]
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x423f13
push ebx
mov ecx, esi
call fcn.0042bc21
call fcn.00404773
mov ecx, dword [0x48d918]
cmp ecx, ebx
je 0x423dd8
call fcn.0041c685
call fcn.00429b92
push eax
lea ecx, [ebp - 0x14]
call fcn.0040720e
mov byte [ebp - 4], 1
call fcn.00429b92
push eax
lea ecx, [ebp - 0x18]
call fcn.0040720e
mov esi, 0x4730dc
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403fc4
lea eax, [ebp - 0x1c]
push eax
call fcn.00404476
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00408d23
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401268
push esi
lea ecx, [ebp - 0x14]
call fcn.00403fc4
lea eax, [ebp + 8]
push eax
mov esi, 0x4713f0
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004230c9
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00408d23
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401268
push dword [0x48d91c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.fzYv
call fcn.004023a9
lea eax, [ebp - 0x1c]
push eax
call fcn.00404198
add esp, 0x20
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00408a1a
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401268
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004230c9
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.00408d23
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401268
lea ecx, [ebp - 0xd]
call fcn.00429c1b
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 7
call fcn.0042280c
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00419b22
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401268
lea ecx, [esi - 0x10]
call fcn.00401268
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401268
call fcn.0044bb9e
ret 4
Function at 0x42c228
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46cc92
call fcn.0044bac6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42c24d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42c293
lea ecx, [ebp - 0x10]
call fcn.00407998
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.00427c5e
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.00401268
mov eax, esi
call fcn.0044bb9e
ret 8

Function at 0x42e28f
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 0x42e2d7
call fcn.00429a24
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42e2d7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42e31a
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 0x42e303
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 0x42e303
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42e317
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 0x42f5b7
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 0x42f5db
cmp dword [edi + 0x54], 0
jne 0x42f5db
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00429a24
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.0042f578
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