joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ffce
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x4945d4
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x43008d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0x104
push esi
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 8
mov dword [ebp - 8], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], ebx
je 0x430074
cmp eax, ebx
je 0x430067
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4945e4
push dword [ebp - 8]
call esi
push 0x4945f4
push dword [ebp - 0xc]
call esi
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 8]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], ebx
je 0x430086
push dword [ebp - 0xc]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
jmp 0x4301aa
push 0x21
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
push 0x210
push 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov dword [ebp - 8], eax
cmp esi, ebx
je 0x430188
cmp eax, ebx
je 0x430179
mov dword [ebp - 0xc], ebx
cmp byte [ebp - 1], bl
jne 0x430179
push 8
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x210
push edi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
call fcn.0044bcb0
mov al, byte [ebp - 0xc]
add esp, 0xc
push ebx
mov byte [esi + 0xc], al
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [ebp - 8]
push edi
push 0x20
push esi
push 0x7c088
push dword [ebp - 0x10]
mov dword [esi], 0x200
mov dword [esi + 4], 0x10100
mov word [esi + 8], 0xa000
mov byte [esi + 0xa], 0xec
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43016c
add edi, 0x24
mov eax, edi
call fcn.0042ffb7
push 0x31
push ebx
push dword [ebp + 8]
call fcn.0044bcb0
push 0x14
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0044ab60
push edi
call fcn.00430887
movsx ax, byte [edi]
movzx eax, ax
add esp, 0x1c
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x43016c
mov byte [ebp - 1], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jl 0x4300c8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], ebx
je 0x43019e
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430497
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4304c6
xor al, al
jmp 0x43058c
mov eax, dword [0x4a5060]
xor edi, edi
cmp eax, edi
jne 0x4304ee
push 0x494624
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4a5060], eax
cmp eax, 0x20
jae 0x4304ee
mov dword [0x4a5060], edi
jmp 0x4304bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4a5064], edi
jne 0x43050d
push 0x494634
push eax
call esi
mov dword [0x4a5064], eax
cmp eax, edi
je 0x4304bf
push 0x4a3f14
push 0x4a3f10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x4a5064]
cmp dword [0x4a5068], edi
jne 0x430546
push 0x494648
push dword [0x4a5060]
call esi
mov dword [0x4a5068], eax
cmp eax, edi
je 0x4304bf
cmp dword [0x4a506c], edi
jne 0x430568
push 0x49465c
push dword [0x4a5060]
call esi
mov dword [0x4a506c], eax
cmp eax, edi
je 0x4304bf
cmp dword [0x4a5070], edi
jne 0x43058a
push 0x494670
push dword [0x4a5060]
call esi
mov dword [0x4a5070], eax
cmp eax, edi
je 0x4304bf
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044a7da
leave
ret

