joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452334
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45234b
add esp, 0xfffffff0
call fcn.00403af8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0b0
mov eax, dword [0x45b0b4]
cmp word [eax + 2], 0
jne 0x452373
mov eax, dword [0x45b0b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004538a0
mov eax, dword [0x45b15c]
cmp word [eax + 2], 0
jne 0x45238d
mov eax, dword [0x45b15c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453a98
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412314]
call fcn.004037a4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412314]
call fcn.004037a4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c5ec]
call fcn.00423b0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452514
mov eax, dword [0x45afd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423edc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454048
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45afd4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cd34
test eax, eax
je 0x452482
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e54
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd5c
test eax, eax
je 0x452496
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404794
mov eax, dword [0x45aec0]
cmp byte [eax], 0
jne 0x4524ca
mov eax, ebx
call fcn.0045263c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454224
mov eax, ebx
call fcn.00454be8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45250a
call fcn.00403b50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4528bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbd8]
cmp dword [eax + 0x30], 0
je 0x452966
cmp dword [ebx + 0x94], 0
jne 0x452960
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45284c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452960
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452926
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452960
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041467c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452935
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4534c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4534fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404614
jmp 0x45350a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404578
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454400
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454441
mov eax, esi
call fcn.0043ad74
test al, al
je 0x454441
mov eax, dword [ebx + 0x84]
call fcn.0043aa70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454441
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043aa70
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456e70
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
push 0x90
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00409004
add esp, 0x94
pop ebx
ret

Function at 0x456e9c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
push 0x90
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00409004
add esp, 0x94
pop ebx
ret
Function at 0x456ec8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x456f6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404524
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00406f68
test eax, eax
je 0x456f0b
lea eax, [ebp - 8]
call fcn.00405bbc
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00406f58
test eax, eax
je 0x456f59
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x456f46
mov eax, ebx
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404794
cmp dword [ebp - 8], 0
je 0x456f59
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f76
lea eax, [ebp - 8]
call fcn.00405bbc
ret

Function at 0x45707c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x457084
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4571ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.00403020
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4570f6
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408598
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4571c4
call fcn.00404830
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x407548]
call fcn.0040bf20
call fcn.00403f60
lea eax, [ebp - 0x10]
push eax
push 0x4571e0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x457152
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00408598
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x4571fc
call fcn.00404830
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x407548]
call fcn.0040bf20
call fcn.00403f60
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x457193
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408598
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x457224
call fcn.00404830
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x407548]
call fcn.0040bf20
call fcn.00403f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4571b5
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404548
ret

Function at 0x457244
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, eax
call 0x45702c
dec eax
sub al, 2
jb 0x457257
sub al, 2
jb 0x457261
jmp 0x457268
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
pop ebx
ret
mov eax, ebx
call fcn.0045707c
pop ebx
ret
Function at 0x406a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ada6
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4991b0]
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.00406c20
add esp, 4
mov dword [ebp - 4], 0
push 0x105
push 0
lea ecx, [ebp - 0x33c]
push ecx
call fcn.0045cc90
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.0045cc90
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.0045cc90
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.0040e940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040edb0
push eax
push str.APPPATH
lea ecx, [ebp - 0x120]
call fcn.004077e0
lea edx, [ebp - 0x33c]
push edx
push str.SYSTEMPATH
lea ecx, [ebp - 0x120]
call fcn.004077e0
lea eax, [ebp - 0x11c]
push eax
push str.WINDOWSPATH
lea ecx, [ebp - 0x120]
call fcn.004077e0
lea ecx, [ebp - 0x22c]
push ecx
push 0x480ea0
lea ecx, [ebp - 0x120]
call fcn.004077e0
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e920
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0040ea70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040ea70
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.0045c94d
mov esp, ebp
pop ebp
ret

Function at 0x407180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4991b0]
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 0x4071bc
xor eax, eax
jmp 0x407221
cmp dword [ebp + 0x10], 0
je 0x4071ff
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 0x4071ff
xor eax, eax
jmp 0x407221
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 0x40721c
xor eax, eax
jmp 0x407221
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045c94d
mov esp, ebp
pop ebp
ret
Function at 0x40beb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b228
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4991b0]
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 0x40bef0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40befc
mov al, 1
jmp 0x40c09f
mov dword [ebp - 0x10], 8
call fcn.00408910
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.00408910
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004089a0
add esp, 8
movzx eax, al
test eax, eax
je 0x40bf3f
xor al, al
jmp 0x40c09f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00409e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00409f60
mov ecx, eax
call fcn.0040c300
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0041ff80
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409f60
mov ecx, eax
call fcn.0040c300
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040e3b0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40bfba
cmp dword [ebp - 0x6c], 1
je 0x40bfc1
cmp dword [ebp - 0x6c], 3
je 0x40c05b
jmp 0x40c073
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409f60
mov ecx, eax
call fcn.0040c300
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40c024
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.00409f60
mov ecx, eax
call fcn.0040c300
push eax
call fcn.0045d8b6
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40c024
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407f80
mov al, byte [ebp - 0x61]
jmp 0x40c09f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40c047
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407f80
mov al, byte [ebp - 0x62]
jmp 0x40c09f
cmp dword [ebp - 0x38], 0
jne 0x40c059
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00409e40
jmp 0x40c08b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407f80
mov al, byte [ebp - 0x63]
jmp 0x40c09f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407f80
mov al, byte [ebp - 0x64]
jmp 0x40c09f
jmp 0x40bf52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045c94d
mov esp, ebp
pop ebp
ret
Function at 0x411c60
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b600
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4991b0]
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.0040e8d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 8
call fcn.0040eee0
test eax, eax
jg 0x411d27
push 0x5c
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
call fcn.0040edb0
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.00411df0
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.0040edb0
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040edb0
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00411f50
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.0040ebc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040ea70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ea70
jmp 0x411d78
push 0x5c
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
add ecx, 8
call fcn.0040edb0
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 4
call fcn.0040edb0
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00411f50
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.0040ebc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040ea70
push 0
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040edb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x28]
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.0040edb0
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
call fcn.0040edb0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x411dce
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
push 0x48e9a4
lea edx, [ebp - 0x24]
push edx
call fcn.0045cd0a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ea70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4991b0]
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.0045cc90
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x4813f4
lea edx, [ebp - 0x114]
push edx
call fcn.004130c0
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
call fcn.0040edb0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x114]
call fcn.0040ea70
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e940
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.0045c94d
mov esp, ebp
pop ebp
ret

Function at 0x4130c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4991b0]
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.0045cc90
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.0040e940
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.0045c94d
mov esp, ebp
pop ebp
ret
Function at 0x422530
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.0045cc90
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 0x422586
mov al, 1
jmp 0x422588
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x4245d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4245ff
push esi
call fcn.00428c80
add esp, 4
cmp byte [esi + 0x40], 0
je 0x4245f8
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 0x424679
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x424669
mov eax, dword [esi + 8]
test eax, eax
je 0x424624
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 0x424665
cmp eax, 2
je 0x424669
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x424615
cmp eax, 3
je 0x42464c
cmp eax, 1
jne 0x424615
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x424615
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x424615
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.004242a0
pop esi
ret
cmp eax, 0xcc
je 0x42469b
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.004242a0
pop esi
ret
Function at 0x430340
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 0x430367
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x430373
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 0x430486
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x4303b8
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 0x4303d9
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 0x43042f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x430410
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x430410
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 0x4303f6
cmp dword [esp + 0x10], 0
je 0x43046d
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 0x430450
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x4303b0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x43db63
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 0x43dbab
call fcn.00445e6c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43dbab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43dbee
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 0x43dbd7
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 0x43dbd7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43dbeb
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