joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464ee8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x464f87
cmp dword [ebx + 0x94], 0
jne 0x464f81
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464e70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464f81
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 0x464f47
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464f81
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.0041959c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464f56
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4651a0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a9cd0]
cmp dword [eax + 0x30], 0
je 0x4652fd
test bl, bl
jne 0x46524e
cmp dword [esi + 0x9c], 0
jne 0x465243
mov eax, esi
call fcn.004679ac
push eax
push 0x4650cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x465214
mov eax, dword [0x4a9cd0]
call fcn.0046808c
test al, al
je 0x465214
mov eax, dword [0x4a9cf4]
call fcn.004063e0
mov edi, eax
cmp edi, 0
jl 0x465214
push 0
mov eax, dword [0x4a9cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4651fe
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465243
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041959c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465223
inc dword [esi + 0x9c]
jmp 0x4652fd
cmp dword [esi + 0x9c], 0
jle 0x4652fd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4652fd
cmp dword [esi + 0x44], 0
je 0x4652a9
mov eax, dword [0x4a9cd0]
call fcn.0046808c
test al, al
je 0x4652a9
mov eax, dword [0x4a9cf4]
call fcn.004063e0
mov edi, eax
cmp edi, 0
jl 0x4652a9
push 5
mov eax, dword [0x4a9cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x465293
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4652d8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041959c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4652b8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a9cf4
mov ecx, 1
mov edx, dword [0x4650ac]
call fcn.00406594
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x465d90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x465dfa
mov eax, ebx
call fcn.0046808c
test al, al
jne 0x465dfa
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.00405200
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x465de7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x465e07
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405164
jmp 0x465e07
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405164
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4671b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46721e
mov eax, esi
call fcn.00450ad0
test al, al
je 0x46721e
mov eax, dword [ebx + 0x84]
call fcn.00450720
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46721e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x467212
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450720
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00448670
jmp 0x46721e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00466fec
pop esi
pop ebx
ret

Function at 0x477f30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x477fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405918
mov eax, dword [0x4a3c74]
cmp byte [eax], 0
je 0x477f9f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405c7c
mov eax, dword [ebx]
call fcn.00405aa8
push eax
mov eax, dword [ebx]
call fcn.00405a98
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405aa8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405c7c
jmp 0x477fd1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a47c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477ff1
lea eax, [ebp - 0x3f0]
call fcn.00405110
ret

Function at 0x477ff8
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a47c
add esp, 0x3ec
pop ebx
ret
Function at 0x4781b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x478280
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045b828
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.00477e74
mov edi, eax
test edi, edi
je 0x478219
movzx eax, byte [0x47828c]
cmp al, bl
jne 0x478219
mov edx, edi
mov eax, ebp
call fcn.00477dac
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x478280
cmp byte [ebp + 0x161], 2
jne 0x478244
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4a3ff8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00449a40
test eax, eax
jne 0x478280
jmp 0x47827b
mov edx, dword [0x4a3ef4]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x47827b
test byte [eax + 0x358], 8
jne 0x47827b
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4a3ef4]
mov eax, edx
mov edx, 0xb006
call fcn.00449a40
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47e5a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4a3ff8]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47e646
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x47e5e5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47e621
jmp 0x47e5e9
pop edx
pop eax
jge 0x47e621
mov eax, dword [0x4a3ff8]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00478fbc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47e646
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47e646
cmp dword [ebx + 0x11c], 0
je 0x47e646
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00437c1c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x485500
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4855ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405918
mov eax, dword [0x4a3c74]
cmp byte [eax], 0
je 0x48556f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405c7c
mov eax, dword [ebx]
call fcn.00405aa8
push eax
mov eax, dword [ebx]
call fcn.00405a98
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405aa8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405c7c
jmp 0x4855a1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a47c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4855c1
lea eax, [ebp - 0x3f0]
call fcn.00405110
ret

Function at 0x488728
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x488782
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.0048878c
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488789
ret

Function at 0x48efe0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x48f016
jmp 0x48f0bc
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x48f05a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48f05a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48f06a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48f06a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48f083
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048b96c
jmp 0x48f0bc
mov dl, 1
mov eax, dword [0x423600]
call fcn.0042581c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004261f0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00425340
mov edx, esp
mov eax, esi
call fcn.00425f2c
mov eax, esi
call fcn.004042c4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4918ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00450720
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.00448670
pop ebx
ret
Function at 0x49bf64
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x49bf8a
push 0
mov eax, dword [ebx + 0x94]
call fcn.00450720
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x49c044
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49c1b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x49c19b
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a47c
mov dl, 1
mov eax, dword [0x4723e4]
call fcn.0047243c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417920]
call fcn.00404294
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004724b8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c197
mov dl, 1
mov eax, dword [0x473950]
call fcn.004739b8
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x49c1cc
call fcn.00472c2c
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405428
xor eax, eax
push ebp
push 0x49c190
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00473cc0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049c1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c197
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004042c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004042c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004042c4
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c1bd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405134
ret

