joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eee0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call fcn.004a94d1
mov ecx, dword [esi]
add esp, 4
lea eax, [eax + eax + 1]
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41ef20
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
pop edi
mov eax, 1
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x41ef70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x100
mov ebx, ecx
mov dword [esp + 0x18], 1
xor ebp, ebp
call fcn.004a9c81
mov edx, dword [esp + 0x20]
mov esi, eax
add esp, 4
xor eax, eax
mov ecx, 0x40
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41efe8
push esi
mov edi, 1
call fcn.004a94d1
mov ecx, dword [esp + 0x24]
add esp, 4
push eax
push esi
call fcn.004057c0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x18]
cmp esi, 8
lea eax, [ecx + 4]
jb 0x41effb
mov edx, dword [eax]
jmp 0x41effd
mov edx, eax
cmp esi, 8
mov edi, dword [ecx + 0x14]
lea edx, [edx + edi*2]
jb 0x41f00a
mov eax, dword [eax]
push edx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00410f70
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x41f500
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
push edi
mov ecx, ebp
call fcn.0041eda0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41f524
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xc], 0
mov edi, dword [esp + 0x1c]
push edi
mov ecx, esi
mov byte [esi + 0x20], 0
call fcn.0041f480
test al, al
je 0x41f583
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0041ed10
test al, al
je 0x41f583
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push esi
push edi
push 0
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
push SysReAllocString
push 0x4c5780
push str.MDMZINC3SPLASHWINDOW
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x41f58b
pop edi
pop esi
xor al, al
pop ebp
ret 0x24
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push 5
push edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
push 0
push 0x14
push 0x3333
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.WINMM.dll_timeGetTime]
pop edi
mov dword [esi + 0x18], eax
pop esi
mov al, 1
pop ebp
ret 0x24
Function at 0x41f660
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.0041e3d0
mov ecx, eax
call fcn.0041e940
test al, al
jne 0x41f689
or eax, 0xffffffff
add esp, 0x1c
ret 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x41f6f8
push esi
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea edx, [esp + 0xc]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call edi
call fcn.0041e3d0
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x41f6d7
mov cl, byte [eax + 0x8e]
test cl, cl
jne 0x41f6ea
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call ebx
test eax, eax
jne 0x41f6b0
jmp 0x41f6f6
mov edx, dword [eax + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
call fcn.0041e3d0
mov ecx, eax
call fcn.0041c220
call fcn.00401d90
mov ecx, eax
call fcn.00401960
call fcn.0041e3d0
mov eax, dword [eax + 0x114]
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4237f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
push ebp
xor ebp, ebp
test eax, eax
je 0x423858
mov ecx, dword [eax + 0x3c]
push esi
mov esi, dword [ecx + eax + 0x78]
add esi, eax
mov eax, dword [esi + 0x18]
push edi
xor edi, edi
test eax, eax
jbe 0x42384f
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x20]
lea eax, [edx + edi*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x423847
mov edx, dword [esi + 0x24]
mov eax, dword [ebx + 4]
lea ecx, [edx + edi*2]
movzx edx, word [ecx + eax]
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + edx*4]
mov ebp, dword [edx + eax]
add ebp, eax
mov eax, dword [esi + 0x18]
inc edi
cmp edi, eax
jb 0x423811
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x43caf0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x40
mov esi, ecx
push 0x1000
mov dword [esi + 8], eax
mov al, 0x68
push 0xd
push 0
mov dword [esi + 0x10], edi
mov byte [esp + 0x18], 0x58
mov byte [esp + 0x19], al
mov dword [esp + 0x1a], esi
mov byte [esp + 0x1e], 0x50
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], 0x43caa0
mov byte [esp + 0x24], 0xc3
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xd
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esi + 4], eax
call fcn.0043bb40
mov edx, dword [esi + 4]
add esp, 0xc
push 0xd
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push eax
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x43ccd0
Capabilities:
Allocate or change rwx memory
Log keystrokes via application hook
Set global application hook

Disassembly:
sub esp, 0x10
push esi
push 0x40
push 0x1000
mov esi, ecx
mov al, 0x68
push 0xd
push 0
mov dword [esi], 0x4c90c8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esp + 0x14], 0x58
mov byte [esp + 0x15], al
mov dword [esp + 0x16], esi
mov byte [esp + 0x1a], 0x50
mov byte [esp + 0x1b], al
mov dword [esp + 0x1c], 0x43cc90
mov byte [esp + 0x20], 0xc3
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xd
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esi + 8], eax
call fcn.0043bb40
mov edx, dword [esi + 8]
add esp, 0xc
push 0xd
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi + 8]
push 0
push eax
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x442cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x58]
push esi
push edi
xor esi, esi
push 0xffffffffffffffff
push esi
mov edi, ecx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
call fcn.004056b0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.004056b0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + 0x10]
mov byte [esp + 0x60], 1
call fcn.00442bb0
mov eax, dword [esp + 0x28]
mov edi, 8
cmp eax, edi
jb 0x442d57
mov eax, dword [esp + 0x14]
push eax
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x48], edi
pop edi
mov dword [esp + 0x20], esi
mov word [esp + 0x10], si
mov dword [esp + 0x24], 7
pop esi
jb 0x442d7d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a8222
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8

Function at 0x443060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3fb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00417ee0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.0043d310
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x444350
Capabilities:
Create thread

Disassembly:
sub esp, 0x204
mov eax, dword [0x508e4c]
xor eax, esp
push esi
mov dword [esp + 0x204], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea eax, [esp + 0xc]
push str.CommandThreadQuitEvent__x__d
push eax
call fcn.004a94e7
add esp, 0x10
lea ecx, [esp + 4]
push ecx
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edx, [esi + 0x28]
push edx
push 0
push 0
push 0x443f50
push 0
push 0
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x204]
mov dword [esi + 0x2c], eax
test eax, eax
setne al
pop esi
xor ecx, esp
call fcn.004a8ea5
add esp, 0x204
ret
Function at 0x448660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c45e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 1
push 0x4c58ec
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.004a94d1
add esp, 4
push eax
push 0x4c58ec
lea ecx, [esp + 0x1c]
call fcn.004057c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, 8
cmp eax, edi
mov byte [esp + 0x10], 1
jae 0x4486d1
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], edi
jb 0x4486df
mov eax, dword [eax + 4]
jmp 0x4486e2
add eax, 4
push ebx
push ecx
push eax
call fcn.004a96fb
mov esi, eax
add esp, 8
cmp esi, ebp
setne al
test al, al
mov eax, dword [esp + 0x30]
sete bl
cmp eax, edi
mov dword [esp + 0x10], esi
jb 0x448712
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a8222
add esp, 4
test bl, bl
pop ebx
je 0x44871b
cmp esi, ebp
jmp 0x44879a
push 2
push ebp
push esi
call fcn.004aa6f6
add esp, 0xc
test eax, eax
je 0x448730
or eax, 0xffffffff
jmp 0x448739
push esi
call fcn.004aa626
add esp, 4
cmp eax, 0xffffffff
mov edi, dword [esp + 0x48]
mov dword [edi], eax
jne 0x448748
cmp esi, ebp
jmp 0x44879a
push ebp
push ebp
push esi
call fcn.004aa6f6
add esp, 0xc
test eax, eax
jne 0x448760
push esi
call fcn.004aa626
add esp, 4
mov ecx, dword [edi]
push ecx
call fcn.004a7d19
mov ebp, eax
mov eax, dword [edi]
push esi
push eax
push 1
push ebp
call fcn.004aa325
mov ecx, dword [edi]
add esp, 0x14
cmp eax, ecx
je 0x4487b9
push ebp
call fcn.004a8eb3
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [edx], 0
mov dword [edi], 0
test esi, esi
je 0x4487a5
push esi
call fcn.004a95a2
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
test esi, esi
mov eax, dword [esp + 0x44]
mov dword [eax], ebp
je 0x4487cc
push esi
call fcn.004a95a2
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4487e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c45e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 1
push 0x4c6470
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.004a94d1
add esp, 4
push eax
push 0x4c6470
lea ecx, [esp + 0x1c]
call fcn.004057c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, 8
cmp eax, edi
jae 0x44884c
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], edi
jb 0x44885a
mov eax, dword [eax + 4]
jmp 0x44885d
add eax, 4
push ebx
push ecx
push eax
call fcn.004a96fb
mov esi, eax
add esp, 8
cmp esi, ebp
setne al
test al, al
mov eax, dword [esp + 0x30]
sete bl
cmp eax, edi
jb 0x448889
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a8222
add esp, 4
test bl, bl
pop ebx
jne 0x4488ab
mov edi, dword [esp + 0x48]
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
push esi
push eax
push 1
push ecx
call fcn.004aa478
mov ecx, dword [edi]
add esp, 0x10
cmp eax, ecx
je 0x4488cc
cmp esi, ebp
je 0x4488b8
push esi
call fcn.004a95a2
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp esi, ebp
je 0x4488d9
push esi
call fcn.004a95a2
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4489b0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x18]
sub esp, 0x20
cmp ecx, 8
push ebx
push esi
push edi
jb 0x4489c7
mov ebx, dword [eax + 4]
jmp 0x4489ca
lea ebx, [eax + 4]
push ebx
call fcn.004a94d1
mov edi, eax
lea eax, [edi + edi + 4]
push eax
call fcn.004a7d19
mov esi, eax
push ebx
push esi
call fcn.004aa02a
xor eax, eax
mov word [esi + edi*2], ax
mov word [esi + edi*2 + 2], ax
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], 0x14
mov dword [esp + 0x22], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x26], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
call fcn.004a8eb3
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x448e60
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1008
call fcn.004a9710
mov eax, dword [0x508e4c]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov esi, dword [esp + 0x1010]
lea eax, [esp + 8]
push eax
push 0x800
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 8]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push ecx
mov word [esi + 4], 0
call fcn.004a94d1
add esp, 4
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004057c0
mov ecx, dword [esp + 0x1008]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a8ea5
add esp, 0x1008
ret 4
Function at 0x448ee0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4c460b
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
mov dword fs:[0], esp
call fcn.004a9710
mov eax, dword [0x508e4c]
xor eax, esp
push esi
mov esi, dword [esp + 0x103c]
push edi
xor edi, edi
mov dword [esp + 8], edi
mov dword [esp + 0x102c], eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
mov ecx, dword [esp + 0x1044]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x1040], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x448fb3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
mov word [esp + 0x34], di
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x448f8b
lea ecx, [esp + 0x2c]
push ecx
call fcn.004a94d1
add esp, 4
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.004057c0
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x448fb3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x18]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edx
mov ecx, esi
mov word [esi + 4], di
call fcn.004056b0
cmp dword [esp + 0x28], 8
jb 0x448fe4
mov eax, dword [esp + 0x14]
push eax
call fcn.004a8222
add esp, 4
mov ecx, dword [esp + 0x1030]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1028]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a8ea5
add esp, 0x1034
ret 8
Function at 0x449290
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c462b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov eax, dword [0x508e4c]
xor eax, esp
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x280]
cmp dword [eax + 0x18], 8
push ebx
push ebp
mov ebp, dword [esp + 0x28c]
jb 0x4492d4
mov eax, dword [eax + 4]
jmp 0x4492d7
add eax, 4
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4492f1
xor al, al
jmp 0x44938a
push esi
push edi
mov edi, 7
xor esi, esi
lea ebx, [ebx]
test byte [esp + 0x2c], 0x10
jne 0x44936f
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.004a94d1
add esp, 4
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.004057c0
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov dword [esp + 0x28c], esi
call fcn.0040e960
cmp dword [esp + 0x28], 8
mov dword [esp + 0x288], 0xffffffff
jb 0x449362
mov edx, dword [esp + 0x14]
push edx
call fcn.004a8222
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x449300
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x278]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x270]
pop ebx
xor ecx, esp
call fcn.004a8ea5
add esp, 0x27c
ret 8

Function at 0x449cd0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov edx, 0x4cd3f8
mov eax, ecx
sub edx, ecx
mov esi, 0x12
push edi
mov edi, dword [edx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x449ce0
mov eax, 0x4cd440
add ecx, 0x48
pop edi
mov edx, 0x100
lea esp, [esp]
mov esi, dword [eax]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x449d00
cmp eax, 0x4ce440
jl 0x449cf4
pop esi
ret
Function at 0x450180
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, dword [0x50cfe8]
mov ecx, eax
add eax, 1
sub esp, 0x6fc
test ecx, ecx
mov dword [0x50cfe8], eax
jne 0x45037b
push esi
push 0x10
call fcn.004a7cf0
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4501b7
mov ecx, eax
call fcn.00450150
jmp 0x4501b9
xor eax, eax
cmp eax, esi
mov dword [0x50cfe4], eax
je 0x45037a
push esi
push esi
push esi
push esi
push esi
push 0x452d40
mov ecx, eax
call fcn.0044ffc0
cmp dword [esp + 0x704], esi
jne 0x45037a
lea edx, [esp + 0x4f8]
push edx
push 0x208
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x450246
push 0x208
lea eax, [esp + 0x2f4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x450246
lea ecx, [esp + 0x2f0]
push 0x5c
push ecx
call fcn.004aad40
add esp, 8
cmp eax, esi
je 0x450246
lea edx, [esp + 0x2f0]
push edx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [esp + 4], eax
cmp dword [0x4fdd88], esi
jle 0x450365
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov ebx, 0x4fdd80
mov eax, dword [ebx]
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x450268
lea edi, [esp + 0x18]
add edi, 0xffffffff
jmp 0x450280
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x450280
mov eax, dword [str..fip]
mov cx, word [0x4ce9bc]
mov dword [edi], eax
lea edx, [esp + 0x1e4]
push edx
lea eax, [esp + 0x1c]
push eax
mov word [edi + 4], cx
call fcn.004aadf1
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x450348
lea esp, [esp]
mov eax, dword [ebx]
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4502c8
push 0x1cc
lea ecx, [esp + 0x1fc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004a8280
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x450329
push str._Init_8
push esi
call ebp
test eax, eax
je 0x450322
mov ecx, dword [0x50cfe4]
push 0
push 0
push 0
push 0
push esi
push eax
call fcn.0044ffc0
jmp 0x450329
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x1e4]
push ecx
push edi
call fcn.004aaed3
add esp, 8
cmp eax, 0xffffffff
jne 0x4502c0
push edi
call fcn.004aad6d
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 1
add ebx, 4
cmp eax, dword [0x4fdd88]
mov dword [esp + 0x14], eax
jl 0x450260
pop edi
pop ebp
pop ebx
cmp dword [esp + 4], 0
je 0x45037a
lea edx, [esp + 0x4f8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop esi
add esp, 0x6fc
ret
Function at 0x46a3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0xd0]
push eax
mov dword [ebp], eax
call fcn.004a7d19
mov edx, dword [esp + 0x10]
add esp, 4
test eax, eax
mov dword [edx], eax
jne 0x46a3db
pop esi
xor al, al
pop ebp
ret 8
mov ecx, dword [ebp]
mov esi, dword [esi + 0xcc]
push edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
xor ecx, ecx
test eax, eax
pop edi
jle 0x46a41f
push ebx
mov eax, dword [edx]
lea esi, [eax + ecx]
mov al, cl
mov bl, 0x21
imul bl
add al, byte [ebp]
mov bl, byte [esi]
add al, 0x7a
xor bl, al
mov byte [esi], bl
mov eax, dword [ebp]
inc ecx
cmp ecx, eax
jl 0x46a400
pop ebx
pop esi
mov al, 1
pop ebp
ret 8

Function at 0x46a430
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0x90]
push edi
mov edi, dword [esi + 0x94]
push ebx
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], edi
call fcn.004a7d19
push edi
mov ebp, eax
call fcn.004a7d19
add esp, 8
test ebp, ebp
mov dword [esp + 0x14], eax
je 0x46a4dd
test eax, eax
je 0x46a4dd
mov esi, dword [esi + 0x8c]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
test ebx, ebx
jle 0x46a4a7
lea esp, [esp]
mov al, cl
mov dl, 0x21
imul dl
mov dl, byte [ecx + ebp]
add al, bl
add al, 0x7a
xor dl, al
mov byte [ecx + ebp], dl
inc ecx
cmp ecx, ebx
jl 0x46a490
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push ebp
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], esi
call fcn.00450b60
add esp, 0x10
test eax, eax
je 0x46a4cb
xor bl, bl
jmp 0x46a4e6
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [edx], eax
mov dword [ecx], esi
jmp 0x46a4e2
mov byte [esp + 0x13], 0
mov bl, byte [esp + 0x13]
test ebp, ebp
je 0x46a4f3
push ebp
call fcn.004a8eb3
add esp, 4
test bl, bl
jne 0x46a508
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46a508
push eax
call fcn.004a8eb3
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret 8