joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461edc
Capabilities:
Encode data using xor

Disassembly:
push ds
push edx
pushfd
rol dword [edx], 1
push esi
bound esp, qword [ebx - 0x62]
xor eax, dword [eax - 0x37a23757]
and byte [edx + 0x4e], bl
pop esi
xchg esp, eax
add al, 3
neg dword [eax]
insb byte es:[di], dx
mov ebx, dword [0x1fbcb763]
and cl, byte [ebp + 0x26a8c96d]
lea ebp, [ebp - 0x37]
test al, 0x26
in eax, dx
lodsd eax, dword [esi]
in al, dx
pop ebp
rcr byte [edi], cl
sub dh, byte [esi]
lodsb al, byte [esi]
mov esp, 0xe4738863
jl 0x461de6
adc byte [esi - 0x46508897], 0x50
salc
int1
div byte [esi - 7]
cmp eax, dword [edx]
pop edi
push 0xa
pop es
xchg cl, bh
cwde
cmp eax, 0x65d78dde
invalid
loope 0x461e09
pop es
jp 0x461e54
adc byte [edx - 3], al
mov bl, byte [0xc39a1bb7]
jecxz 0x461e34
ret
cmpsb byte [esi], byte es:[edi]
dec eax
mov ecx, 0x82beb080
adc dword [esi + 0x43], 0xac1d9d1b
push es
sbb dword [ecx], esi
dec ebx
cmp dword [ebx + 0x42], edx
adc dword [esi], edx
ljmp 0x1514
test al, 0xc1
push ebx
adc al, 0x15
test dword [0x5d771343], ecx
push ebx
xchg ebx, eax
sbb dl, bl
mov esp, esi
aaa
and ebp, dword [ecx + 0x7c]
push edx
mov eax, dword [0x3cc728a6]
cmp byte [edx], dh
enter 0xffffffffffffce08, 0x3f
xchg edx, eax
rep lodsb al, byte gs:[esi]
clc
insd dword es:[edi], dx
in al, dx
pop ecx
test al, 0x94
out 0xf3, al
in eax, 0x11
jp 0x461e47
test al, 0x58
adc dl, byte [ebx + 0x4f]
or al, bh
out 0xc8, eax
or dword [ecx + ebp], ebp
xchg byte [edx - 0x4285296f], bl
xchg ecx, eax
salc
jp 0x461e70
push edx
fdivrp st(7)
pop eax
mov dl, byte [edx - 0x3fefeb9b]
loop 0x461f2c
neg dword [eax - 0x76]
xchg edx, eax
adc al, 0x10
shl dl, 0x6d
wait
pop ecx
xchg byte [edx + 0x3040b3f5], dl
aaa
pop edi
mov es, word [ebp + 0x6c]
dec esp
and al, 0x2b
inc eax
xor al, 0x94
mov ebx, 0xc0530386
sar byte [ebx], 0xf7
jno 0x461ed7
jl 0x461eaf
out dx, al
xchg byte [edi + edx*4 - 0x797eacd7], bl
or al, 0x9d
lodsb al, byte [esi]
xchg ebx, eax
enter 0x2862, 0x30
adc ah, byte [bx + di]
mov eax, dword [0x675fccbd]
salc
movsd dword es:[edi], dword [esi]
mov ebx, 0xa1d3a75
mov esi, 0x2d61c962
pop eax
mov cl, 0x97
shl ebp, cl
in ax, dx
das
call 0x857c2a1d
pushfd
out 0x2b, eax
lock and dword [edx + 0x156dba98], 0xe35d55ad
jns 0x461eb5
das
jecxz 0x461f67
fnstsw word [ebp - 0x43bf8373]
fdivr dword [0xd1d32cd8]
push ss
sub al, 0xd3
rcl dword [esi]
cmp byte [bx + si], ch
loope 0x461f71
push ds
salc
fdivr dword [edi + 0x7d13a2f1]
jae 0x461f0a
bound ebp, qword [eax + esi*8 - 0x6aa2449f]
pop esp
mov bh, 0x23
push edi
scasb al, byte es:[edi]
dec esi
fld qword [eax]
pop ds
add dword ds:[edi], esp
aaa
sar cl, 1
paddb mm7, qword [eax - 0x6a423b25]
wait
push edi
fst dword [edx - 0x4853cffe]
and dword [ecx + 0x5f], ecx
xchg edi, eax
sti
hlt
mov bh, 0xfe
idiv ecx
test eax, 0x723dfb0d
test al, 0xcf
invalid
Function at 0x62cc4c
Capabilities:
Encode data using xor

Disassembly:
sti
salc
xor eax, 0xefdb437
shl byte [0xf8968b09], cl
fst qword [ebp + edi*8 + 0x1a]
mov al, al
mov byte [0xdb302a89], al
push esi
pop es
inc ecx
fisubr word [esi + 0x2953dc80]
sub dword [ecx + 0x4d], esi
lds edi, [ebp*4 + 0x465cb817]
invalid
and bh, bl
cld
push edi
cmp ch, 0xf7
jbe 0x62cbb2
inc esp
daa
outsb dx, byte [esi]
mov eax, dword [0x65ad444d]
push edx
jnp 0x62cc07
call 0x7f4725f
jbe 0x62ccbc
xchg esi, eax
sar byte [0xedf6d016], 0xd7
dec eax
clc
mov byte [0xb8ae5b36], al
sbb al, 0xf6
shr byte [ebx - 0x2c], 1
adc byte [eax + 0x36], al
test byte [ecx + 0x44], dl
invalid
mov al, 0x67
ret 0xf320
Function at 0x4011de
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4538
call fcn.0040a790
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x137]
push 0
push eax
mov edi, edx
mov ebx, ecx
mov byte [ebp - 0x138], 0
call fcn.00403ab0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x138]
push eax
push ebx
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 4], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 8]
test eax, eax
je 0x401318
xor ecx, ecx
mov esi, ecx
test eax, eax
je 0x401318
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4538]
push eax
push esi
push ebx
mov dword [ebp - 4], 0x3fff
mov byte [ebp - 0x4538], cl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x401306
lea eax, [ebp - 0x4538]
push edi
push eax
call fcn.00403440
pop ecx
pop ecx
test eax, eax
jne 0x401313
push 0x3ff
push eax
mov byte [ebp - 0x538], al
lea eax, [ebp - 0x537]
push eax
mov dword [ebp - 0x18], 1
call fcn.00403ab0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x4538]
push eax
push ebx
mov dword [ebp - 0x10], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401306
lea eax, [ebp - 0x538]
push edi
push eax
call fcn.00403440
pop ecx
pop ecx
test eax, eax
jne 0x401313
inc esi
cmp esi, dword [ebp - 8]
jae 0x401318
xor ecx, ecx
jmp 0x40126c
xor eax, eax
inc eax
jmp 0x40131a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40131f
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
and dword [ebp - 8], 0
push ebx
push esi
push edi
push str.IsWow64Process
push str.kernel32
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40135b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push str.SYSTEMCurrentControlSetControlSession_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x401429
push 0x3ff
lea eax, [ebp - 0x417]
push 0
push eax
mov dword [ebp - 0x14], 7
mov byte [ebp - 0x418], 0
call fcn.00403ab0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
mov esi, eax
call edi
test esi, esi
jne 0x401429
mov eax, dword [ebp - 0xc]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x418]
test eax, eax
je 0x401429
push ebx
push esi
call fcn.00403440
pop ecx
pop ecx
test eax, eax
jne 0x40146a
push esi
call fcn.004033b0
mov ecx, dword [ebp - 4]
inc ecx
add ecx, eax
push esi
mov dword [ebp - 4], ecx
call fcn.004033b0
inc eax
add esi, eax
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
cmp dword [ebp - 4], eax
jb 0x4013fa
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call esi
test eax, eax
jne 0x401471
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.004011de
push dword [ebp - 4]
test eax, eax
je 0x40146f
call edi
xor eax, eax
inc eax
jmp 0x4014ae
call edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000001
call esi
test eax, eax
jne 0x4014ac
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.004011de
push dword [ebp - 4]
test eax, eax
jne 0x401468
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014b3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [ebp - 4], 1
call fcn.004033b0
cmp byte [eax + esi - 1], 0x5c
pop ecx
je 0x4014d7
mov word [eax + esi], 0x5c
mov ebx, dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, str.LMIR
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.004033b0
mov edi, eax
pop ecx
cmp edi, 4
jbe 0x401500
push 4
pop edi
push esi
call fcn.004033b0
mov esi, dword [ebp - 4]
add edi, eax
pop ecx
add edi, ebx
push esi
push str._04X.tmp
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
push str.LMIR
inc esi
call fcn.004033b0
mov ecx, edi
add esp, 0x10
sub ecx, eax
call fcn.0040131f
test eax, eax
jne 0x40154f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40155e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401557
cmp esi, 0xffff
jl 0x40150e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x401559
Function at 0x401563
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi], 2
jge 0x4016b3
mov esi, dword [ebp + 8]
cmp dword [edi], 0
mov byte [ebx], 0
mov byte [esi], 0
jne 0x401617
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401609
push str.SHGetSpecialFolderPathA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4015b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401609
push 0
push 0x1c
push ebx
push 0
call eax
test eax, eax
je 0x4015af
push 0x40eed4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Applet
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4015f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4015af
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.004033b0
pop ecx
test eax, eax
jne 0x401627
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x401623
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40169a
cmp eax, 0x103
ja 0x40169a
mov esi, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.004014b3
pop ecx
test eax, eax
jne 0x401643
push 2
pop eax
jmp 0x4016a0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
test eax, eax
jne 0x4016af
push ebx
call esi
push str.MoveFileExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
push dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x110]
xor edx, edx
push esi
push eax
inc edx
xor ecx, ecx
call section..text
pop ecx
pop ecx
push 3
pop eax
jmp 0x40169d
xor eax, eax
inc eax
mov esi, dword [ebp + 8]
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, 2
jl 0x40157f
jmp 0x4016b6
xor eax, eax
jmp 0x4016b6
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402d59
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [0x412b54]
mov esi, eax
test esi, esi
jne 0x402d7f
inc eax
jmp 0x402e55
push edi
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x208
lea eax, [ebp - 0x30c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push eax
push 0x413ca0
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x618]
push str.__s___service__sid___s___wd___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0xf01ff
push 0x413ce0
push esi
call dword [0x412b70]
mov edi, eax
test edi, edi
jne 0x402e16
push ebx
push ebx
push 0x40f368
push ebx
push ebx
lea eax, [ebp - 0x618]
push eax
push 1
push 3
push 0x10
push 0xf01ff
push 0x413de0
push 0x413ce0
push esi
call dword [0x412b68]
mov edi, eax
test edi, edi
je 0x402e4b
push ebx
push ebx
push edi
call dword [0x412b6c]
test eax, eax
jne 0x402e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x402e41
xor ebx, ebx
cmp eax, 0x420
setne bl
lea ebx, [ebx*2 + 2]
jmp 0x402e44
push 3
pop ebx
push edi
call dword [0x412b4c]
push esi
call dword [0x412b4c]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402f9f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040a790
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
lea edi, [esi + 0x10]
cmp ebx, 0x1c
jb 0x403090
cmp dword [esi], 0x80000001
jne 0x403090
and dword [ebp - 8], 0
cmp dword [esi + 4], 0
jbe 0x403082
mov edx, dword [edi]
mov ecx, edx
jmp 0x402fe6
cmp byte [ecx + esi], 0
je 0x402fed
inc ecx
mov dword [ebp - 4], ecx
cmp ebx, ecx
ja 0x402fdf
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
cmp ebx, eax
jb 0x403090
cmp ebx, ecx
je 0x403090
lea eax, [edx + esi]
push eax
lea eax, [ebp - 0x100c]
push eax
mov byte [ebp - 0x100c], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, 0xffffffff
je 0x403090
push 0
lea eax, [ebp - 4]
push eax
push dword [edi + 8]
mov eax, dword [edi + 4]
add eax, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403087
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 8]
jne 0x403087
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
inc eax
add edi, 0xc
mov dword [ebp - 8], eax
cmp eax, dword [esi + 4]
jb 0x402fd9
xor eax, eax
inc eax
jmp 0x40309a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4076f0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x411a78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00404319
mov dword [ebp - 0x14], eax
cmp dword [0x4127f4], edi
jne 0x4077e1
push 0x800
push edi
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40776e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4078c1
push 0x40c080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4078c1
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4078c1
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4127f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4127f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4127fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412804], eax
test eax, eax
je 0x4077de
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x412800], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x407806
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4077f9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40781b
push 4
pop eax
jmp 0x4078c3
cmp dword [ebp - 0x14], edi
je 0x40781b
push dword [0x4127f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x407800
mov eax, dword [0x412800]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x407879
cmp dword [0x412804], esi
je 0x407879
push eax
call ebx
push dword [0x412804]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x407879
test eax, eax
je 0x407879
call ecx
test eax, eax
je 0x40786e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40786e
test byte [ebp - 8], 1
jne 0x407879
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4078a9
mov eax, dword [0x4127f8]
cmp eax, esi
je 0x4078a6
push eax
call ebx
test eax, eax
je 0x4078a6
call eax
mov edi, eax
test edi, edi
je 0x4078a6
mov eax, dword [0x4127fc]
cmp eax, esi
je 0x4078a6
push eax
call ebx
test eax, eax
je 0x4078a6
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4127f4]
call ebx
test eax, eax
je 0x4078c1
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4078c3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407542
leave
ret
Function at 0x405c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x509cf8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], 0x521ed8
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004cd5fd
mov dword [eax + 0x24], fcn.004cf7ca
mov dword [eax + 0x28], fcn.004cd520
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], 0x5220a4
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x406060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x509cf8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], 0x521ed8
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004cd5fd
mov dword [eax + 0x24], fcn.004cf7ca
mov dword [eax + 0x28], fcn.004cd520
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], 0x522138
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x40a0e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50a021
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
xor ebx, ebx
lea edi, [esi + 0x34]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004024a0
lea edi, [esi + 0x14c]
mov dword [esp + 0x2c], ebx
call fcn.004024a0
lea edi, [esi + 0x264]
call fcn.004024a0
lea edi, [esi + 0x37c]
call fcn.004024a0
lea edi, [esi + 0x494]
call fcn.004024a0
lea ebp, [esi + 0x5b0]
xor eax, eax
mov dword [ebp], 0x52c59c
mov dword [ebp + 4], ebx
mov dword [ebp + 0x210], 1
mov word [ebp + 8], ax
lea edi, [esi + 0x7c4]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], fcn.004cd5fd
mov dword [edi + 0x14], fcn.004cf7ca
mov dword [edi + 0x18], fcn.004cd520
lea ecx, [esi + 0x7e0]
call fcn.004392f0
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov byte [esp + 0x2c], 8
mov edx, dword [ebp]
mov edx, dword [edx + 4]
push 0x522970
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call edx
test al, al
jne 0x40a1e7
lea ecx, [esp + 0x18]
call fcn.00438720
mov dword [esi + 0x5ac], ebx
call fcn.00413570
call fcn.00413400
lea ecx, [esp + 0x18]
call fcn.00438670
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x41d060
Capabilities:
Create thread

Disassembly:
sub esp, 0x44
push esi
push edi
xor edi, edi
push 0x40
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esp + 0x14], edi
call fcn.004d4670
push edi
push edi
push edi
push 0x41c920
push edi
push edi
call fcn.004d1381
push edi
push edi
push edi
push 0x41c950
push edi
push edi
mov dword [esp + 0x44], eax
call fcn.004d1381
push edi
push edi
push edi
push 0x41cb80
push edi
push edi
mov dword [esp + 0x60], eax
call fcn.004d1381
add esp, 0x54
push edi
push edi
push edi
push 0x41cbb0
push edi
push edi
mov dword [esp + 0x28], eax
call fcn.004d1381
push edi
push edi
push edi
push 0x41cbe0
push edi
push edi
mov dword [esp + 0x44], eax
call fcn.004d1381
push edi
push edi
push edi
push 0x41ca90
push edi
push edi
mov dword [esp + 0x60], eax
call fcn.004d1381
add esp, 0x48
push edi
push edi
push edi
push 0x41cac0
push edi
push edi
mov dword [esp + 0x34], eax
lea esi, [edi + 6]
call fcn.004d1381
add esp, 0x18
mov dword [esp + 0x20], eax
lea esp, [esp]
push edi
push edi
push edi
push 0x41caf0
push edi
push edi
inc esi
call fcn.004d1381
add esp, 0x18
mov dword [esp + esi*4 + 8], eax
cmp esi, 9
jb 0x41d110
push edi
push edi
push edi
push 0x41cb50
push edi
push edi
inc esi
call fcn.004d1381
push edi
push edi
push edi
push 0x41cb20
push edi
mov dword [esp + esi*4 + 0x34], eax
push edi
inc esi
call fcn.004d1381
push edi
push edi
push edi
push 0x41cc10
push edi
mov dword [esp + esi*4 + 0x4c], eax
push edi
inc esi
call fcn.004d1381
add esp, 0x48
push edi
push edi
push edi
push 0x41cc40
push edi
mov dword [esp + esi*4 + 0x1c], eax
push edi
inc esi
call fcn.004d1381
push edi
push edi
push edi
push 0x41cc70
push edi
mov dword [esp + esi*4 + 0x34], eax
push edi
inc esi
call fcn.004d1381
push edi
push edi
push edi
push 0x41cca0
push edi
mov dword [esp + esi*4 + 0x4c], eax
push edi
inc esi
call fcn.004d1381
add esp, 0x48
push edi
push edi
push edi
push 0x41cfc0
push edi
mov dword [esp + esi*4 + 0x1c], eax
push edi
inc esi
call fcn.004d1381
add esp, 0x18
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + esi*4 + 0x18], eax
call dword [0x51319c]
push 0x549858
call dword [0x51315c]
mov edx, dword [esp + esi*4 + 8]
push 0xffffffffffffffff
push edx
mov byte [0x547a96], 1
call dword [0x513160]
inc esi
cmp esi, edi
jle 0x41d20d
push ebx
mov ebx, dword [0x51313c]
lea esp, [esp]
mov eax, dword [esp + edi*4 + 0xc]
push eax
call ebx
inc edi
cmp edi, esi
jl 0x41d200
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x44
ret