Function at 0x49daa0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004038cc
ret
Function at 0x49df8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x49e203
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x49e218
call fcn.0049ddf4
lea eax, [ebp - 0x3f0]
call fcn.00405110
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004055a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49e1c4
xor eax, eax
push ebp
push 0x49e1bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x49e258
call fcn.0049ddf4
mov eax, dword [ebp - 0x408]
call fcn.004055a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49e08f
push ebp
mov eax, 0x49e284
call fcn.0049dee4
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x49e290
call fcn.0049ddf4
mov eax, dword [ebp - 0x40c]
call fcn.004055a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49e119
push dword [ebp - 0x3f0]
push 0x49e2b8
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405380
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054a4
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x49e2c4
call fcn.0049ddf4
mov eax, dword [ebp - 0x414]
call fcn.004055a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49e1a3
push dword [ebp - 0x3f0]
push 0x49e2b8
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405380
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e1c4
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.00405164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e20a
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405134
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405134
ret
Function at 0x49fe0c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405590
mov eax, dword [ebp - 8]
call fcn.00405590
xor eax, eax
push ebp
push 0x49ff95
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x49ff65
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41781c]
call fcn.0041b90c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0040a020
test al, al
je 0x49fe75
mov eax, dword [ebp - 8]
call fcn.004055a0
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004055a0
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x11
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41781c]
call fcn.0041b90c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49ff54
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041b684
mov edx, dword [ebp - 0x14]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041b684
mov edx, dword [ebp - 0x14]
add edx, 8
add edx, dword [ebp - 0x18]
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041b6f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ff5b
mov eax, dword [ebp - 0x10]
call fcn.004042c4
mov eax, dword [ebp - 0xc]
call fcn.004042c4
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40633c
pop dword [ebp - 0x3c]
mov eax, 0x40633c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa7ac057d
sub dword [ebp - 0x4c], 0x5959c032
mov dword [ebp - 0x48], 0xb1240af5
add dword [ebp - 0x48], 0x810f4150
mov dword [ebp - 0x44], 0xb9ad00c3
add dword [ebp - 0x44], 0x929f436b
mov dword [ebp - 0x40], 0xa3ed903c
add dword [ebp - 0x40], 0x5c126fc4
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2eb65236
add eax, 0xd18a1e2a
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xa31bb291
add dword [ebp - 0x4c], 0xd156b6c5
mov dword [ebp - 0x48], 0xede598e4
sub dword [ebp - 0x48], 0xac79376f
mov dword [ebp - 0x44], 0x6c11baae
sub dword [ebp - 0x44], 0x8a24e42
mov dword [ebp - 0x40], 0x945d3edd
sub dword [ebp - 0x40], 0x945d3edd
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39c0d
push 0
call eax
mov ecx, 0x8a1a6dc4
sub ecx, 0x8a1a193a
xor edi, edi
add edi, eax
mov edx, 0x7cdb97ef
add edx, 0x83656811
add edx, dword [ebp - 0x3c]
mov esi, 0xf2b3a635
xor dword [ebp - 0x28], edx
mov ebx, dword [edx]
add dword [ebp - 0x14], 0x708ae4d4
xor ebx, esi
xor dword [ebp - 0x1c], edx
mov dword [edi], ebx
xor dword [ebp - 0x1c], 0xb5c104b4
add edi, 0xae8ca912
add edi, 0x517356f2
add edx, 4
loop 0x406450
add eax, 0x5ce10c60
add eax, 0xa320389b
mov ebx, eax
add eax, 0x6f5a1d5
add eax, 0xf90a5e30
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4176fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041756b

Function at 0x417af4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a3e0
mov eax, dword [0x484a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004156fd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417b36
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417c92
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00420910
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x487070]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418893
mov ecx, dword [esi*4 + 0x487070]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417c8b
cmp eax, dword [edi + ecx + 0x24]
jne 0x417c8b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c8b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418893
add esp, 0x14
test edx, edx
jl 0x417c8b
jg 0x417c01
test eax, eax
jb 0x417c8b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417c8b
jl 0x417c1b
cmp dword [ebp - 0x1008], eax
ja 0x417c8b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417c39
test ebx, ebx
je 0x417c72
cmp ecx, edi
jae 0x417c72
mov al, byte [ecx]
cmp al, 0xd
jne 0x417c53
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417c5f
cmp byte [ecx + 1], 0xa
jne 0x417c5f
inc ecx
jmp 0x417c5f
movzx eax, al
movsx eax, byte [eax + 0x484cd0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417c39
cmp edx, ebx
jne 0x417c39
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417c90
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409a3b
leave
ret