joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, ecx
mov esi, 1
mov eax, dword [edi + 4]
test eax, eax
je 0x41ab04
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x41ab15
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 4], eax
test eax, eax
jne 0x41ab2f
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
je 0x41ab2f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
test eax, eax
je 0x41ab3f
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x41ab50
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 8], eax
test eax, eax
jne 0x41ab61
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
jne 0x41ab26
cmp dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
je 0x41ab74
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x41aa90
push 0
push 0
call fcn.00440e5d
add esp, 0x18
mov dword [edi + 0xc], eax
test eax, eax
je 0x41ab9e
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
test eax, eax
cmovne esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1c7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi], 0x45522c
mov dword [esi + 4], 0x4551f8
mov dword [esi + 8], 0x45520c
mov dword [esi + 0xc], 0x4551e4
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push 8
mov dword [esi + 0x44], 0
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x50], ecx
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 3
add esp, 8
mov word [eax], cx
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.0040ba90
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0x54fffc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e20e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
push dword [esi + 0xcc]
call fcn.004411c8
push dword [esi + 0xc0]
call fcn.004411c8
push dword [esi + 0x9c]
call fcn.004411c8
push dword [esi + 0x90]
call fcn.004411c8
push dword [esi + 0x30]
call fcn.004411c8
push dword [esi + 0x24]
call fcn.004411c8
push dword [esi + 0x18]
call fcn.004411c8
mov ecx, dword [esi + 0xc]
add esp, 0x1c
test ecx, ecx
je 0x422fa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x422fb5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x422fc6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x422fd9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4240e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x45a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x14]
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044108a
mov ebx, eax
mov eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
inc eax
add eax, eax
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x24], ebx
push ebx
mov dword [ebp - 0x20], edi
call fcn.00445a90
add esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [eax + 4], ecx
jbe 0x42427d
mov esi, edi
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
mov eax, esi
mov edx, dword [ecx + 4]
sub eax, edi
mov dword [ebp - 0x14], ecx
cmp edx, eax
jbe 0x4241ed
lea ecx, [edi + edx]
mov eax, ecx
shr eax, 1
add eax, 0x10
add eax, ecx
and eax, 0xfffffff0
dec eax
cmp eax, edi
jb 0x424191
cmp eax, 0x3ffffffe
jbe 0x424196
mov eax, 0x3ffffffe
cmp eax, edi
jbe 0x42429a
mov ecx, eax
sub ecx, edi
cmp ecx, edx
jb 0x42429a
dec eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044108a
lea ecx, [edi*2 + 2]
push ecx
mov esi, eax
push ebx
push esi
call fcn.00445a90
push ebx
call fcn.004411c8
mov ecx, dword [ebp - 0x14]
mov ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ecx + 4]
lea eax, [eax*2 + 2]
push eax
push dword [ecx]
lea eax, [ebx + edi*2]
push eax
call fcn.00445a90
mov eax, dword [ebp - 0x14]
add esp, 0xc
add edi, dword [eax + 4]
cmp byte [0x45c151], 0
mov dword [ebp - 0x20], edi
jne 0x424239
mov edx, ebx
lea ecx, [ebp - 0x30]
call fcn.004096f0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x30]
call fcn.004411c8
add esp, 4
jmp 0x424242
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, edi
jne 0x424257
lea ecx, [ebp - 0x24]
call fcn.00408f90
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, 0x5c
mov word [ebx + edi*2], ax
inc edi
xor eax, eax
mov word [ebx + edi*2], ax
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 4]
jb 0x424163
push ebx
call fcn.004411c8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x456828
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x13329ac
call fcn.0044443a
int3
Function at 0x4249c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e6c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi], 0x455374
mov dword [edi + 8], 0
push 8
mov dword [edi + 0xc], 0
call fcn.0044108a
xor ecx, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 3
add esp, 4
mov word [eax], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x44], ecx
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
call fcn.00408630
mov word [edi + 0x60], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 0
push 0
push 1
mov byte [ebp - 4], 3
push 0
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x44], eax
test eax, eax
jne 0x424ab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x424ab2
push 0x456828
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x145ecb
call fcn.0044443a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4256e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e67d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi], 0x4553a8
mov dword [esi + 4], 0x4553c8
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [esi + 0x10], 0
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ecx
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x28], ecx
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov dword [esi + 0x4c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [esi + 0x50], ecx
call fcn.0044108a
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 3
add esp, 0x10
mov word [eax], cx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 5
call fcn.004249c0
mov byte [ebp - 4], 6
push 8
mov dword [esi + 0xec], 0
call fcn.0044108a
add esp, 4
mov dword [esi + 0xec], eax
xor ecx, ecx
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x45a050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor edx, edx
mov dword [ebp - 0x84], 0x420041
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x42633d
lea esp, [esp]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x426338
inc eax
cmp eax, 0x40
jb 0x426316
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440876
mov esp, ebp
pop ebp
ret
inc edx
cmp edx, esi
jl 0x426310
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00440876
mov esp, ebp
pop ebp
ret
Function at 0x426420
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44eb30
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x45a050]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x45a050]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x80]
push esi
mov dword [esp + 0x1c], eax
push 0x454508
mov dword [esp + 0x20], 0
call dword [0x454508]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4264a4
push 0x456828
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 1
call fcn.0044443a
mov dword [esp + 0x18], esi
push edi
mov dword [esp + 0x7c], 0
push dword [esp + 0x14]
lea esi, [ebx + 0x80]
push esi
call fcn.00445a90
mov eax, dword [0x45af30]
mov dword [ebx], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add esp, 0xc
mov edx, esi
push edi
mov ecx, ebx
mov dword [ebx + 0x20], 0x6a09e667
mov dword [ebx + 0x24], 0xbb67ae85
mov dword [ebx + 0x28], 0x3c6ef372
mov dword [ebx + 0x2c], 0xa54ff53a
mov dword [ebx + 0x30], 0x510e527f
mov dword [ebx + 0x34], 0x9b05688c
mov dword [ebx + 0x38], 0x1f83d9ab
mov dword [ebx + 0x3c], 0x5be0cd19
call fcn.00408420
xorps xmm0, xmm0
lea edx, [esp + 0x48]
mov ecx, ebx
mov byte [esp + 0x48], 0
movq qword [esp + 0x49], xmm0
movq qword [esp + 0x51], xmm0
movq qword [esp + 0x59], xmm0
mov dword [esp + 0x61], 0
mov word [esp + 0x65], 0
mov byte [esp + 0x67], 0
call fcn.004084d0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00440600
lea eax, [edi + 0x80]
push eax
push 0
push ebx
mov byte [esp + 0x84], 1
call fcn.00445020
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.00426390
cmp dword [eax + 0x14], 0x10
jb 0x4265ae
mov eax, dword [eax]
cmp dword [esp + 0x44], 0x10
mov edi, dword [esp + 0x2c]
mov ecx, 0x10
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jb 0x4265ce
push dword [esp + 0x30]
call fcn.004411cd
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4265df
push eax
call fcn.004411cd
add esp, 4
push ebx
push 0x454508
mov dword [esp + 0x80], 0xffffffff
call dword [0x45450c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00440876
mov esp, ebp
pop ebp
ret 8
Function at 0x426620
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45a050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, edx
mov dword [ebp - 0x214], ecx
call fcn.00445020
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x426708
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4266bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4266d1
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
push dword [esi]
mov dword [ebp - 0x218], 0
call fcn.0044108a
mov ecx, dword [ebp - 0x214]
add esp, 4
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00440876
mov esp, ebp
pop ebp
ret
Function at 0x446737
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45a050]
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.00443cbf
mov dword [ebp - 0x14], eax
cmp dword [0x45c0f4], edi
jne 0x446828
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4467b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x446908
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x446908
push 0x452e28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446908
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x45c0f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x45c0f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x45c0fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45c104], eax
test eax, eax
je 0x446825
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45c100], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44684d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x446840
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x446862
push 4
pop eax
jmp 0x44690a
cmp dword [ebp - 0x14], edi
je 0x446862
push dword [0x45c0f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x446847
mov eax, dword [0x45c100]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4468c0
cmp dword [0x45c104], esi
je 0x4468c0
push eax
call ebx
push dword [0x45c104]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4468c0
test eax, eax
je 0x4468c0
call ecx
test eax, eax
je 0x4468b5
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 0x4468b5
test byte [ebp - 8], 1
jne 0x4468c0
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4468f0
mov eax, dword [0x45c0f8]
cmp eax, esi
je 0x4468ed
push eax
call ebx
test eax, eax
je 0x4468ed
call eax
mov edi, eax
test edi, edi
je 0x4468ed
mov eax, dword [0x45c0fc]
cmp eax, esi
je 0x4468ed
push eax
call ebx
test eax, eax
je 0x4468ed
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x45c0f4]
call ebx
test eax, eax
je 0x446908
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44690a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440876
leave
ret
Function at 0xd33850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push 0x80000000
call edi
test eax, eax
jne 0xd338ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xd5e720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd338ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00d441e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push 0x80000000
call edi
test eax, eax
jne 0xd338ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xd5e720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd3392a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00d45082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd33957
mov word [eax], si
add eax, 2
push eax
call fcn.00d45030
add esp, 4
jmp 0xd33959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd338ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd338b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd33ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xd378f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xd37921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xd37946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xd3796e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xd37993
push ecx
push esi
call fcn.00d374c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xd3ef90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push 0x80000003
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xd3effb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xd3f035
lea edx, [esp + 0x10]
push esi
push edx
push 0x80000003
call fcn.00d3ee00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push 0x80000003
call ebx
test eax, eax
je 0xd3efc5
mov edi, 0xd598b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xd3f035
mov edx, dword [edi]
push esi
push edx
push 0x80000002
call fcn.00d3ee00
add edi, 4
add esp, 0xc
cmp edi, 0xd598c0
jb 0xd3f000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xd3f070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00d45082
mov esi, eax
add esp, 8
test esi, esi
je 0xd3f107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xd3f102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00d44946
add esp, 8
test eax, eax
je 0xd3f0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xd3f0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00d44946
add esp, 8
test eax, eax
jne 0xd3f0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xd3f102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret