joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x405e2f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x41a6b4
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6b8], eax
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
invalid
inc ebp

Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x405f04
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41a6b4
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6b8], eax
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040366c
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040358c
push eax
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
jne 0x405ed7
mov eax, dword [ebx]
call fcn.0040358c
mov edx, eax
mov eax, ebx
call fcn.00403338
jmp 0x405ede
mov eax, ebx
call fcn.00403208
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f0b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret

Function at 0x405f14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
mov eax, dword [ebp + 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x405fe8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41a6b4
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x41a6b8], eax
cmp dword [ebp + 8], 0
jne 0x405f81
lea eax, [ebp + 8]
mov edx, 0x406000
call fcn.004032a0
mov eax, dword [ebp + 8]
call fcn.0040338c
push eax
lea eax, [ebp + 8]
call fcn.004035dc
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.0040358c
push eax
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
sete bl
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fef
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
lea eax, [ebp + 8]
call fcn.00403208
ret
Function at 0x406004
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x4060a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41a6b4
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x41a6b8], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.0040358c
push eax
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
sete bl
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret

Function at 0x406144
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x4061d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x406184
lea eax, [ebp - 8]
mov edx, 0x4061ec
call fcn.004032a0
mov eax, dword [ebp - 8]
call fcn.0040338c
push eax
lea eax, [ebp - 8]
call fcn.004035dc
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061da
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret

Function at 0x4061f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
xor eax, eax
push ebp
push 0x406253
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40625a
lea eax, [ebp - 4]
call fcn.00403208
ret
Function at 0x406264
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov eax, dword [ebp - 8]
call fcn.0040357c
xor eax, eax
push ebp
push 0x4062fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41a6b4
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6b8], eax
mov eax, dword [ebp - 8]
call fcn.0040358c
push eax
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [0x41a6b8], eax
cmp dword [0x41a6b8], 0
sete bl
mov eax, dword [0x41a6b4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406301
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret

Function at 0x40692c
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x4190d4], 0
jne 0x4069fe
mov byte [0x4190d4], 1
xor eax, eax
mov dword [0x4190cc], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x406974
cmp dword [esp + 0x1c], 3
jne 0x4069d4
cmp dword [esp + 0x20], 0x33
jbe 0x4069d4
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x406a08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4069fe
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x406a38
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4069fe
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x4069fe
cmp byte [esp + 9], 0
jne 0x4069fe
jmp 0x4069e9
push 0
push 0x406a38
push 0x406a40
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x4069fe
mov eax, dword [0x4190c8]
call fcn.0040358c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4190cc], eax
add esp, 0xac
ret
Function at 0x407934
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x40793c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov edi, 0x41acc0
xor eax, eax
push ebp
push 0x40863f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41ab68
mov edx, 0x408658
call fcn.0040325c
call fcn.004072dc
mov eax, dword [ebp - 8]
call fcn.00403208
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0040338c
cmp eax, 0x7f
jge 0x4079bc
push 0
push 0x41ac34
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
call sub.kernel32.dll_OpenFile
mov dword [0x41abe0], eax
cmp dword [0x41abe0], 0xffffffff
jne 0x4079ef
mov ebx, 1
jmp 0x4079ef
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040358c
push eax
call sub.kernel32.dll_CreateFileA
mov dword [0x41abe0], eax
cmp dword [0x41abe0], 0xffffffff
jne 0x4079ef
mov ebx, 2
mov eax, 0x41ab68
mov edx, 0x408674
call fcn.0040325c
test ebx, ebx
jbe 0x407a71
mov eax, 0x41ab68
mov edx, 0x4086e0
call fcn.0040325c
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
cmp eax, 0xcf
ja 0x407a28
bt dword [0x408740], eax
jb 0x407a61
cmp ebx, 0x4cf
je 0x407a61
push 0x408764
push dword [ebp - 4]
push 0x408774
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004057d8
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0xc]
call fcn.0040f91c
mov eax, dword [0x41abe0]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x40861c
mov eax, 0x41ab68
mov edx, 0x408780
call fcn.0040325c
mov eax, 0x41ac10
call fcn.00403208
mov eax, 0x41ac14
call fcn.00403208
mov eax, 0x41ac18
call fcn.00403208
xor eax, eax
mov dword [0x41ac04], eax
xor eax, eax
mov dword [0x41ac08], eax
xor eax, eax
mov dword [0x41ac0c], eax
xor eax, eax
mov dword [0x41ac00], eax
mov eax, 0x41ac1c
mov edx, 0x12
call fcn.0040366c
mov eax, 0x41ac20
mov edx, 0x20
call fcn.0040366c
mov eax, 0x41ac24
mov edx, 0x1a
call fcn.0040366c
mov eax, 0x41ac28
mov edx, 0x2f
call fcn.0040366c
mov eax, 0x41ac2c
mov edx, 0x12
call fcn.0040366c
mov eax, 0x41ac30
mov edx, 0x20
call fcn.0040366c
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x40853e
Function at 0x4090ec
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x4090f4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
xor eax, eax
push ebp

Function at 0x40910d
Capabilities:
Enumerate files on windows
Get file size
Write file on windows

Disassembly:
push 0x4096ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41ab68
mov edx, 0x409700
call fcn.0040325c
call fcn.004072dc
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
mov ecx, 0x40976c
mov edx, dword [ebp - 4]
call fcn.004033d8
mov eax, dword [ebp - 0x154]
call fcn.0040358c
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
mov eax, 0x41ab68
mov edx, 0x409778
call fcn.0040325c
cmp esi, 0xffffffff
je 0x4096aa
lea eax, [ebp - 8]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00403374
test byte [ebp - 0x150], 0x10
je 0x4091de
mov eax, dword [ebp - 8]
mov edx, 0x409790
call fcn.004034d8
je 0x409695
mov eax, dword [ebp - 8]
mov edx, 0x40979c
call fcn.004034d8
je 0x409695
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4097a8
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 0x158]
call fcn.004090ec
jmp 0x409695
mov eax, 0x41ab68
mov edx, 0x4097b4
call fcn.0040325c
cmp word [0x4191f4], 0
jne 0x4091fd
inc dword [0x41ab8c]
mov eax, dword [0x41ab8c]
cmp eax, dword [0x41ab88]
jl 0x409695
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 8]
call fcn.0040338c
mov edx, eax
sub edx, 2
mov ecx, 3
mov eax, dword [ebp - 8]
call fcn.004035e4
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0xc]
call fcn.00404964
mov edx, dword [0x41ab5c]
invalid
inc ebp
Function at 0x409b18
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x409b20
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x409da6
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0x13
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x409d8b
mov dword [ebp - 0xc], 0x7e0
mov eax, 0x41ab68
mov edx, 0x409dbc
call fcn.0040325c
mov eax, dword [ebp - 0xc]
call fcn.00402490
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.004027e8
mov dword [ebp - 8], 0x3f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x409ba4
cmp eax, 0xea
jne 0x409d47
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x409b7c
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edi, ebx
shl edi, 2
test byte [esi + edi*8 + 0xc], 2
je 0x409bc6
lea eax, [esi + edi*8]
call fcn.00409b18
cmp dword [esi + edi*8 + 8], 3
jne 0x409d38
mov eax, 0x41ab68
mov edx, 0x409dd8
call fcn.0040325c
lea eax, [ebp - 0x14]
mov edx, dword [esi + edi*8 + 0x14]
call fcn.00403338
mov edx, dword [ebp - 0x14]
mov eax, 0x41ab50
mov ecx, 0x409e78
call fcn.004033d8
inc dword [0x41ab90]
mov eax, 0x41ab68
mov edx, 0x409e84
call fcn.0040325c
mov eax, dword [0x41ab90]
cmp eax, dword [0x41ab94]
jl 0x409d38
mov eax, dword [0x41ab90]
push eax
mov ecx, dword [0x41ad1c]
mov edx, dword [0x41ad14]
mov eax, 0x80000002
call fcn.00406004
mov eax, 0x41ab68
mov edx, 0x409ed0
call fcn.0040325c
mov eax, dword [0x41ab50]
push eax
mov ecx, dword [0x41ad18]
mov edx, dword [0x41ad14]
mov eax, 0x80000002
call fcn.00405f14
xor eax, eax
mov dword [0x41ab8c], eax
mov word [0x4191f4], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x41ab30]
call fcn.0040338c
mov ecx, eax
mov edx, 3
mov eax, dword [0x41ab50]
call fcn.004035e4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00404928
mov eax, dword [ebp - 0x18]
mov edx, dword [0x41ab30]
call fcn.004034d8
jne 0x409cd2
lea eax, [ebp - 0x20]
mov ecx, dword [0x41ab50]
mov edx, 0x409f64
call fcn.004033d8
mov eax, dword [ebp - 0x20]
call fcn.0040f91c
jmp 0x409cf7
mov eax, dword [0x41ab50]
call fcn.004090ec
lea eax, [ebp - 0x24]
mov ecx, dword [0x41ab50]
mov edx, 0x409f78
call fcn.004033d8
mov eax, dword [ebp - 0x24]
call fcn.0040f91c
mov eax, 0x41ab68
mov edx, 0x409f88
call fcn.0040325c
xor eax, eax
mov dword [0x41ab88], eax
mov eax, dword [0x41ab88]
push eax
mov ecx, dword [0x41ad20]
mov edx, dword [0x41ad14]
mov eax, 0x80000002
call fcn.00406004
mov eax, 0x41ab68
mov edx, 0x40a054
call fcn.0040325c
inc ebx
dec dword [ebp - 0x10]
jne 0x409bb2
invalid
invalid
invalid
Function at 0x40b20c
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
mov eax, dword [0x41ade8]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41ab68
mov edx, 0x40b284
call fcn.0040325c
push 0
push 0
mov eax, dword [0x41adec]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x41ab68
mov edx, 0x40b2b8
call fcn.0040325c
push 0
push 0
mov eax, dword [0x41adf0]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x40b40a
Capabilities:
Check for foreground window switch
Hide graphical window

