joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c49fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c49e8
test eax, eax
jne 0x4c4a1d
mov eax, esi
call fcn.0040472c
jmp 0x4c4aae
mov eax, ebx
call fcn.004c4b44
test al, al
je 0x4c4a63
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.0040481c
test edi, edi
je 0x4c4a5a
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c4aae
mov eax, esi
call fcn.0040472c
jmp 0x4c4aae
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x4c4aa7
mov eax, dword [ebp + 0x208]
call fcn.0041a068
test eax, eax
jle 0x4c4a95
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.004361e0
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404780
jmp 0x4c4aae
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.00404780
jmp 0x4c4aae
mov eax, esi
call fcn.0040472c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e038c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4e053f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.004286d4
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.00458070
call fcn.004c7388
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4e0410
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00422e70
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.004286d4
mov eax, dword [eax + 0xc]
pop edx
call fcn.00422e78
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422d58
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.0040995c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.004286d4
call fcn.00423d24
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422dcc
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422e08
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422e08
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422e08
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00422e70
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.004286d4
mov eax, dword [eax + 0xc]
pop edx
call fcn.00422d04
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.004286d4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.00422b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0546
lea eax, [ebp - 4]
call fcn.0040472c
ret
Function at 0x4f5cdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x4f5cf4
mov eax, ebx
call fcn.004f55f0
cmp dword [ebx + 0x68], 0
jne 0x4f5d01
mov eax, ebx
call fcn.004f5580
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.004f5400
lea eax, [esp + 0x10]
xor edx, edx
call fcn.004f677c
cmp eax, dword [esp]
je 0x4f5d6f
lea eax, [esp + 0x10]
xor edx, edx
call fcn.004f6790
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f5d4b
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004f677c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4f5d64
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x4f5d8a
push 3
mov eax, dword [esi + 0xc]
call fcn.0044c258
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x4f5d97
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
call fcn.004451a8
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.004451cc
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004451f4
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00445218
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00417c6c
mov eax, ebp
mov edx, dword [0x520d9c]
mov byte [edx + 2], al
mov eax, dword [0x520d9c]
mov byte [eax], 0
mov eax, dword [0x520d9c]
mov byte [eax + 1], 0
mov eax, dword [0x520d9c]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044c258
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044c258
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044c258
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [0x520d9c]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.004286d4
call fcn.00423d24
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044c258
push eax
mov eax, dword [0x520d78]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0044c258
push eax
call sub.user32.dll_ShowWindow
push 0
push esi
call sub.user32.dll_ReleaseDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f70a8
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409514
test al, al
je 0x4f712f
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.004032c0
or esi, 0x100
test esi, esi
jns 0x4f70e3
call fcn.0040391c
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404bec
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4f712f
mov dl, 1
mov eax, dword [0x421ce0]
call fcn.00429cf8
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042a0c8
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4f712f
mov eax, esp
call fcn.0040e518
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x506ecc
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50702b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x64
xor edx, edx
xor eax, eax
call fcn.00417c94
xor edx, edx
push ebp
push 0x50700e
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 1
mov ebx, 1
jmp 0x506f9a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + ebx - 1]
sub al, 0x3c
jne 0x506f99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + ebx], 0x3c
je 0x506f83
cmp ebx, dword [ebp - 0xc]
jle 0x506f48
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005072cc
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.005064f4
cmp dword [ebp - 0x10], 0
jne 0x506f68
call fcn.00404214
jmp 0x507015
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00506cd8
mov eax, dword [ebp - 0x10]
call fcn.004049ec
add ebx, eax
mov dword [ebp - 0xc], ebx
dec ebx
jmp 0x506f99
cmp ebx, dword [ebp - 0xc]
jle 0x506f95
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005072cc
inc ebx
mov dword [ebp - 0xc], ebx
inc ebx
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x10]
jle 0x506f1c
cmp ebx, dword [ebp - 0xc]
jle 0x506fb8
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005072cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jle 0x506fcc
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x40]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507015
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
xor edx, edx
xor eax, eax
call fcn.00417c94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507032
lea eax, [ebp - 0x10]
call fcn.0040472c
ret
Function at 0x507038
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
xor eax, eax
push ebp
push 0x5070e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 4], esi
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 4]
call fcn.00404780
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x14]
call fcn.00408b80
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x18]
call fcn.00404780
mov eax, dword [ebx + 0x18]
call fcn.004049ec
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x44], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5070ef
lea eax, [ebp - 0x18]
call fcn.0040472c
lea eax, [ebp - 4]
call fcn.0040472c
ret
Function at 0x50ead4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
push ebp
push 0x50ed2b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x520c78], 0
jne 0x50ebff
cmp dword [0x523228], 0
jne 0x50ebff
cmp dword [0x52322c], 0
je 0x50ebff
xor eax, eax
mov dword [0x520c74], eax
push 0
push 0x50ea28
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
mov eax, dword [0x520c74]
push eax
mov eax, 0x523228
mov ecx, 1
mov edx, dword [0x50ea08]
call fcn.00405b3c
add esp, 4
mov eax, dword [0x523228]
call fcn.00405988
mov esi, eax
test esi, esi
jl 0x50eba3
inc esi
xor ebx, ebx
mov eax, dword [0x52322c]
call fcn.00405988
mov edx, eax
mov eax, dword [0x523228]
mov ecx, dword [eax + ebx*4]
mov eax, dword [0x52322c]
call fcn.0050ea9c
test al, al
jne 0x50eb9f
call sub.user32.dll_GetActiveWindow
mov edx, dword [0x523228]
cmp eax, dword [edx + ebx*4]
jne 0x50eb9f
mov eax, dword [0x523228]
mov eax, dword [eax + ebx*4]
mov dword [0x520c78], eax
inc ebx
dec esi
jne 0x50eb60
cmp dword [0x520c78], 0
jne 0x50ebb1
call fcn.0050f78c
call sub.kernel32.dll_GetTickCount
mov dword [0x520c80], eax
mov eax, 0x520c8c
mov edx, 0x1f4
call fcn.00404d78
push 0x1f4
mov eax, dword [0x520c8c]
call fcn.00404bec
push eax
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_GetWindowTextA
mov ebx, eax
mov eax, 0x520c8c
mov edx, ebx
call fcn.00404d78
xor eax, eax
mov dword [0x520c88], eax
jmp 0x50ed15
cmp dword [0x520c78], 0
je 0x50ed15
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x50ec39
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50ec39
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x50ec43
call fcn.0050f78c
jmp 0x50ed15
call sub.kernel32.dll_GetTickCount
mov ebx, eax
sub ebx, dword [0x520c80]
mov eax, dword [0x520c7c]
sub eax, ebx
dec eax
mov ebx, eax
test ebx, ebx
jg 0x50eca9
cmp byte [0x520c94], 0
jne 0x50ec7a
push 0
push 0
push 0x10
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_PostMessageA
jmp 0x50eca2
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_PostMessageA
push 0
push 0xd
push 0x101
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_PostMessageA
call fcn.0050f78c
jmp 0x50ed15
cmp dword [0x520c84], 0
jle 0x50ed15
lea eax, [ebx + 0x3e8]
mov ecx, 0x3e8
cdq
idiv ecx
mov ebx, eax
cmp ebx, dword [0x520c88]
je 0x50ed15
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x20
mov byte [ebp - 0x10], 2
mov eax, dword [0x520c8c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x50ed44
call fcn.00409fa0
mov eax, dword [ebp - 4]
call fcn.00404bec
push eax
mov eax, dword [0x520c78]
push eax
call sub.user32.dll_SetWindowTextA
mov dword [0x520c88], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ed32
lea eax, [ebp - 4]
call fcn.0040472c
ret
Function at 0x510b3c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x510b45
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
xor eax, eax
push ebp
push 0x510c20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x521108]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402e40
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004033e8
call fcn.00402950
test eax, eax
jne 0x510bfd
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00402f90
mov dx, word [ebp - 8]
test dx, dx
jbe 0x510bf7
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x520874]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x510bd3
cmp dword [ebp - 8], 0
jne 0x510baa
lea eax, [ebp - 0x154]
call fcn.00402fb0
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510c27
lea eax, [ebp - 4]
call fcn.0040472c
ret

Function at 0x510c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
xor eax, eax
push ebp
push 0x510cf8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 4]
call fcn.0040995c
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.004032c0
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
mov word [ebp - 0x220], bx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x510cc1
or ebx, 0xffffffff
jmp 0x510ce2
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510cff
lea eax, [ebp - 4]
call fcn.0040472c
ret
Function at 0xdf23f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0xe03c20
sub esp, 0x20
mov eax, dword [0xe65038]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x10], eax
mov esi, dword [eax + 0x20]
mov ebp, dword [eax + 0x18]
add esi, ebx
test ebp, ebp
je 0xe03c85
mov eax, dword [esi]
lea ecx, [esp + 0x14]
add eax, ebx
push eax
call fcn.00df2a56
push dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
call fcn.00df46b2
add esp, 8
test al, al
jne 0xe03c9a
lea ecx, [esp + 0x14]
add esi, 4
call fcn.00df4649
inc edi
cmp edi, ebp
jb 0xe03c51
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00df3c44
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
lea ecx, [esp + 0x14]
call fcn.00df4649
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00df3c44
add esp, 0x20
ret

Function at 0xdf4810
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe04390
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0xe044c6
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov bl, byte [esi + ebx]
push 0xe4c2b8
push 0xe67720
call fcn.00df3965
xor edx, edx
mov eax, esi
div ebp
add esp, 8
mov bh, byte [edx + section..KERRO]
push 0xdae159
push 0xe4c2c4
push 0xe67808
xor bh, bl
call fcn.00df3965
add esp, 8
mov ecx, eax
call fcn.00df62e6
mov eax, dword [esp + 0x14]
push 0xdae159
push 0xe4c2d4
push 0xe67720
mov bl, byte [esi + eax]
call fcn.00df3965
add esp, 8
mov ecx, eax
call fcn.00df62e6
mov eax, dword [esp + 0x14]
push 0xdae159
push 0xe4c2e0
push 0xe67720
add byte [esi + eax], bh
call fcn.00df3965
add esp, 8
mov ecx, eax
call fcn.00df62e6
mov eax, dword [esp + 0x14]
push 0xe4c2f4
push 0xe67720
dec byte [esi + eax]
call fcn.00df3965
mov eax, dword [esp + 0x1c]
push 0xe4c300
push 0xe67720
add byte [esi + eax], 0xfe
call fcn.00df3965
mov eax, dword [esp + 0x24]
push 0xe4c310
push 0xe67720
sub byte [esi + eax], bl
call fcn.00df3965
mov ebx, dword [esp + 0x2c]
push 0xe4c31c
push 0xe67720
inc byte [esi + ebx]
call fcn.00df3965
inc byte [esi + ebx]
push 0xe4c324
push 0xe67720
call fcn.00df3965
inc byte [esi + ebx]
push 0xe4c330
push 0xe67720
call fcn.00df3965
inc esi
add esp, 0x30
cmp esi, edi
jb 0xe043b0
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0xdf63cc
Capabilities:
Parse pe header

Disassembly:
jmp 0xe2ae61
push 0
call dword [0xe6a0d8]
test eax, eax
je 0xe2aea0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xe2aea0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xe2aea0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xe2aea0
cmp dword [ecx + 0x74], 0xe
jbe 0xe2aea0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xdf666f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0xe03d00
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0xea3f98], eax
pop edi
pop esi
ret
Function at 0x4260c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5037fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004f5277
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x426142
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f2104
mov eax, dword [eax]
push 0x1212d58
push eax
call fcn.004e2c24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f5502
test bl, bl
je 0x426142
push 0x1212d58
lea ecx, [esp + 0xc]
call fcn.004f58de
push 0x1212d64
lea ecx, [esp + 0xc]
call fcn.004f58de
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42617e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f5502
jmp 0x426249
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x426202
lea edx, [esp + 0x7c]
push 0x1212d60
push edx
call fcn.004e2c24
add esp, 8
test eax, eax
je 0x426202
lea eax, [esp + 0x7c]
push 0x1212d5c
push eax
call fcn.004e2c24
add esp, 8
test eax, eax
je 0x426202
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x426192
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004f5502
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x426a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x426aa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc