joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e740
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451a71
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x46d560]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x288]
movq qword [ebp - 0x278], xmm0
movdqu xmmword [ebp - 0x288], xmm0
call fcn.0041f771
push str.C:TL_DATA
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push str._s.
push eax
call fcn.00413520
add esp, 0xc
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x288]
push 0
push eax
call fcn.0041f9bb
test eax, eax
je 0x40e95e
lea ecx, [ebp - 0x288]
call fcn.0041fb6f
lea ecx, [ebp - 0x288]
mov edi, eax
call fcn.0041ff00
test eax, eax
jne 0x40e956
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x288]
call fcn.0041fc23
mov esi, eax
mov byte [ebp - 4], 1
mov edx, 1
mov ecx, dword [esi]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, 0xc8
or ecx, edx
jge 0x40e82c
push 0xc8
mov ecx, esi
call fcn.004028a0
push dword [esi]
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.00439f6a
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x290]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e866
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x288]
push 0x10
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x40e956
lea eax, [ebp - 0xd8]
push eax
push str.C:TL_DATA
lea eax, [ebp - 0x268]
push str._s_s
push eax
call fcn.00413520
add esp, 0x10
call fcn.00414abd
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x40e9b0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 2
push eax
push str.C:TL_DATA
lea eax, [ebp - 0x26c]
push str._s_s
push eax
call fcn.00402a00
mov esi, dword [ebp - 0x26c]
add esp, 0x10
cmp dword [esi - 0xc], 0
jl 0x40e938
push str..jpg
push esi
call fcn.0043885b
add esp, 8
test eax, eax
je 0x40e912
sub eax, esi
cmp eax, 0xffffffff
jne 0x40e931
cmp dword [esi - 0xc], 0
jl 0x40e938
push str..bmp
push esi
call fcn.0043885b
add esp, 8
test eax, eax
je 0x40e938
sub eax, esi
cmp eax, 0xffffffff
je 0x40e938
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e956
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x40e7d1
lea ecx, [ebp - 0x288]
call fcn.0041f96f
push str.C:TL_DATA
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
setne byte [ebp - 0x289]
call fcn.0041f91f
mov al, byte [ebp - 0x289]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402b60
int3
Function at 0x40eab0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x466718
push 0x43a420
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x46d560]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
push 0
push 0
push 0x2b1f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40eb32
push 0x30
push 0x45f808
push 0x46184c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ec6f
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push ebx
call fcn.0040e620
test eax, eax
je 0x40ec61
push 0x473770
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax*2 + 2]
push 0x40
push 0x3000
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x40eb88
push 0x30
push 0x45f808
push 0x461868
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ec6f
push 0
push ebx
push 0x473770
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40ebb4
push 0x30
push 0x45f808
push 0x461880
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ec6f
lea eax, [ebp - 0x20]
push eax
push 0
push edi
push dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x40ebeb
push 0x30
push 0x45f808
push 0x461898
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ec6f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x24]
push dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x40ec37
push 0x30
push 0x45f808
push 0x4618b0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40ec6f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ebx, dword [ebp - 0x2c]
jmp 0x40eb38
push esi
call edi
jmp 0x40ec6f
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret 8
Function at 0x4104e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451d30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x46d560]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [0x46d560]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x45f8e2
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.004026d0
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 0
push eax
call fcn.00410c70
or edi, 0xffffffff
test al, al
jne 0x410563
push 0x30
push 0x4607a8
push 0x4619c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x41064a
push 0x45f8e2
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.004026d0
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 1
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 1
call fcn.00410250
mov eax, dword [esp + 0x10]
mov ecx, 0x45f8e2
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4105c0
test dl, dl
je 0x4105bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4105c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4105a0
xor eax, eax
jmp 0x4105c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4105e0
push 0x30
push 0x45f808
push 0x4619d8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x410628
push 0x3e8
mov ecx, esi
call fcn.0041c124
push dword [esp + 0x10]
mov ecx, eax
call fcn.0041c988
push str.C:TL_DATA
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410618
push 0
push str.C:TL_DATA
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x410626
lea edx, [esp + 0x10]
mov ecx, str.c:TL_DATAGamePath.cfg
call fcn.0040a320
mov bl, 1
mov byte [esp + 0x28], 0
mov ecx, edi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41064a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x28], 0xffffffff
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41066d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004384c1
mov esp, ebp
pop ebp
ret
Function at 0x411e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451f78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46d560]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
call fcn.0041d383
mov edi, dword [eax + 8]
test edi, edi
jne 0x411e5c
push 0x30
push 0x45f808
push 0x461d78
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x411f65
push 0x461d9c
push 0x8a
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x411e8e
push 0x30
push 0x45f808
push 0x461da4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x411f65
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x24]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x460d6c
push eax
push esi
call dword [0x47334c]
test eax, eax
jg 0x411ed5
push 0x30
push 0x45f808
push 0x461dc4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x411f65
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push dword [ebp - 0x30]
movdqu xmmword [ebp - 0x20], xmm0
push eax
call dword [0x473244]
test al, al
je 0x411e55
lea eax, [ebp - 0x20]
push eax
call fcn.004387b6
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [esi], eax
call fcn.00404ad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push dword [esi]
push 0x461de8
push eax
call fcn.00402a00
mov esi, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, esi
call fcn.00412810
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
or ecx, 0xffffffff
movdqu xmmword [ebp - 0x20], xmm0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411f63
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret
Function at 0x413e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46d560]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
mov dword [edi], 0
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413e8b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x413e5b
cmp eax, 2
jne 0x413e6d
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x413e87
test eax, eax
je 0x413e84
cmp byte [esi + eax - 1], 0
je 0x413e87
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004384c1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x417ea5
call fcn.0041d383
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417ea5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x417ec1
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041429f
mov ebx, eax
test edi, edi
je 0x417ebf
test esi, esi
je 0x417ebf
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422144
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4529d8
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0043d7c0
mov eax, dword [0x46d560]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x422278
push ebx
push eax
call fcn.004222c7
mov ebx, eax
test ebx, ebx
jne 0x4221ac
push esi
jmp 0x4222a0
call fcn.00414abd
push eax
lea ecx, [ebp - 0x1014]
call fcn.00402b80
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x422237
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00402910
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.004139d0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x422265
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00402a50
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402bb0
jmp 0x4222a7
push esi
mov ecx, edi
call fcn.004026d0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x42225e
test esi, esi
jne 0x422281
mov esi, 0x45f8e2
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.004026d0
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 - 0x10]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x428725
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x46d560]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4287b7
test esi, esi
je 0x4287b7
push esi
call fcn.0043a200
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.0043a170
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x42879c
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x42879c
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4287a4
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004384c1
mov esp, ebp
pop ebp
ret 8
call fcn.004152ca
int3
Function at 0x432004
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x453721
call fcn.0043a6dd
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.0041d383
push ebx
mov ecx, dword [eax + 4]
call fcn.00421eea
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x22c]
push dword [eax]
push esi
call fcn.00413f00
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00402bb0
inc bl
je 0x4321b2
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.0043a170
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x43216e
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.0043a170
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00413e10
test eax, eax
jne 0x432159
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.00430fc9
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00402650
mov dword [ebp - 0x230], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x22c]
call ebx
test eax, eax
je 0x4320dc
lea ecx, [ebp - 0x22c]
call fcn.00413fd0
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.004315f8
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402bb0
lea ecx, [ebp - 0x22c]
call fcn.00413fd0
lea ecx, [ebp - 0x23c]
call fcn.00413fd0
mov eax, dword [ebp - 0x230]
call fcn.0043a68c
ret

Function at 0x434701
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x43474f
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0043a200
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x434744
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x434732
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004152ca
int3
Function at 0x435110
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x453a21
call fcn.0043a6dd
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x43513e
call fcn.004152ca
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x435139
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x435186
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00438e19
push eax
call fcn.00402220
add esp, 0x14
push ebx
push edi
call fcn.004350e3
xor eax, eax
jmp 0x4352a7
cmp eax, 0x104
jb 0x4351a3
test edi, edi
je 0x43517f
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00402650
jmp 0x43517f
call fcn.00414abd
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402b80
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00434abe
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x43529c
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x43520e
push ebx
push edi
call fcn.004350e3
lea ecx, [esi - 0x10]
call fcn.00402bb0
jmp 0x43517f
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x43522a
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x43529c
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43529c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4351fa
cmp eax, dword [ebp - 0x158]
jbe 0x4351fa
lea eax, [ebp - 0x124]
push eax
call fcn.0043a200
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x4352af
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.00439f6a
push eax
call fcn.00402220
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00402bb0
xor eax, eax
inc eax
call fcn.0043a68c
ret 0xc
test edi, edi
je 0x435201
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00402650
jmp 0x435201
Function at 0x44aa6e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d560]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00442e5b
mov dword [ebp - 0x14], eax
cmp dword [0x472fd8], esi
jne 0x44ab61
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x44aaee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44ac41
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x44ac41
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44ac41
push eax
call ebx
push 0x45acf4
push edi
mov dword [0x472fd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x45ad04
push edi
mov dword [0x472fdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x472fe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x472fe8], eax
test eax, eax
je 0x44ab5e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x472fe4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44ab86
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44ab79
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x44ab9b
push 4
pop eax
jmp 0x44ac43
cmp dword [ebp - 0x14], esi
je 0x44ab9b
push dword [0x472fd8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44ab80
mov eax, dword [0x472fe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x44abf9
cmp dword [0x472fe8], edi
je 0x44abf9
push eax
call ebx
push dword [0x472fe8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44abf9
test eax, eax
je 0x44abf9
call ecx
test eax, eax
je 0x44abee
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 0x44abee
test byte [ebp - 8], 1
jne 0x44abf9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x44ac29
mov eax, dword [0x472fdc]
cmp eax, edi
je 0x44ac26
push eax
call ebx
test eax, eax
je 0x44ac26
call eax
mov esi, eax
test esi, esi
je 0x44ac26
mov eax, dword [0x472fe0]
cmp eax, edi
je 0x44ac26
push eax
call ebx
test eax, eax
je 0x44ac26
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x472fd8]
call ebx
test eax, eax
je 0x44ac41
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x44ac43
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004384c1
mov esp, ebp
pop ebp
ret