joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419280
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00434d00
add esp, 0xc
push 0x104
lea edx, [ebp - 0x414]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0x420], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 0x41c], eax
call fcn.004336e5
mov edx, dword [ebp - 0x41c]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x420]
push edi
push edx
push eax
lea ecx, [ebp - 0x414]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0x447790
push edi
mov dword [ebp - 0x418], 0
call sub.VERSION.dll_VerQueryValueW
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00434d00
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
lea eax, [ebp - 0x20c]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
call fcn.00434369
add esp, 0x28
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4193a2
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.004028a0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00434758
mov esp, ebp
pop ebp
ret
Function at 0x41a330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00401750
xor eax, eax
cmp byte [esi + 0xc4], al
setne al
sub esp, 0x1c
mov ecx, esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov edi, eax
shl eax, 4
sub eax, edi
lea ebx, [esi + eax*4]
lea eax, [ebx + 4]
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00402570
test byte [0x45bb9c], 1
jne 0x41a3a3
or dword [0x45bb9c], 1
mov ecx, 0x45bb94
call fcn.00404420
push 0x446300
call fcn.00435667
add esp, 4
mov ecx, 0x45bb94
call fcn.00404740
cmp dword [ebx + 0x34], 8
lea eax, [ebx + 0x20]
jb 0x41a3b8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [ebx + 0x14], 0
mov ecx, dword [esi + 0xc0]
mov dword [ebp - 0x20], ecx
je 0x41a3f2
push edi
lea eax, [ebx + 0x20]
push eax
lea eax, [ebx + 4]
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004017b0
add esp, 0x10
cmp eax, 1
jne 0x41a3f2
mov dword [ebx + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [ebx + 0x3c], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0xa4]
call fcn.00401750
mov esi, dword [edi + 0xa4]
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x80], ebx
je 0x41b3fa
lea esp, [esp]
mov ecx, dword [esi]
add ecx, ebx
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00413460
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp - 0x24]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
push 3
mov ecx, edi
call fcn.0041adf0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x78]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
test byte [0x45bb9c], 1
jne 0x41b31f
or dword [0x45bb9c], 1
mov ecx, 0x45bb94
call fcn.00404420
push 0x446300
call fcn.00435667
add esp, 4
mov ecx, 0x45bb94
call fcn.00404740
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x5c]
jae 0x41b335
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0x68], esi
je 0x41b390
mov edx, dword [ebp - 0x7c]
mov eax, dword [edi + 8]
push esi
push edx
push 0x8006
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004017b0
add esp, 0x10
cmp eax, 1
jne 0x41b390
mov edx, dword [edi + 0xa4]
mov eax, dword [edx]
mov dword [eax + ebx + 0x74], 1
jmp 0x41b39c
mov ecx, dword [edi + 0xa4]
mov edx, dword [ecx]
mov dword [edx + ebx + 0x74], esi
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x24]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
push 4
mov ecx, edi
call fcn.0041adf0
lea ecx, [ebp - 0x7c]
call fcn.0040b850
mov esi, dword [edi + 0xa4]
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
inc dword [ebp - 0x80]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, 0x78
cmp dword [ebp - 0x80], eax
jb 0x41b2a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret
Function at 0x41d900
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x20]
push eax
mov esi, ecx
call fcn.00418ea0
add esp, 4
push 7
push 0x44e30c
mov ecx, eax
call fcn.00404540
xor ecx, ecx
mov word [ebp - 0x3c], cx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
call fcn.004032e0
mov ebx, 8
cmp dword [ebp - 0xc], ebx
jb 0x41d964
mov edx, dword [ebp - 0x20]
push edx
call fcn.00433949
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], ebx
jae 0x41d96f
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x41dae8
mov eax, dword [esi + 0x1dc]
mov ecx, dword [esi + 0x1d8]
lea ebx, [esi + 0x1d8]
cmp ecx, eax
je 0x41d9ce
mov edx, dword [ebp - 0x290]
push edx
push ecx
push eax
push eax
call fcn.0041ba30
mov edx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebx + 0xc]
push ecx
push edx
push esi
call fcn.00413c80
add esp, 0x20
mov dword [ebx + 4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
jmp 0x41d9e0
test byte [ebp - 0x28c], 0x10
je 0x41dabe
mov ecx, 0x44e308
lea eax, [ebp - 0x260]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41da1e
test dx, dx
je 0x41da1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41da1e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d9f8
xor eax, eax
jmp 0x41da23
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dabe
mov ecx, 0x44e300
lea eax, [ebp - 0x260]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41da5c
test dx, dx
je 0x41da58
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41da5c
add eax, 4
add ecx, 4
test dx, dx
jne 0x41da36
xor eax, eax
jmp 0x41da61
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dabe
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x260]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41da82
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004028a0
lea edx, [ebp - 0x20]
push edx
mov ecx, ebx
call fcn.00419f70
cmp dword [ebp - 0xc], 8
jb 0x41dabe
mov eax, dword [ebp - 0x20]
push eax
call fcn.00433949
add esp, 4
mov edx, dword [ebp - 0x290]
lea ecx, [ebp - 0x28c]
push ecx
push edx
call esi
test eax, eax
jne 0x41d9e0
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebx, 8
cmp dword [ebp - 0x28], ebx
pop esi
pop ebx
jb 0x41dafb
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
test ecx, ecx
je 0x41de9a
push esi
push edi
movzx edi, byte [edx]
movzx esi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x459370]
inc edx
dec ecx
jne 0x41de82
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x41dfe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
mov ebx, 7
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
push 0x44dadc
mov ecx, esi
mov word [esi], ax
call fcn.004028a0
push 0x206
lea edx, [ebp - 0x20a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x20c], cx
call fcn.00434d00
mov al, byte [ebp + 0xc]
add esp, 0xc
test al, 1
je 0x41e066
push edi
push edi
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e056
jmp 0x41e1ab
test al, 2
je 0x41e181
push edi
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x110
lea eax, [ebp - 0x354]
push edi
push eax
call fcn.00434d00
add esp, 0xc
lea ecx, [ebp - 0x358]
push ecx
mov dword [ebp - 0x358], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
xor edx, edx
lea eax, [ebp - 0x20c]
mov word [ebp - 0x244], dx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e0d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004028a0
push 0x29
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x244]
call fcn.00404540
xor ecx, ecx
mov word [ebp - 0x228], cx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], edi
call fcn.004032e0
lea edx, [ebp - 0x228]
push edx
mov ecx, esi
call fcn.004032e0
mov ebx, 8
cmp dword [ebp - 0x214], ebx
jb 0x41e14f
mov eax, dword [ebp - 0x228]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], edi
mov word [ebp - 0x228], cx
cmp dword [ebp - 0x230], ebx
jb 0x41e1be
mov edx, dword [ebp - 0x244]
push edx
call fcn.00433949
add esp, 4
jmp 0x41e1be
test al, 4
je 0x41e1be
push edi
push 2
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e1a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.004028a0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret 8

Function at 0x41e1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 8
sub cl, 0x2b
lea edx, [eax + 7]
or cl, dl
mov edx, eax
shr edx, 0x10
and cl, dl
mov edx, dword [ebp + 8]
shr eax, 0x18
and cl, 0x55
xor cl, al
xor eax, eax
test edx, edx
je 0x41e223
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41e21d
xor byte [eax + edx], cl
add cl, al
inc eax
cmp eax, esi
jb 0x41e213
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x41e230
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41e261
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
test edi, edi
je 0x41e287
mov ecx, dword [ebp + 0x14]
lea edx, [edi + ecx]
push edx
call fcn.004336e5
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x41e298
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
xor esi, esi
test edi, edi
je 0x41e2c4
jmp 0x41e2a4
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, edi
sub edx, esi
push edx
add eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41e2c4
add esi, dword [ebp - 4]
cmp esi, edi
jb 0x41e2a1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, edi
pop esi
jae 0x41e2e6
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00434369
add esp, 4
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ecx], edi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4247f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0xc
mov esi, ecx
call fcn.0043429d
add esp, 4
test eax, eax
je 0x424813
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x424815
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
mov dword [eax], esi
mov dword [eax + 8], ecx
lea edi, [esi + 0x4c]
mov dword [eax + 4], edx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 0x78]
call fcn.00420010
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esi + 0x64], 0
pop edi
jne 0x42486b
lea ecx, [ebp - 8]
push ecx
push 0
push esi
push 0x4247d0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x64], eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42d8a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x459e00]
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]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0042d190
mov ebx, eax
cmp ebx, esi
je 0x42d91a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x42d905
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42d99c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0042d8a0
mov ebx, eax
cmp ebx, esi
jne 0x42d8f4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42d950
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x42d9b5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.0042d070
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x42d9d8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret 4
Function at 0x42f3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445b46
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x42f44d
call fcn.0040ba80
mov edi, eax
jmp 0x42f532
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42f466
call fcn.0040ba80
jmp 0x42f529
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x42f484
call fcn.0040ba80
jmp 0x42f529
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x42f4a5
mov edi, 0x8007000e
jmp 0x42f52b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042e140
mov dword [ebp - 4], 1
jmp 0x42f4dd
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x42f4ee
mov edi, 0x8007000e
jmp 0x42f52b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x42f507
call fcn.0040ba80
jmp 0x42f529
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0042f100
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x42f550
lea ecx, [ebp - 0x418]
call fcn.0042d840
jmp 0x42f550
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4326e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 0x10]
mov eax, 0xcccccccd
mul edi
shr edx, 3
xor ecx, ecx
inc edx
mov esi, 0x811c9dc5
test edi, edi
je 0x432720
cmp dword [ebx + 0x14], 0x10
jb 0x43270c
mov eax, dword [ebx]
jmp 0x43270e
mov eax, ebx
movsx eax, byte [eax + ecx]
imul esi, esi, 0x1000193
add ecx, edx
xor esi, eax
cmp ecx, edi
jb 0x432702
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4333de
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45c630], 0
push esi
push edi
jne 0x433354
call fcn.004332c0
test eax, eax
je 0x433399
mov eax, dword [0x45c630]
cmp eax, 1
jne 0x433375
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x433399
jmp 0x4333db
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4333db
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43339d
xor eax, eax
jmp 0x4333db
mov eax, dword [esi]
push dword [0x45c630]
call edi
mov edi, eax
test edi, edi
je 0x4333bf
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x4333db
lea edi, [esi + 0xff0]
push esi
push dword [0x45c630]
call dword [sym.imp.KERNEL32.DLL_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4333c5
mov eax, esi
pop edi
pop esi
ret
jmp 0x433340

Function at 0x434758
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459e00]
jne 0x434762
repz ret
jmp fcn.004389fc
Function at 0x4400e1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004384a3
and dword [ebp - 0x14], 0
cmp dword [0x45d558], 0
mov dword [ebp - 0x18], eax
jne 0x440194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44023c
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x451ec4
push ebx
call edi
test eax, eax
je 0x44023c
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45d560], eax
call edi
push eax
call esi
mov dword [0x45d568], eax
test eax, eax
je 0x440194
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45d564], eax
mov eax, dword [0x45d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x4401ed
cmp dword [0x45d568], ecx
je 0x4401ed
push eax
call esi
push dword [0x45d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4401ed
test ebx, ebx
je 0x4401ed
call edi
test eax, eax
je 0x4401e4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4401e4
test byte [ebp - 8], 1
jne 0x4401ed
or dword [ebp + 0x10], 0x200000
jmp 0x440220
mov eax, dword [0x45d55c]
cmp eax, dword [ebp - 0x18]
je 0x440220
push eax
call esi
test eax, eax
je 0x440220
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x440220
mov eax, dword [0x45d560]
cmp eax, dword [ebp - 0x18]
je 0x440220
push eax
call esi
test eax, eax
je 0x440220
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45d558]
call esi
test eax, eax
je 0x44023c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44023e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
leave
ret
Function at 0x4010e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x11c]
push ebx
mov ebx, eax
sub esp, 0x13c
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.advapi32.dll_RegEnumKeyA
sub esp, 0x10
mov edi, eax
test eax, eax
jne 0x401148
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.advapi32.dll_RegOpenKeyExA
sub esp, 0x14
mov edi, eax
test eax, eax
je 0x401160
cmp edi, 0x103
je 0x401190
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x120]
call fcn.004010e0
mov edi, eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
test edi, edi
je 0x4010f4
jmp 0x401148
mov dword [esp], ebx
xor edi, edi
mov dword [esp + 4], 0x40804c
call sub.advapi32.dll_RegDeleteKeyA
mov eax, edi
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00406a20
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
and esp, 0xfffffff0
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
leave
shl edx, 5
add eax, edx
ret