Disassembly:
call fcn.0040b20c
mov eax, dword [0x41adf4]
call fcn.0040358c
push eax
push 0
mov eax, dword [0x4192c4]
mov eax, dword [eax]
call eax
mov ebx, eax
test ebx, ebx
je 0x40b472
mov eax, 0x41ab68
mov edx, 0x40b638
call fcn.0040325c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_GetClientRect
mov eax, dword [ebp - 0xc]
cmp eax, 0x14a
je 0x40b3d6
cmp eax, 0x15f
jne 0x40b46a
cmp dword [ebp - 8], 0xc1
jne 0x40b46a
push 0x40b664
push 0
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x40b42d
push 0
push 0
push 0x201
push edi
mov eax, dword [0x4192b8]
mov eax, dword [eax]
call eax
shr byte [edx], 1
shr byte [edx], 1
push 0
push 0x202
push edi
mov eax, dword [0x4192b8]
mov eax, dword [eax]
call eax
mov eax, 0x41ab68
mov edx, 0x40b674
call fcn.0040325c
push ebx
call sub.user32.dll_SetForegroundWindow
test eax, eax
je 0x40b472
push 0
push 0
push 0
push 0xd
mov eax, dword [0x4192dc]
mov eax, dword [eax]
call eax
push 0
push 2
push 0
push 0xd
mov eax, dword [0x4192dc]
mov eax, dword [eax]
call eax
mov eax, 0x41ab68
mov edx, 0x40b6c4
call fcn.0040325c
jmp 0x40b472
push 0
push ebx
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
push 0x1e
lea eax, [ebp - 0x33]
push eax
push ebx
mov eax, dword [0x4192a8]
mov eax, dword [eax]
call eax
lea eax, [ebp - 4]
lea edx, [ebp - 0x33]
mov ecx, 0x1f
call fcn.00403374
mov eax, dword [ebp - 4]
call fcn.0040338c
test eax, eax
jle 0x40b563
mov edx, dword [ebp - 4]
mov eax, 0x40b714
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, dword [0x41adf8]
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, dword [0x41adfc]
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, dword [0x41ae00]
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, 0x40b724
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, 0x40b734
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, 0x40b744
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, 0x40b754
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, 0x40b764
call fcn.00403624
test eax, eax
jne 0x40b55b
mov edx, dword [ebp - 4]
mov eax, dword [0x41ae04]
call fcn.00403624
test eax, eax
je 0x40b563
push 0
push ebx
call sub.user32.dll_ShowWindow
push 0x320
call sub.kernel32.dll_Sleep
inc esi
cmp dword [0x41aba0], 0x1d9e2
je 0x40b583
cmp esi, 0x4b
jl 0x40b379
push 0x927c0
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x38]
mov ecx, 0x40b770
mov edx, dword [0x41ae08]
call fcn.004033d8
mov eax, dword [ebp - 0x38]
call fcn.00405130
mov eax, 0x41ab68
mov edx, 0x40b780
call fcn.0040325c
mov ecx, 0x40b770
lea eax, [ebp - 0x3c]
mov edx, dword [0x41ae0c]
call fcn.004033d8
mov eax, dword [ebp - 0x3c]
call fcn.00405130
mov ecx, 0x40b770
lea eax, [ebp - 0x40]
mov edx, dword [0x41ae10]
call fcn.004033d8
mov eax, dword [ebp - 0x40]
call fcn.00405130
Function at 0x40cc10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x40ce03
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.004026c0
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00404964
mov edx, dword [ebp - 4]
mov eax, 0x41ab40
call fcn.0040325c
mov eax, 0x41ab68
mov edx, 0x40ce18
call fcn.0040325c
cmp byte [0x41aba9], 0
jne 0x40cc7d
mov eax, dword [0x41ab40]
push eax
mov ecx, dword [0x41ace8]
mov edx, dword [0x41ad14]
mov eax, 0x80000002
call fcn.00405f14
cmp byte [0x41aba9], 0
je 0x40cc90
call fcn.0040d19c
jmp 0x40cde8
mov eax, 0x41ab68
mov edx, 0x40ce98
call fcn.0040325c
xor ebx, ebx
push 0
mov eax, dword [0x41ae1c]
call fcn.0040358c
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x40ccc5
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x40cca1
push 0xea60
call sub.kernel32.dll_Sleep
push 0
push 0x40cf24
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
mov eax, dword [0x41acfc]
call fcn.0040358c
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov eax, 0x41ab68
mov edx, 0x40cf34
call fcn.0040325c
test esi, esi
jne 0x40cd17
mov eax, dword [0x41ad04]
call fcn.0040358c
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x40cdbf
mov eax, 0x41ab68
mov edx, 0x40cff8
call fcn.0040325c
mov eax, dword [0x41ae20]
call fcn.0040358c
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, 0x41ab68
mov edx, 0x40d030
call fcn.0040325c
test esi, esi
je 0x40cdbf
call esi
push 0xbb8
call sub.kernel32.dll_Sleep
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
mov eax, 0x41ab68
mov edx, 0x40d0e4
call fcn.0040325c
push 0x1f4
call sub.kernel32.dll_Sleep
push 0
push 0xd
push 0x101
push ebx
call sub.user32.dll_SendMessageA
mov eax, 0x41ab68
mov edx, 0x40d180
call fcn.0040325c
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x4191c8
enter 0x4191, 0
Function at 0x40f91c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
xor eax, eax
push ebp
push 0x40fa13
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x41abb0], 0
jne 0x40f94e
call fcn.0040f73c
push 2
push 0
push 0
mov eax, dword [0x41abb0]
push eax
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
jne 0x40f969
call fcn.0040f73c
mov eax, 0x41ab68
mov edx, 0x40fa2c
call fcn.0040325c
lea edx, [ebp - 0xc]
mov al, byte [0x41abaa]
call fcn.004049a0
push dword [ebp - 0xc]
push 0x40faf8
push dword [ebp - 4]
push 0x40fb04
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040344c
mov eax, 0x41ab68
mov edx, 0x40fb10
call fcn.0040325c
mov byte [0x41abaa], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040338c
push eax
lea eax, [ebp - 4]
call fcn.004035dc
push eax
mov eax, dword [0x41abb0]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x40f9e6
mov dword [ebp - 8], 0xffffffff
mov eax, 0x41ab68
mov edx, 0x40fb8c
call fcn.0040325c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fa1a
lea eax, [ebp - 0xc]
call fcn.00403208
lea eax, [ebp - 4]
call fcn.00403208
ret
Function at 0x41c088
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41c0d3
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041c227
test al, al
jne 0x41c0cd
sub edx, 2
cmp edx, edi
jne 0x41c0b3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41c0f5
lea eax, [edi + 2]
cmp edx, eax
je 0x41c0f5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041bfd4
add esp, 0x10
jmp 0x41c1ef
push esi
lea ecx, [ebp - 0x255]
call fcn.0041c227
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c138
push dword [ebp - 0x25c]
jmp 0x41c0e5
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41c175
cmp word [ebp - 0x226], 0
je 0x41c196
cmp word [ebp - 0x226], ax
jne 0x41c175
cmp word [ebp - 0x224], 0
je 0x41c196
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041bfd4
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41c1e2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41c14f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41c1ca
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41c1ef
push 0x41be04
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00421480
add esp, 0x10
jmp 0x41c1bf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040833e
leave
ret

Function at 0x4233a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4233cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4233cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408931
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
and ebx, ebx
call fcn.00408975
add ebx, 1
inc ebx
xor dword [eax], edi
sub esp, 4
mov dword [esp], 0xa2a6c097
pop ecx
sub ecx, ecx
add eax, 1
push 0xb209b532
pop ecx
push 0xadddc04a
pop ecx
cmp eax, edx
jne fcn.00408931
mov ecx, ebx
add ebx, 0x41b458b0
ret