joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4295c5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f1c5
and dword [ebp - 4], 0
cmp dword [0x444ea0], 0
mov ebx, eax
jne 0x429676
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x429727
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x429727
push eax
call fcn.0041f153
mov dword [esp], 0x4381e0
push edi
mov dword [0x444ea0], eax
call esi
push eax
call fcn.0041f153
mov dword [esp], 0x4381cc
push edi
mov dword [0x444ea4], eax
call esi
push eax
call fcn.0041f153
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444ea8], eax
call esi
push eax
call fcn.0041f153
pop ecx
mov dword [0x444eb0], eax
test eax, eax
je 0x429676
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f153
pop ecx
mov dword [0x444eac], eax
mov eax, dword [0x444eac]
cmp eax, ebx
je 0x4296ce
cmp dword [0x444eb0], ebx
je 0x4296ce
push eax
call fcn.0041f1ce
push dword [0x444eb0]
mov esi, eax
call fcn.0041f1ce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4296ce
test edi, edi
je 0x4296ce
call esi
test eax, eax
je 0x4296c5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4296c5
test byte [ebp - 0xc], 1
jne 0x4296ce
or dword [ebp + 0x10], 0x200000
jmp 0x429707
mov eax, dword [0x444ea4]
cmp eax, ebx
je 0x429707
push eax
call fcn.0041f1ce
pop ecx
test eax, eax
je 0x429707
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x429707
mov eax, dword [0x444ea8]
cmp eax, ebx
je 0x429707
push eax
call fcn.0041f1ce
pop ecx
test eax, eax
je 0x429707
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444ea0]
call fcn.0041f1ce
pop ecx
test eax, eax
je 0x429727
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x429729
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b641
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ebx
mov ecx, 0x8591486a
call fcn.0043b66c
and ecx, ecx
xor dword [eax], ebx
mov ecx, 0x330e0092
mov ecx, 0x59d93142
inc eax
dec esi
or ecx, esi
cmp eax, edx
jne fcn.0043b641
push esi
pop ecx
ret

Function at 0xbd2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bd21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbd207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd206a
add dl, dl
jne 0xbd2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd20dc
xor eax, eax
add dl, dl
jne 0xbd2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd217d
add dl, dl
jne 0xbd20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbd20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbd2075
mov eax, 1
add dl, dl
jne 0xbd20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd20e1
sub eax, ebx
mov ebx, 1
jne 0xbd2128
mov ecx, 1
add dl, dl
jne 0xbd210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbd213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd2136
cmp eax, 0x7d00
jae 0xbd216d
cmp eax, 0x500
jb 0xbd2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd2075
cmp eax, 0x7f
ja 0xbd2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbd219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbd2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4215db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421458
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436008]
jne 0x40100a
repz ret
jmp fcn.00401878

Function at 0x407c90
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403d87
and dword [ebp - 4], 0
cmp dword [0x438108], 0
mov ebx, eax
jne 0x407d41
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407df2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407df2
push eax
call fcn.00403d15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438108], eax
call esi
push eax
call fcn.00403d15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43810c], eax
call esi
push eax
call fcn.00403d15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438110], eax
call esi
push eax
call fcn.00403d15
pop ecx
mov dword [0x438118], eax
test eax, eax
je 0x407d41
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403d15
pop ecx
mov dword [0x438114], eax
mov eax, dword [0x438114]
cmp eax, ebx
je 0x407d99
cmp dword [0x438118], ebx
je 0x407d99
push eax
call fcn.00403d90
push dword [0x438118]
mov esi, eax
call fcn.00403d90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407d99
test edi, edi
je 0x407d99
call esi
test eax, eax
je 0x407d90
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407d90
test byte [ebp - 0xc], 1
jne 0x407d99
or dword [ebp + 0x10], 0x200000
jmp 0x407dd2
mov eax, dword [0x43810c]
cmp eax, ebx
je 0x407dd2
push eax
call fcn.00403d90
pop ecx
test eax, eax
je 0x407dd2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407dd2
mov eax, dword [0x438110]
cmp eax, ebx
je 0x407dd2
push eax
call fcn.00403d90
pop ecx
test eax, eax
je 0x407dd2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438108]
call fcn.00403d90
pop ecx
test eax, eax
je 0x407df2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407df4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f770
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x436008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x437000]
push ebx
mov ebx, dword [0x2b361ec]
push edi
mov edi, dword [0x2b36034]
call fcn.0042f680
cmp dword [0x2b361ec], 0x2f
jne 0x42f7ab
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.0042f6c0
cmp dword [0x2b361ec], 0x568
pop edi
pop ebx
jne 0x42f7e2
push 0
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x404]
push ecx
push str.Muvedipumob_hiwolucuwe_vusovamovuse
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x402720
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40274f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040350c
jmp 0x40276d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004026b4
mov edi, eax
test ebx, ebx
je 0x40276d
cmp dword [esi], 0
je 0x40276d
dec ebx
jmp 0x402756
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4028c0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x41f038], 0x8088405
inc edx
mov dword [0x41f038], edx
mul edx
mov eax, edx
ret

Function at 0x4029b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402a50
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402a30
xor eax, eax
push ebp
push 0x402a29
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402a6c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402a30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x40404c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4041e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4040fc
xor eax, eax
push ebp
push 0x4040f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4040de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404208
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4040fc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4041dd
cmp byte [ebp - 0xd], 0
jne 0x40413e
cmp byte [ebp - 0x12], 0
je 0x4041dd
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404157
dec ebx
cmp byte [ebx], 0x2e
je 0x404166
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404156
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4041dd
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404193
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4041dd
cmp byte [ebp - 0xd], 0
je 0x4041dd
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4041dd
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4064cc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040350c
add esp, 0x104
pop ebx
ret

Function at 0x408528
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408561
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040350c
jmp 0x40856a
mov eax, ebx
mov edx, esi
call fcn.004034c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408574
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x408595
mov al, byte [esp]
jmp 0x408597
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d9e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40da71
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0040d434
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x40da5b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x41e81c]
call fcn.00404368
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40d2a0]
call fcn.00408ef4
call fcn.00402f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da78
lea eax, [ebp - 0x10]
call fcn.00403428
ret

Function at 0x40da84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40db1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40daf9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x41e854]
call fcn.00404368
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40d2a0]
call fcn.00408ef4
call fcn.00402f40
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040d464
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db26
lea eax, [ebp - 0x10]
call fcn.00403428
ret
Function at 0x413e3c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403858
xor eax, eax
push ebp
push 0x413eec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00406094
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x413ed6
xor eax, eax
push ebp
push 0x413ecf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, eax
mov eax, ebx
call fcn.00403978
mov eax, dword [ebx]
call fcn.004036a4
push eax
mov eax, ebx
call fcn.00403874
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004060f8
mov edx, eax
mov eax, ebx
call fcn.00403978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413ed6
mov eax, dword [ebp - 8]
call fcn.0040615c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413ef3
lea eax, [ebp - 4]
call fcn.00403428
ret
Function at 0x417344
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x200], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4173e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1f9], 0
push 0x1f4
lea eax, [ebp - 0x1f9]
push eax
lea edx, [ebp - 0x200]
mov eax, esi
call fcn.00417310
mov eax, dword [ebp - 0x200]
call fcn.00403868
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
lea eax, [ebp - 0x200]
lea edx, [ebp - 0x1f9]
mov ecx, 0x1f5
call fcn.00403654
mov eax, dword [ebp - 0x200]
lea edx, [ebp - 4]
call fcn.004028d8
cmp dword [ebp - 4], 0
jne 0x4173c8
cmp ebx, eax
je 0x4173cc
xor eax, eax
jmp 0x4173ce
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4173f0
lea eax, [ebp - 0x200]
call fcn.00403428
ret

Function at 0x418fcc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403868
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x418fe5
test al, 0x10
jne 0x418fe9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x418ff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403858
xor eax, eax
push ebp
push 0x4190bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004036a4
test eax, eax
mov eax, dword [ebp - 4]
call fcn.00418f9c
test eax, eax
je 0x41904e
mov eax, dword [ebp - 4]
call fcn.00418f9c
cmp byte [eax], 0x5c
jne 0x41904e
mov eax, dword [ebp - 4]
call fcn.004036a4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004038e8
mov eax, dword [ebp - 4]
call fcn.004036a4
cmp eax, 3
jl 0x4190a2
mov eax, dword [ebp - 4]
call fcn.00418fcc
test al, al
jne 0x4190a2
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004063bc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004037b4
je 0x4190a2
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004063bc
mov eax, dword [ebp - 8]
call fcn.00418ff0
push 0
mov eax, dword [ebp - 4]
call fcn.00403868
push eax
call sub.kernel32.dll_CreateDirectoryA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4190c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040344c
ret
Function at 0x4196bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
cmp dword [edx + 4], 0x4cf
jne 0x419778
cmp byte [ebx + 0x224], 0
je 0x419778
push esp
call sub.user32.dll_GetCursorPos
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
setne al
and eax, 0x7f
inc eax
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x419709
xor edx, edx
mov eax, ebx
call fcn.0041aa80
jmp 0x419778
mov ecx, dword [esp]
sub ecx, dword [ebx + 0x228]
mov esi, dword [esp + 4]
sub esi, dword [ebx + 0x22c]
cmp byte [ebx + 0x225], 0
jne 0x41973d
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x41973d
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x419778
add dword [ebx + 0x1c], ecx
add dword [ebx + 0x18], esi
mov eax, dword [esp]
mov dword [ebx + 0x228], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x22c], eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_MoveWindow
mov byte [ebx + 0x225], 1
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x419780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41993b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x288]
call fcn.004034c0
mov edx, dword [ebp - 0xc]
mov eax, 0x419954
call fcn.00403930
mov ebx, eax
test ebx, ebx
jne 0x4197d6
mov eax, dword [ebp - 0xc]
call fcn.004036a4
mov ebx, eax
inc ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004038a8
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 8]
call fcn.004036f0
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, 1
call fcn.004038e8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00406484
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00405e8c
mov eax, dword [ebp - 0x10]
mov edx, 0x419960
call fcn.004037b4
jne 0x4198d3
mov eax, dword [ebp - 8]
call fcn.00403868
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419920
xor eax, eax
push ebp
push 0x4198cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x419968
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x4198b5
xor eax, eax
push ebp
push 0x4198ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x41997c
call fcn.004036ac
mov eax, dword [ebp - 0xc]
call fcn.00403868
push eax
mov eax, dword [esi + 4]
push eax
lea eax, [ebp - 0x114]
push eax
call ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4198b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419920
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00406484
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00405e8c
mov eax, dword [ebp - 0x10]
mov edx, 0x419988
call fcn.004037b4
jne 0x419920
push 1
push dword [ebp - 8]
push 0x419954
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403764
mov eax, dword [ebp - 0x10]
call fcn.00403868
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419942
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040344c
ret