Function at 0x430a89
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push ecx
push dword [edi + 4]
mov dword [ebp - 0x38], ecx
push edx
lea ecx, [ebp - 0x24]
push ebx
push ecx
lea esi, [ebp - 0x40]
call fcn.00431007
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x14
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x1e
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call esi
push 0
lea eax, [ebp - 0x34]
push eax
movzx eax, word [ebp - 0xa]
push eax
push ebx
push dword [edi]
call esi
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x12]
push dword [ebp - 0x28]
push dword [edi]
call esi
cmp dword [ebp - 0x38], 0
jne 0x430afd
push dword [ebp - 0x28]
call fcn.0044c187
pop ecx
lea ecx, [edi + 8]
lea eax, [ebp - 0x40]
call fcn.004311dd
movzx ecx, word [ebp - 0xa]
mov edx, dword [ebp - 0x12]
lea eax, [ecx + edx + 0x1e]
add dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
lea ecx, [ecx + edx + 0x1e]
add eax, dword [ebp - 0x30]
pop esi
sub eax, ecx
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0044a7da
leave
ret
Function at 0x430b5c
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
jne 0x430ba1
xor al, al
jmp 0x430c79
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x430bb9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x430b9a
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push dword [edi + 4]
mov dword [ebp - 0x44], eax
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x4c]
call fcn.00431007
add esp, 0x14
push dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x1e
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call esi
push ebx
lea eax, [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0xa]
push eax
push dword [ebp - 0x2c]
push dword [edi]
call esi
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x12]
push dword [ebp - 0x28]
push dword [edi]
call esi
push dword [ebp - 0x28]
call fcn.0044c187
pop ecx
lea ecx, [edi + 8]
lea eax, [ebp - 0x4c]
call fcn.004311dd
movzx ecx, word [ebp - 0xa]
mov edx, dword [ebp - 0x12]
lea eax, [ecx + edx + 0x1e]
add dword [edi + 4], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
lea ecx, [ecx + edx + 0x1e]
add eax, dword [ebp - 0x38]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret
Function at 0x430c87
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [edi + 8]
mov eax, dword [esi + 4]
sub eax, dword [esi]
xor ebx, ebx
sar eax, 3
mov dword [ebp - 0x20], ebx
test eax, eax
je 0x430cef
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*8]
push 0
lea ecx, [ebp - 0x24]
push ecx
push dword [eax + 4]
push dword [eax]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
push dword [eax + ecx*8]
call fcn.0044c187
mov eax, dword [esi]
pop ecx
mov ecx, dword [ebp - 0x20]
add ebx, dword [eax + ecx*8 + 4]
mov ecx, dword [esi + 4]
inc dword [ebp - 0x20]
sub ecx, eax
sar ecx, 3
cmp dword [ebp - 0x20], ecx
jb 0x430cad
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
push dword [edi + 4]
sar ecx, 3
push ebx
lea eax, [ebp - 0x1c]
call fcn.0043118f
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x24]
push eax
push 0x16
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004313b1
push edi
call fcn.0044a602
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret
Function at 0x4388d2
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x43892c
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
push edi
push edi
push 4
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
push dword [esi + 8]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop ebp
ret 4

Function at 0x439dad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, eax
test edx, edx
jne 0x439db8
xor eax, eax
pop edi
ret
or eax, 0xffffffff
push esi
mov ecx, 0xff
cmp edi, 8
jb 0x439e6d
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x488c80]
add edx, 8
sub edi, 8
dec esi
jne 0x439dd0
pop ebx
test edi, edi
je 0x439e86
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x488c80]
inc edx
dec edi
jne 0x439e71
pop esi
not eax
pop edi
ret

Function at 0x439e8b
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor ebx, ebx
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, 0xc0000000
push edi
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
jne 0x439ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x439ed0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffa
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 2
push ebx
push ebx
push edi
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43a4ae
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43a4e1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x43a4e5
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], ecx
test eax, eax
jne 0x43a521
xor eax, eax
jmp 0x43a6c5
lea eax, [ebp - 0x418]
push eax
push 0x479768
push 1
push 0
push 0x47bc78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43a51a
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
lea edx, [ebp - 0x41c]
push edx
push 0x47ab58
push eax
call dword [ecx]
test eax, eax
jns 0x43a569
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43a51a
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test edi, edi
jne 0x43a57d
push dword [0x4a30f8]
jmp 0x43a57e
push edi
push eax
call dword [ecx + 0x50]
test esi, esi
je 0x43a593
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
cmp word [ebp + 0x18], 0
je 0x43a5a9
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test ebx, ebx
je 0x43a5ba
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push 0x477890
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x420], 0
je 0x43a606
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x424]
push 0x477884
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x43a67a
push 0x5c
test edi, edi
je 0x43a60f
push edi
jmp 0x43a615
push dword [0x4a30f8]
call fcn.0044bd2a
pop ecx
pop ecx
test eax, eax
jne 0x43a631
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43a55b
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push 0x477884
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044b232
add esp, 0x14
push 0x6c
pop ecx
push 0x6e
mov word [ebp + eax*2 - 0x212], cx
pop ecx
push 0x6b
mov word [ebp + eax*2 - 0x210], cx
pop ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0044bd89
mov eax, dword [ebp - 0x41c]
pop ecx
pop ecx
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x414]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret
Function at 0x43a6d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4a2e00], 0
push ebx
push esi
push edi
mov ebx, 0x4a2e00
jne 0x43a748
and dword [ebp - 0xc], 0
mov esi, 0x477824
push esi
mov dword [ebp - 8], 0x40
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x43a718
xor eax, eax
jmp 0x43a72e
lea edi, [eax + eax]
mov eax, edi
call fcn.0044c350
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004113b2
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x4778b4
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a7da
leave
ret

Function at 0x43ad66
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x250]
push eax
xor esi, esi
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x477aa0
mov edi, 0x104
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0044c112
lea eax, [ebp - 0x250]
push eax
call fcn.004021cc
push 0x477a7c
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0044c112
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.00401dc5
add esp, 0x24
test al, al
je 0x43ae45
xor eax, eax
push 0x40
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push esi
push eax
call fcn.0044bcb0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00401be9
lea eax, [ebp - 0x48]
push eax
call fcn.0044b232
add esp, 0x18
push eax
lea eax, [ebp - 0x48]
push eax
push dword [0x4a2edc]
mov ecx, 0x4a2ecc
push esi
call fcn.00405db5
test eax, eax
jne 0x43ae45
lea eax, [ebp - 0x250]
push eax
call fcn.0044b232
pop ecx
push eax
lea eax, [ebp - 0x250]
push eax
mov ecx, ebx
call fcn.0040324a
jmp 0x43aef1
lea eax, [ebp - 0x650]
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x65c]
push 0x4a2e40
push eax
mov dword [ebp - 0x65c], esi
mov dword [ebp - 0x658], 0x200
call fcn.0040502b
lea eax, [ebp - 0x65c]
push 0x477a5c
push eax
call fcn.004031a5
mov ecx, dword [ebp - 0x654]
mov edx, dword [ebp - 0x65c]
add esp, 0x10
push esi
push esi
xor eax, eax
push esi
mov word [ecx + edx*2], ax
push esi
lea eax, [ebp - 0x250]
push eax
push 0x4778cc
push dword [ebp - 0x654]
call fcn.0043a6d4
push eax
call fcn.0043a3a0
lea eax, [ebp - 0x250]
push eax
call fcn.0044b232
add esp, 0x24
push eax
lea eax, [ebp - 0x250]
push eax
mov ecx, ebx
call fcn.0040324a
lea eax, [ebp - 0x650]
cmp dword [ebp - 0x654], eax
je 0x43aef1
push dword [ebp - 0x654]
call fcn.0044c187
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret

Function at 0x43bae6
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x43baf7
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x43c426
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
movzx eax, word [ebp + 8]
push 0x477f58
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x43c4fa
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
cmp eax, edi
je 0x43c4fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43c4fa
push dword [ebp + 8]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, edi
je 0x43c4fa
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x43c4ec
push dword [ebp + 8]
push dword [ebp - 4]
push eax
call fcn.0044a7f0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push edi
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x43c4ec
cmp dword [ebp + 8], edi
je 0x43c4ec
push edi
push dword [ebp + 8]
call fcn.0040bc8c
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
je 0x43c4ec
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
je 0x43c4ec
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x43c5fe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
and dword [eax], 0
cmp dword [ebp + 8], 0x112
push esi
push edi
mov esi, ecx
jne 0x43c62e
cmp dword [ebp + 0xc], 0xf020
jne 0x43c62e
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [esi + 4]
call edi
push 0
jmp 0x43c63d
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 4]
call edi
push 5
push dword [esi + 0x230]
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x440ce7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440d2a
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret
Function at 0x44238c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00441bc1
mov ebx, eax
cmp ebx, esi
je 0x4423fd
lea ecx, [ebp - 0x214]
call fcn.00441b3e
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x44241b
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0044238c
cmp eax, esi
jne 0x442462
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x442405
lea ecx, [ebp - 0x214]
call fcn.00441b3e
push dword [ebp - 0x218]
mov ecx, edi
call fcn.00441abc
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00441b3e
mov eax, esi
jmp 0x4423ec
Function at 0x443775
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 2
push ebx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x408], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, ebx
jne 0x4437c8
call fcn.00441873
mov esi, eax
jmp 0x443866
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4437de
call fcn.00441873
jmp 0x443858
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x4437d7
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44380e
mov esi, 0x8007000e
jmp 0x44385a
push eax
lea ecx, [ebp - 0x408]
call fcn.00442a5b
cmp dword [ebp - 0x408], ebx
je 0x443807
push esi
push dword [ebp - 0x408]
push esi
push edi
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x4437d7
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x414]
call fcn.004435f5
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x44387f
lea ecx, [ebp - 0x408]
call fcn.004422c3
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret 0x10