joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4637c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46396b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46394c
mov dl, 1
mov eax, dword [0x416064]
call fcn.00403a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46393b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045060c
test al, al
je 0x46392e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46397c
lea eax, [ebp - 0x254]
call fcn.00409c44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46392e
xor eax, eax
push ebp
push 0x463927
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4639b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463910
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a68
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463910
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46392e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463831
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419c28
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463972
lea eax, [ebp - 0x260]
call fcn.004047f8
ret

Function at 0x4642a0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a1be0]
cmp byte [eax + 0xa5], 0
jne 0x464311
cmp dword [0x4a1bf8], 0
jne 0x4642d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46425c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a1bf8], eax
cmp dword [0x4a1bf4], 0
jne 0x4642ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a1bf4], eax
cmp dword [0x4a1bfc], 0
jne 0x464311
push esp
push 0
push 0
push 0x464200
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a1bfc], eax
pop edx
ret
Function at 0x464408
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46441f
add esp, 0xfffffff0
call fcn.00403dcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dafc
mov eax, dword [0x4a02a8]
cmp word [eax + 2], 0
jne 0x464447
mov eax, dword [0x4a02a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465b88
mov eax, dword [0x4a03ac]
cmp word [eax + 2], 0
jne 0x464461
mov eax, dword [0x4a03ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465d80
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415c48]
call fcn.00403a78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415c48]
call fcn.00403a78
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 [0x420088]
call fcn.00427b68
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4645e8
mov eax, dword [0x4a0174]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427f38
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466330
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a0174]
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.0040d548
test eax, eax
je 0x464556
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d570
test eax, eax
je 0x46456a
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.00404a68
mov eax, dword [0x49ffb4]
cmp byte [eax], 0
jne 0x46459e
mov eax, ebx
call fcn.00464710
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.0046650c
mov eax, ebx
call fcn.00466ed0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4645de
call fcn.00403e24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464990
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a1be0]
cmp dword [eax + 0x30], 0
je 0x464a3a
cmp dword [ebx + 0x94], 0
jne 0x464a34
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464920
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464a34
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 0x4649fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464a34
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.00417fb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464a09
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46559c
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 0x4655d1
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.004048e8
jmp 0x4655de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040484c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4666e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466729
mov eax, esi
call fcn.0044bbb0
test al, al
je 0x466729
mov eax, dword [ebx + 0x84]
call fcn.0044b8ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466729
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b8ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x478b50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.00404e44
mov eax, esi
call fcn.00404d10
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.004031c4
cmp byte [ebp - 1], 0
jne 0x478bc3
mov eax, esi
call fcn.00404d10
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x478bdc
sub al, 2
jb 0x478be3
jmp 0x478be8
mov ebx, 2
jmp 0x478be8
mov ebx, 1
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x478cca
test edi, edi
jle 0x478c44
mov eax, esi
call fcn.00404d10
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
jmp 0x478cbe
test edi, edi
jge 0x478c8a
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404d10
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x478cbe
mov eax, esi
call fcn.00404d10
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x478c00
mov al, byte [ebp - 1]
sub al, 1
jb 0x478cda
sub al, 2
jb 0x478d13
jmp 0x478d5a
cmp edi, 2
jne 0x478ce0
dec ebx
mov eax, ebx
sub eax, 2
jl 0x478d5a
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404d10
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x49f5cc]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x478cf0
jmp 0x478d5a
cmp edi, 2
jne 0x478d19
dec ebx
test ebx, ebx
jle 0x478d55
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404d10
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x49f5d0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x478d25
jmp 0x478d55
inc ebx
mov eax, esi
call fcn.00404d10
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x478d48
mov eax, esi
mov edx, ebx
call fcn.00404e44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47a614
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47a6af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47a669
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a699
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a6b6
lea eax, [ebp - 0x14]
call fcn.004047f8
ret

Function at 0x47e774
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47e93e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47e8f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x474ff0]
call fcn.00475c78
mov esi, eax
mov ecx, dword [ebx + 8]
lea eax, [ebp - 4]
mov edx, 0x47e954
call fcn.00404b04
mov eax, dword [ebp - 4]
call fcn.0046c628
lea eax, [esi + 0x4088]
mov edx, dword [ebx + 4]
call fcn.0040484c
lea eax, [esi + 0x4c]
mov edx, dword [ebx + 0xc]
call fcn.0040484c
lea eax, [esi + 0x5c]
mov edx, dword [ebx + 0x10]
call fcn.0040484c
lea eax, [esi + 0x60]
mov edx, dword [ebx + 0x14]
call fcn.0040484c
lea eax, [esi + 0x50]
mov edx, dword [ebx + 0x18]
call fcn.0040484c
mov edx, dword [ebx + 0x30]
mov eax, esi
call fcn.00478284
mov edx, dword [ebx + 0x20]
mov eax, esi
call fcn.004782d4
mov edx, dword [ebx + 0x2c]
mov eax, esi
call fcn.00478320
mov edx, dword [ebx + 0x34]
mov eax, esi
call fcn.00478370
mov edx, dword [ebx + 0x28]
mov eax, esi
call fcn.004783c4
mov dl, byte [ebx + 0x1c]
mov eax, esi
call fcn.00478418
mov dword [esi + 0x4194], ebx
mov dword [esi + 0x4190], 0x47e20c
mov dword [esi + 0x4154], ebx
mov dword [esi + 0x4150], 0x47e68c
mov byte [ebx + 0x48], 1
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov eax, esi
call fcn.00478234
jmp 0x47e8af
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [0x4a037c]
mov eax, dword [eax]
call fcn.004658dc
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, edi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x47e8a6
cmp eax, 0x7530
jbe 0x47e8af
jmp 0x47e8a8
jle 0x47e8af
mov eax, esi
call fcn.004762a4
cmp byte [ebx + 0x48], 0
jne 0x47e870
mov edx, dword [ebx + 0x40]
mov eax, 0x47e968
call fcn.00404dfc
test eax, eax
jle 0x47e8e9
push 0x47e978
lea eax, [ebp - 8]
push eax
mov edx, dword [ebx + 0x40]
mov ecx, 0x47e968
mov eax, ebx
call fcn.0047d89c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x44]
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e923
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e945
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040481c
ret
Function at 0x482290
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4822be
mov eax, ebx
call fcn.00482d44
cmp dword [ebx + 0x40], 0
je 0x4822b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48232f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x482321
cmp dword [ebx + 8], 0
je 0x4822e0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4822f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x482321
cmp dword [ebx + 8], 0
je 0x4822d3
cmp eax, 3
je 0x482305
dec eax
jne 0x4822d3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4822d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4822d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48234d
cmp dword [ebx + 0x14], 0xcc
je 0x48234d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00482358
pop ebx
ret

Function at 0x492ad8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x492bae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x492b91
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x492b70
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00404e44
mov eax, dword [ebx]
call fcn.00404cb8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x492b5a
mov ecx, 0x492bc4
mov dl, 1
mov eax, dword [0x407c40]
call fcn.0040c678
call fcn.00404234
mov eax, dword [ebx]
call fcn.00404cb8
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
mov eax, ebx
call fcn.00404e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492b98
cmp dword [ebp - 8], 0
je 0x492b90
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
Function at 0x492bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x492d10
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x492caf
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x103]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x104], al
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x104]
call fcn.00404a5c
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov edx, 1
call fcn.004301b8
mov eax, dword [ebp - 0x108]
mov edx, 0x492d28
call fcn.00404c04
jne 0x492c97
xor edx, edx
mov dl, byte [ebp - 0x104]
lea eax, [ebp - 0x104]
mov ecx, 1
call fcn.00402914
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
call fcn.00404a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492ce5
mov edx, dword [ebp - 4]
mov eax, 0x1a
call fcn.00492ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492d17
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.0040481c
ret

Function at 0x492fac
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4930fa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4930a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004031c4
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x41
mov word [ebp - 0x34], si
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x49308f
push 0x64
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
cmp ebx, 0x102
jne 0x493082
push 0
push 0x12
push 0x12
push 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x49305a
push 0
push 0x12
push 0x12
push 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x493076
push 0
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4930e4
mov eax, dword [0x4a037c]
mov eax, dword [eax]
call fcn.004658dc
cmp ebx, 0x102
je 0x49301b
mov dword [ebp - 4], ebx
jmp 0x493097
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4930e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493101
lea eax, [ebp - 0x78]
call fcn.004047f8
ret
Function at 0x4931b4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff690
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x970], edx
mov dword [ebp - 0x96c], edx
mov dword [ebp - 0x968], edx
mov dword [ebp - 0x960], edx
mov dword [ebp - 0x964], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4934d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x493465
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30c]
mov dl, 1
mov eax, dword [0x47d2e0]
call fcn.0047f3b0
call fcn.0047efa8
call fcn.0047d358
mov byte [ebp - 5], al
call fcn.00402abc
mov esi, eax
test esi, esi
jle 0x4932a2
mov ebx, 1
lea edx, [ebp - 0x964]
mov eax, ebx
call fcn.00402b1c
mov eax, dword [ebp - 0x964]
lea edx, [ebp - 0x960]
call fcn.00408930
mov eax, dword [ebp - 0x960]
mov edx, 0x4934f0
call fcn.00404c04
je 0x49329e
push dword [ebp - 0x10]
push 0x493500
lea edx, [ebp - 0x968]
mov eax, ebx
call fcn.00402b1c
push dword [ebp - 0x968]
push 0x49350c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b78
inc ebx
dec esi
jne 0x493241
mov edx, dword [0x49ffe8]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x493518
call fcn.00404b04
push dword [ebp - 0xc]
push 0x49352c
push dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b78
call fcn.00402944
test eax, eax
mov eax, dword [ebp - 0xc]
call fcn.00409320
test al, al
je 0x4932ea
mov eax, dword [ebp - 0xc]
call fcn.00409390
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x15c]
call fcn.00402ee0
mov edx, 1
lea eax, [ebp - 0x15c]
call fcn.00403308
mov ebx, 0x3e8
push 0
mov eax, 0x418
call fcn.004031e4
mov ecx, eax
add ecx, 0x3e8
lea edx, [ebp - 0x95c]
lea eax, [ebp - 0x15c]
call fcn.0040303c
dec ebx
jne 0x49330d
lea eax, [ebp - 0x15c]
call fcn.0040305c
mov eax, dword [ebp - 0xc]
call fcn.00409390
call fcn.00402944
test eax, eax
cmp byte [ebp - 5], 0
jne 0x49345b
xor eax, eax
push ebp
push 0x49337e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, 0x493538
call fcn.0046762c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4933dc
mov eax, dword [0x4a0590]
cmp dword [eax], 2
jne 0x4933f8
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404cb8
push eax
call sub.kernel32.dll_MoveFileExA
mov eax, dword [ebp - 4]
call fcn.004624e8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004450f4
mov eax, dword [ebp - 0xc]
call fcn.00409320
test al, al
je 0x49343b
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.00409368
call fcn.00402944
test eax, eax
lea eax, [ebp - 0x10]
call fcn.00404d10
mov dx, 5
call fcn.00492fac
mov eax, dword [ebp - 0xc]
call fcn.00409320
test al, al
je 0x49344f
mov eax, dword [ebp - 0xc]
call fcn.00409390
mov eax, dword [0x4a02dc]
mov eax, dword [eax]
call fcn.00402b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4934ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4934e0
lea eax, [ebp - 0x970]
mov edx, 5
call fcn.0040481c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040481c
ret