joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ba20
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x224
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, dword [esp + 0x230]
push ebp
push esi
mov esi, dword [esp + 0x234]
push edi
push 0
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [eax - 0xe8]
push edi
mov dword [esp + 0x24], edi
call fcn.0044419d
add esp, 4
mov ebp, eax
lea eax, [esp + 0x24]
push 0
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00444a33
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x24]
add esp, 0x14
push eax
call edi
mov ebx, eax
lea eax, [esp + 0x130]
push eax
call edi
add ebx, eax
lea esi, [ebp + 5]
mov dword [esp + 0x14], ebx
xor ebx, ebx
push esi
call edi
test eax, eax
je 0x43bb69
xor edi, edi
nop word [eax + eax]
cmp dword [esp + 0x240], 0
je 0x43bb18
push 0x3a
push esi
call fcn.004419c0
add esp, 8
test eax, eax
jne 0x43bb4e
push esi
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x43bb4e
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x43bb4e
mov eax, dword [esp + 0x14]
add eax, 5
add eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add eax, ebp
push eax
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
push esi
call edi
inc ebx
lea esi, [ebp + 5]
imul edi, ebx, 0x198
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x43bad0
mov esi, dword [esp + 0x1c]
push 0
push 0
push 0xe8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call fcn.00444198
mov ecx, dword [esp + 0x234]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x224
ret
Function at 0x43bbc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x28c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x288], eax
mov eax, dword [esp + 0x290]
push ebx
mov ebx, dword [esp + 0x298]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push ebx
mov dword [esp + 0x2c], eax
call edi
mov esi, eax
lea eax, [esp + 0xc]
push 0
push eax
push 0xe8
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push 0
lea eax, [esp + 0x10]
push eax
push 0xe8
lea eax, [esp + 0x20]
push eax
push edi
call esi
push 0xffffffffffffffff
push 0
push edi
push dword [esp + 0x1c]
call fcn.0043bcc0
push 0x198
lea eax, [esp + 0x110]
push 0
push eax
call fcn.004421e0
add esp, 0x1c
lea eax, [esp + 0xc]
push 0
push eax
push 0x198
lea eax, [esp + 0x108]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x28c
ret
Function at 0x43bcc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x2d8], eax
mov eax, dword [esp + 0x2e0]
push ebx
mov ebx, dword [esp + 0x2ec]
push ebp
push esi
mov esi, dword [esp + 0x2f0]
push edi
push 0x772
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebx, ebx
jne 0x43bd35
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x110a
push ebp
call ebx
mov edi, dword [esp + 0x2fc]
mov dword [0x470428], 0
mov dword [esp + 0x10], edi
jmp 0x43bdcb
push 0x198
lea eax, [esp + 0x50]
push 0
push eax
call fcn.004421e0
mov eax, dword [esp + 0x308]
add esp, 0xc
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x1e4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x110c
push ebp
mov byte [esp + 0x60], 1
mov dword [esp + 0x34], 1
mov dword [esp + 0x48], 0x104
call ebx
lea eax, [esp + 0x1e4]
push eax
lea eax, [esp + 0x55]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea eax, [esp + 0x24]
push eax
push 0x198
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x470428]
mov dword [esp + 0x10], eax
inc eax
mov dword [0x470428], eax
mov eax, dword [esp + 0x18]
push eax
push 4
push 0x110a
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x43bed3
lea eax, [esp + 0x1e4]
mov dword [esp + 0x24], 7
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x110c
push ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], 0x104
call ebx
mov edi, dword [esp + 0x3c]
cmp edi, 4
je 0x43be36
cmp edi, 2
je 0x43be36
push dword [esp + 0x10]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.0043bcc0
add esp, 0x10
jmp 0x43bebe
push 0x198
lea eax, [esp + 0x50]
push 0
push eax
call fcn.004421e0
mov eax, dword [esp + 0x1c]
cmp edi, 4
mov dword [esp + 0x58], eax
setne al
add al, 2
push 3
mov byte [esp + 0x60], al
lea eax, [esp + 0x1f4]
push 0x45428c
push eax
call fcn.004446e0
add esp, 0x18
test eax, eax
jne 0x43be8a
lea eax, [esp + 0x1e4]
push eax
push dword [esp + 0x4c]
call fcn.0043ed30
add esp, 8
lea eax, [esp + 0x1e4]
push eax
lea eax, [esp + 0x55]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea eax, [esp + 0x24]
push eax
push 0x198
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [0x470428]
push esi
push 1
push 0x110a
push ebp
call ebx
mov esi, eax
test esi, esi
jne 0x43bde0
mov ecx, dword [esp + 0x2e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x2dc
ret
Function at 0x43ed80
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x358
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x354], eax
mov ecx, dword [esp + 0x35c]
mov eax, dword [esp + 0x36c]
push ebp
mov ebp, dword [esp + 0x36c]
push esi
push edi
mov edi, dword [esp + 0x36c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x158]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x158]
push eax
call esi
lea ecx, [esp + 0x158]
cmp byte [eax + ecx - 1], 0x5c
jne 0x43ee01
mov eax, ecx
push eax
call esi
dec eax
cmp eax, 0x104
jae 0x43ef69
mov byte [esp + eax + 0x158], 0
push str..
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x43ef1f
mov esi, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x374]
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x268]
push 0x4546d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x2c]
add esp, 0x10
test al, 0x10
je 0x43ef37
push 0x45511c
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x43eef4
push 0x452f08
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x43eef4
mov eax, dword [esp + 0x1c]
test al, 2
je 0x43eea0
test bl, 4
je 0x43eed3
test bl, 2
je 0x43eebe
lea eax, [esp + 0x260]
push edi
push eax
call fcn.0043ef70
add esp, 8
test eax, eax
je 0x43eed3
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
push esi
push eax
lea eax, [esp + 0x268]
push eax
call ebp
add esp, 0xc
jmp 0x43eed7
mov esi, dword [esp + 0x10]
test bl, 1
je 0x43eef0
push esi
push ebp
push ebx
lea eax, [esp + 0x26c]
push edi
push eax
call fcn.0043ed80
add esp, 0x14
mov esi, dword [esp + 0x10]
cmp dword [0x4642c8], 0
je 0x43ef14
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ee40
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [esp + 0x360]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043fe9e
add esp, 0x358
ret
test al, 2
je 0x43ef40
test bl, 4
je 0x43eef4
lea eax, [esp + 0x260]
push edi
push eax
call fcn.0043ef70
add esp, 8
test eax, eax
je 0x43eef4
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x268]
push eax
call ebp
add esp, 0xc
jmp 0x43eef4
call fcn.004402ce
int3
Function at 0x43f2f0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push edi
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 8]
push eax
call fcn.0043f240
add esp, 4
lea eax, [esp + 8]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f361
xor eax, eax
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x10c
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0044419d
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea esi, [ebx + 0xe]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0xa]
mov edi, eax
push 0
push esi
add ecx, ebx
push ecx
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call fcn.00444198
mov ecx, dword [esp + 0x118]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x10c
ret

Function at 0x43f6a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x224]
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x228]
push 0x208
push 0
push eax
call fcn.004421e0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x459510
push 1
push 0
push 0x459530
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43f747
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x10]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x459520
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x43f74e
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x43f78e
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x214
ret
Function at 0x43f860
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push dword [esp + 0x14]
push dword [esp + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 4]
push dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
add esp, 8
ret

Function at 0x43fb40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43fb72
xor eax, eax
add esp, 0x10
ret
lea eax, [esp + 8]
mov dword [esp + 8], 4
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
test eax, eax
push dword [esp + 4]
cmovne ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x43fbc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43fc21
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x28]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43fc27
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
add esp, 0xc
ret
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0xc
ret

Function at 0x43fc40
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43fc72
xor eax, eax
add esp, 8
ret
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push dword [esp + 0x24]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x43fc6c
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x43fcb0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43fce2
xor eax, eax
add esp, 8
ret
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x1c]
push 1
push 0
push dword [esp + 0x24]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x43fcdc
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret

Function at 0x44387a
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x4596a8
push str.FlsAlloc
push 0
call fcn.004437fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4438ac
push dword [ebp + 8]
mov ecx, esi
call fcn.00440cb2
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x4438ee
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x4596cc
push str.FlsGetValue
push 2
call fcn.004437fa
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x44391f
mov ecx, esi
call fcn.00440cb2
call esi
jmp 0x443925
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x443928
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x4596e0
push str.FlsSetValue
push 3
call fcn.004437fa
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x44395c
mov ecx, esi
call fcn.00440cb2
call esi
jmp 0x443962
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40596d
pop dword [ebp - 0x14]
mov eax, 0x40596d
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xdb9661e8
sub dword [ebp - 0x24], 0x8d441c9d
mov dword [ebp - 0x20], 0xe9c803bc
sub dword [ebp - 0x20], 0xb794b777
mov dword [ebp - 0x1c], 0x90c5b1d7
add dword [ebp - 0x1c], 0xbb869257
mov dword [ebp - 0x18], 0x236ffc54
sub dword [ebp - 0x18], 0x236ffc54
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x9bf7fed8
add dword [ebp - 0x24], 0xd87a6a7e
mov dword [ebp - 0x20], 0x32af386d
add dword [ebp - 0x20], 0xebd2908
mov dword [ebp - 0x1c], 0x9b7deed0
sub dword [ebp - 0x1c], 0x380e8264
mov dword [ebp - 0x18], 0xe408dd5a
sub dword [ebp - 0x18], 0xe408dd5a
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x50732b37
add eax, 0xafcd45c9
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3d53b
push 0
call eax
mov ecx, 0x81b39073
add ecx, 0x7e4cd1fe
xor edx, edx
add edx, eax
mov edi, 0x673caf11
sub edi, 0x66fbaf11
add edi, dword [ebp - 0x14]
mov esi, 0x2f3853dd
add esi, 0x9bbe99fe
mov dword [ebp - 8], 0xc0f66caf
mov ebx, dword [edi]
xor dword [ebp - 0x10], 0x403f1242
add ebx, esi
mov dword [edx], ebx
add edx, 0x86142529
sub edx, 0x86142525
add edi, 0x6c0b2826
add edi, 0x93f4d7de
loop 0x405a87
add eax, 0x4243b48f
sub eax, 0x424237f8
xor ebx, ebx
add ebx, eax
add eax, 0xd67a88cc
sub eax, 0xd67a88c7
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x100015a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100015b4
pop dword [ebp - 0x44]
mov eax, 0x100015b4
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xd511aad2
sub dword [ebp - 0x54], 0x86bf6587
mov dword [ebp - 0x50], 0x5055c3b0
add dword [ebp - 0x50], 0xe1dd8895
mov dword [ebp - 0x4c], 0xdc518d38
add dword [ebp - 0x4c], 0x6ffab6f6
mov dword [ebp - 0x48], 0x4b9e1462
add dword [ebp - 0x48], 0xb461eb9e
lea eax, [ebp - 0x54]
push eax
mov eax, 0xa9f5c281
add eax, 0x660a6d83
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xdbdd3c84
sub dword [ebp - 0x54], 0x676ad32e
mov dword [ebp - 0x50], 0xb42931dc
add dword [ebp - 0x50], 0x8d432f99
mov dword [ebp - 0x4c], 0xa96571e9
sub dword [ebp - 0x4c], 0x45f6057d
mov dword [ebp - 0x48], 0x1807b39
sub dword [ebp - 0x48], 0x1807b39
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x20483fbd
add eax, 0xefb7f04f
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3562b
push 0
call eax
mov ecx, 0xe09fb851
sub ecx, 0xe09f74b6
xor edx, edx
add edx, eax
mov esi, 0xd079fada
add esi, 0x3f866926
add esi, dword [ebp - 0x44]
mov ebx, 0x2a6de72b
add dword [ebp - 0x1c], edi
mov edi, dword [esi]
add dword [ebp - 0x28], 0x75c1cf66
xor edi, ebx
mov dword [ebp - 0x2c], 0xe444861b
mov dword [edx], edi
xor dword [ebp - 0x2c], 0x941e0219
add edx, 4
add esi, 4
loop 0x100016cd
add eax, 0x1013f
xor ebx, ebx
add ebx, eax
add eax, 0xa60085c7
sub eax, 0xa60085c2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4061bd
pop dword [ebp - 0x2c]
mov eax, 0x5beac676
add eax, 0xa4559b47
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xfe38ff42
sub dword [ebp - 0x3c], 0xafe6b9f7
mov dword [ebp - 0x38], 0x9bbe1838
add dword [ebp - 0x38], 0x9675340d
mov dword [ebp - 0x34], 0xe6a24a24
sub dword [ebp - 0x34], 0x9a5605f6
mov dword [ebp - 0x30], 0xac5fb8d6
sub dword [ebp - 0x30], 0xac5fb8d6
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x9867dfc0
add eax, 0x67d89184
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xf363752f
add dword [ebp - 0x3c], 0x810ef427
mov dword [ebp - 0x38], 0x7e556a9c
add dword [ebp - 0x38], 0xc316f6d9
mov dword [ebp - 0x34], 0x90710a42
add dword [ebp - 0x34], 0xd2fe622a
mov dword [ebp - 0x30], 0x4ebef594
add dword [ebp - 0x30], 0xb1410a6c
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x2dd49b7e
add eax, 0xd26bd592
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3946d
push 0
call eax
mov ecx, 0x4f4c
xor edx, edx
add edx, eax
mov ebx, 0x436000
add ebx, dword [ebp - 0x2c]
mov edi, 0xa8e860e7
xor dword [ebp - 4], 0x900c55f6
mov esi, dword [ebx]
xor dword [ebp - 0x28], 0x34c8bd93
xor esi, edi
sub dword [ebp - 0xc], 0x9d7106df
mov dword [edx], esi
add dword [ebp - 8], 0x7b00f07a
add edx, 0xaafdd6b6
sub edx, 0xaafdd6b2
add ebx, 4
loop 0x4062cf
add eax, 0x13003
mov ebx, eax
add eax, 0x54cacc48
add eax, 0xab3533bd
mov ecx, 0xc3ab225a
add ecx, 0x3c94dda6
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x1001139d
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10011430
call fcn.1000ed82
xor edi, edi
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100265f7
test eax, eax
je 0x10031507
cmp eax, 2
jne 0x100116c7
push dword [0x100de7cc]
call sym.MSVCR120.dll_ccoshf
pop ecx
test eax, eax
jne 0x1001141b
push 0x3bc
push 1
call sym.MSVCR120.dll_ccoshf
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x10031555
push esi
push dword [0x100de7cc]
call sym.MSVCR120.dll_ccoshf
pop ecx
pop ecx
test eax, eax
je 0x10050453
push edi
push esi
call sym.MSVCR120.dll__initptd
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
call fcn.10011398
xor eax, eax
inc eax
call fcn.1000edc7
ret
cmp eax, 3
jne 0x1001141b
push edi
call sym.MSVCR120.dll_ccoshf
pop ecx
jmp 0x1001141b
call fcn.100261c8
test eax, eax
je 0x10031555
call fcn.10026580
test eax, eax
je 0x100503fe
call fcn.10026f4d
test eax, eax
js 0x10050408
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [sym.MSVCR120.dll__wcmdln], eax
call sym.MSVCR120.dll_ccoshf
jmp 0x100268e4
mov dword [0x100dfbbc], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [sym.MSVCR120.dll__acmdln], eax
call fcn.10026c85
call fcn.10026928
test eax, eax
js 0x1003155c
push edi
call sym.MSVCR120.dll_ccoshf
pop ecx
test eax, eax
jne 0x1003155c
test edi, edi
jne 0x1005040f
inc dword [0x100dfbb8]
jmp 0x1001141b
mov eax, dword [0x100dfbb8]
test eax, eax
jle 0x10031555
dec eax
mov dword [0x100dfbb8], eax
mov dword [ebp - 4], edi
cmp dword [0x100e0418], 0
je 0x10050416
call fcn.10031219
call fcn.10031260
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10050420
mov dword [ebp - 4], 0xfffffffe
call fcn.1003154c
jmp 0x1001141b
xor eax, eax
jmp 0x10011423
xor edi, edi
inc edi
jmp 0x10026915
call fcn.1009f373
jmp 0x10031555
call fcn.100775db
jmp 0x100503fe
call fcn.1009f9c4
jmp 0x10050408
call sym.MSVCR120.dll__cexit
jmp 0x10031526
call fcn.1009f9c4
call fcn.100775db
call fcn.1009f373
jmp 0x1003153b
push esi
call sym.MSVCR120.dll_ccoshf
pop ecx
jmp 0x10031555