joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f210
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.0041df80
mov ecx, eax
call fcn.0041e4f0
test al, al
jne 0x41f239
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 0x41f2a8
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.0041df80
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x41f287
mov cl, byte [eax + 0x8e]
test cl, cl
jne 0x41f29a
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call ebx
test eax, eax
jne 0x41f260
jmp 0x41f2a6
mov edx, dword [eax + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
call fcn.0041df80
mov ecx, eax
call fcn.0041bdd0
call fcn.00401d60
mov ecx, eax
call fcn.00401930
call fcn.0041df80
mov eax, dword [eax + 0x114]
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x423320
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 0x423388
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 0x42337f
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 0x423377
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 0x423341
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x43c750
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], 0x43c700
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.0043b7c0
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 0x43c940
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], 0x4c8fd8
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], 0x43c8f0
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.0043b7c0
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 0x4427e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c3f10
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.00405530
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.00405530
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.004426e0
mov eax, dword [esp + 0x28]
mov edi, 8
cmp eax, edi
jb 0x442887
mov eax, dword [esp + 0x14]
push eax
call fcn.004a7e92
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 0x4428ad
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a7e92
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x4c3f83
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.00404a00
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.0044d4b0
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 0x443e80
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.004a9157
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 0x443a80
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.004a8b15
add esp, 0x204
ret
Function at 0x446340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c43a8
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 0x4c7998
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.004a9141
add esp, 4
push eax
push 0x4c7998
lea ecx, [esp + 0x1c]
call fcn.00405640
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, 8
cmp eax, edi
mov byte [esp + 0x10], 1
jae 0x4463b1
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], edi
jb 0x4463bf
mov eax, dword [eax + 4]
jmp 0x4463c2
add eax, 4
push ebx
push ecx
push eax
call fcn.004a9dc1
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 0x4463f2
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a7e92
add esp, 4
test bl, bl
pop ebx
je 0x4463fb
cmp esi, ebp
jmp 0x44647a
push 2
push ebp
push esi
call fcn.004a9d1c
add esp, 0xc
test eax, eax
je 0x446410
or eax, 0xffffffff
jmp 0x446419
push esi
call fcn.004a9c4c
add esp, 4
cmp eax, 0xffffffff
mov edi, dword [esp + 0x48]
mov dword [edi], eax
jne 0x446428
cmp esi, ebp
jmp 0x44647a
push ebp
push ebp
push esi
call fcn.004a9d1c
add esp, 0xc
test eax, eax
jne 0x446440
push esi
call fcn.004a9c4c
add esp, 4
mov ecx, dword [edi]
push ecx
call fcn.004a7989
mov ebp, eax
mov eax, dword [edi]
push esi
push eax
push 1
push ebp
call fcn.004a994b
mov ecx, dword [edi]
add esp, 0x14
cmp eax, ecx
je 0x446499
push ebp
call fcn.004a8b23
mov edx, dword [esp + 0x48]
add esp, 4
mov dword [edx], 0
mov dword [edi], 0
test esi, esi
je 0x446485
push esi
call fcn.004a9811
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 0x4464ac
push esi
call fcn.004a9811
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 0x4464c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c43a8
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 0x4c6458
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.004a9141
add esp, 4
push eax
push 0x4c6458
lea ecx, [esp + 0x1c]
call fcn.00405640
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, 8
cmp eax, edi
jae 0x44652c
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], edi
jb 0x44653a
mov eax, dword [eax + 4]
jmp 0x44653d
add eax, 4
push ebx
push ecx
push eax
call fcn.004a9dc1
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 0x446569
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a7e92
add esp, 4
test bl, bl
pop ebx
jne 0x44658b
mov edi, dword [esp + 0x48]
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
push esi
push eax
push 1
push ecx
call fcn.004a9a9e
mov ecx, dword [edi]
add esp, 0x10
cmp eax, ecx
je 0x4465ac
cmp esi, ebp
je 0x446598
push esi
call fcn.004a9811
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 0x4465b9
push esi
call fcn.004a9811
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 0x448660
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 0x448677
mov ebx, dword [eax + 4]
jmp 0x44867a
lea ebx, [eax + 4]
push ebx
call fcn.004a9141
mov edi, eax
lea eax, [edi + edi + 4]
push eax
call fcn.004a7989
mov esi, eax
push ebx
push esi
call fcn.004a97a9
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.004a8b23
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x448b10
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1008
call fcn.004a91d0
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.004a9141
add esp, 4
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00405640
mov ecx, dword [esp + 0x1008]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a8b15
add esp, 0x1008
ret 4
Function at 0x448b90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4c45db
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
mov dword fs:[0], esp
call fcn.004a91d0
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 0x448c63
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 0x448c3b
lea ecx, [esp + 0x2c]
push ecx
call fcn.004a9141
add esp, 4
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00405640
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x448c63
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.00405530
cmp dword [esp + 0x28], 8
jb 0x448c94
mov eax, dword [esp + 0x14]
push eax
call fcn.004a7e92
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.004a8b15
add esp, 0x1034
ret 8
Function at 0x448f40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c45fb
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 0x448f84
mov eax, dword [eax + 4]
jmp 0x448f87
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 0x448fa1
xor al, al
jmp 0x44903a
push esi
push edi
mov edi, 7
xor esi, esi
lea ebx, [ebx]
test byte [esp + 0x2c], 0x10
jne 0x44901f
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.004a9141
add esp, 4
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.00405640
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov dword [esp + 0x28c], esi
call fcn.0040dc30
cmp dword [esp + 0x28], 8
mov dword [esp + 0x288], 0xffffffff
jb 0x449012
mov edx, dword [esp + 0x14]
push edx
call fcn.004a7e92
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 0x448fb0
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.004a8b15
add esp, 0x27c
ret 8

Function at 0x449980
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov edx, 0x4cd308
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 0x449990
mov eax, 0x4cd350
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 0x4499b0
cmp eax, 0x4ce350
jl 0x4499a4
pop esi
ret
Function at 0x44fe90
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 0x45008b
push esi
push 0x10
call fcn.004a7960
xor esi, esi
add esp, 4
cmp eax, esi
je 0x44fec7
mov ecx, eax
call fcn.0044fe60
jmp 0x44fec9
xor eax, eax
cmp eax, esi
mov dword [0x50cfe4], eax
je 0x45008a
push esi
push esi
push esi
push esi
push esi
push 0x4529d0
mov ecx, eax
call fcn.0044fcd0
cmp dword [esp + 0x704], esi
jne 0x45008a
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 0x44ff56
push 0x208
lea eax, [esp + 0x2f4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x44ff56
lea ecx, [esp + 0x2f0]
push 0x5c
push ecx
call fcn.004aa640
add esp, 8
cmp eax, esi
je 0x44ff56
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 0x450075
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 0x44ff78
lea edi, [esp + 0x18]
add edi, 0xffffffff
jmp 0x44ff90
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x44ff90
mov eax, dword [str..fip]
mov cx, word [0x4ce8cc]
mov dword [edi], eax
lea edx, [esp + 0x1e4]
push edx
lea eax, [esp + 0x1c]
push eax
mov word [edi + 4], cx
call fcn.004aa6f1
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x450058
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 0x44ffd8
push 0x1cc
lea ecx, [esp + 0x1fc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004a7ef0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x450039
push str._Init_8
push esi
call ebp
test eax, eax
je 0x450032
mov ecx, dword [0x50cfe4]
push 0
push 0
push 0
push 0
push esi
push eax
call fcn.0044fcd0
jmp 0x450039
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [esp + 0x1e4]
push ecx
push edi
call fcn.004aa7d3
add esp, 8
cmp eax, 0xffffffff
jne 0x44ffd0
push edi
call fcn.004aa66d
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 1
add ebx, 4
cmp eax, dword [0x4fdd88]
mov dword [esp + 0x14], eax
jl 0x44ff70
pop edi
pop ebp
pop ebx
cmp dword [esp + 4], 0
je 0x45008a
lea edx, [esp + 0x4f8]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
pop esi
add esp, 0x6fc
ret
Function at 0x46a040
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.004a7989
mov edx, dword [esp + 0x10]
add esp, 4
test eax, eax
mov dword [edx], eax
jne 0x46a06b
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 0x46a0af
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 0x46a090
pop ebx
pop esi
mov al, 1
pop ebp
ret 8

Function at 0x46a0c0
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.004a7989
push edi
mov ebp, eax
call fcn.004a7989
add esp, 8
test ebp, ebp
mov dword [esp + 0x14], eax
je 0x46a16d
test eax, eax
je 0x46a16d
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 0x46a137
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 0x46a120
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.00450860
add esp, 0x10
test eax, eax
je 0x46a15b
xor bl, bl
jmp 0x46a176
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [edx], eax
mov dword [ecx], esi
jmp 0x46a172
mov byte [esp + 0x13], 0
mov bl, byte [esp + 0x13]
test ebp, ebp
je 0x46a183
push ebp
call fcn.004a8b23
add esp, 4
test bl, bl
jne 0x46a198
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46a198
push eax
call fcn.004a8b23
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret 8
Function at 0x46b290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c48b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x4d7438
xor ebx, ebx
mov eax, 7
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
push edi
mov dword [esp + 0xc], esi
mov word [esi + 8], bx
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x42], bl
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x4b], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov dword [esp + 0x18], ebx
mov word [esi + 0x68], bx
mov cl, 1
mov byte [esi + 0x80], bl
mov byte [esi + 0x81], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], cl
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
lea edi, [esi + 0xac]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
push str.form
mov byte [esp + 0x1c], cl
mov word [edi + 4], bx
call fcn.004a9141
add esp, 4
push eax
push str.form
mov ecx, edi
call fcn.00405640
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov byte [esi + 0xdc], bl
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret