joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401520
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push edi
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4015e1
mov ecx, dword [esp + 4]
push esi
push eax
push eax
push eax
push eax
push str.Inst32
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push str.DeleteInst32RunReg
push esi
push str.Inst32
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00401630
add esp, 0x10
test esi, esi
pop esi
jne 0x4015d1
mov edx, dword [esp + 4]
push str.Inst32
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
push str.DeleteInst32RunReg
je 0x4015bd
push eax
push str.Inst32
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.004016f0
mov eax, dword [esp + 0x14]
add esp, 0x10
xor edi, edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ecx
ret
push 0
push str.Inst32
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00401690
add esp, 0x10
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1b771a63
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, str.An
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6e012bce
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x40150c
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
xor ebp, ebp
push ebp
mov ebx, str.MozillaHiddenWindowClass
push ebx
mov dword [esp + 0x14], ebp
call edi
cmp eax, ebp
je 0x401566
push esi
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x10]
push ebp
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x40155d
cmp esi, 0xffffffff
je 0x40155d
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push ebx
call edi
cmp eax, ebp
jne 0x40152a
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401607
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x41c0a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40167f
push 0x2d
push eax
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x33]
push eax
call fcn.00403aa0
lea eax, [ebp - 0x34]
push str.http:__ninemsn.com.au_ocidB144MSN16A15E178G
push eax
call fcn.00405860
lea eax, [ebp - 0x34]
push eax
call fcn.00405960
add esp, 0x18
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push 0
push str.Start_Page
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403a8a
leave
ret
Function at 0x401792
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x288
mov eax, dword [0x41c0a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x27
lea eax, [ebp + 0x1e1]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x68], edi
mov byte [ebp + 0x1e0], bl
call fcn.00403aa0
mov esi, 0xff
push esi
lea eax, [ebp + 0xa1]
push ebx
push eax
mov dword [ebp - 0x78], 0x28
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x61], bl
mov byte [ebp + 0xa0], bl
call fcn.00403aa0
push 0x3f
lea eax, [ebp + 0x1a1]
push ebx
push eax
mov byte [ebp + 0x1a0], bl
call fcn.00403aa0
push esi
lea eax, [ebp - 0x5f]
push ebx
push eax
mov dword [ebp - 0x7c], 0x40
mov byte [ebp - 0x62], bl
mov byte [ebp - 0x60], bl
call fcn.00403aa0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x30
lea eax, [ebp - 0x74]
push eax
push 8
push ebx
push edi
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x401980
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1e0]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x6c]
test eax, eax
jne 0x40195b
push dword [ebp - 0x68]
lea eax, [ebp + 0xa0]
push eax
call fcn.00405860
lea eax, [ebp + 0x1e0]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.00405870
lea eax, [ebp + 0xa0]
push 0x418438
push eax
call fcn.00405870
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xa0]
push eax
push edi
call esi
test eax, eax
jne 0x40194b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a0]
push eax
push ebx
push ebx
push str.ProviderName
push dword [ebp - 0x70]
mov byte [ebp + 0x1a0], bl
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401942
lea eax, [ebp + 0x1a0]
push str.Microsoft_Office_Online
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
jne 0x401910
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x68]
mov byte [ebp - 0x61], 1
call fcn.00405860
pop ecx
pop ecx
cmp byte [ebp - 0x62], bl
jne 0x401942
lea eax, [ebp + 0x1a0]
push str.Microsoft_Office_Online_Services
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
jne 0x401942
lea eax, [ebp + 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x62], 1
call fcn.00405860
pop ecx
pop ecx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78], 0x28
cmp byte [ebp - 0x61], bl
je 0x401840
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x61], bl
jne 0x401980
cmp byte [ebp - 0x62], bl
je 0x401980
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
mov byte [ebp - 0x61], 1
call fcn.00405860
pop ecx
pop ecx
mov ecx, dword [ebp + 0x208]
mov al, byte [ebp - 0x61]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a8a
add ebp, 0x20c
leave
ret
Function at 0x40199b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x288
mov eax, dword [0x41c0a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x27
lea eax, [ebp + 0x1e1]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x68], edi
mov byte [ebp + 0x1e0], bl
call fcn.00403aa0
mov esi, 0xff
push esi
lea eax, [ebp + 0xa1]
push ebx
push eax
mov dword [ebp - 0x78], 0x28
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x61], bl
mov byte [ebp + 0xa0], bl
call fcn.00403aa0
push 0x3f
lea eax, [ebp + 0x1a1]
push ebx
push eax
mov byte [ebp + 0x1a0], bl
call fcn.00403aa0
push esi
lea eax, [ebp - 0x5f]
push ebx
push eax
mov dword [ebp - 0x7c], 0x40
mov byte [ebp - 0x62], bl
mov byte [ebp - 0x60], bl
call fcn.00403aa0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x30
lea eax, [ebp - 0x74]
push eax
push 8
push ebx
push edi
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x401b89
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1e0]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc dword [ebp - 0x6c]
test eax, eax
jne 0x401b64
push dword [ebp - 0x68]
lea eax, [ebp + 0xa0]
push eax
call fcn.00405860
lea eax, [ebp + 0x1e0]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.00405870
lea eax, [ebp + 0xa0]
push 0x418438
push eax
call fcn.00405870
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xa0]
push eax
push edi
call esi
test eax, eax
jne 0x401b54
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a0]
push eax
push ebx
push ebx
push str.ServiceName
push dword [ebp - 0x70]
mov byte [ebp + 0x1a0], bl
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401b4b
lea eax, [ebp + 0x1a0]
push str.Bing_Search
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
jne 0x401b19
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x68]
mov byte [ebp - 0x61], 1
call fcn.00405860
pop ecx
pop ecx
cmp byte [ebp - 0x62], bl
jne 0x401b4b
lea eax, [ebp + 0x1a0]
push str.Bing_Search
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
jne 0x401b4b
lea eax, [ebp + 0xa0]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x62], 1
call fcn.00405860
pop ecx
pop ecx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78], 0x28
cmp byte [ebp - 0x61], bl
je 0x401a49
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x61], bl
jne 0x401b89
cmp byte [ebp - 0x62], bl
je 0x401b89
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
mov byte [ebp - 0x61], 1
call fcn.00405860
pop ecx
pop ecx
mov ecx, dword [ebp + 0x208]
mov al, byte [ebp - 0x61]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a8a
add ebp, 0x20c
leave
ret
Function at 0x401ba4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x41c0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x2c], 0
lea edi, [ebp - 0x2b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x30]
push eax
push 0x20006
mov esi, str.bing
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, SysReAllocString
push ebx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401c4b
lea eax, [ebp - 0x2c]
push str.http:__www.bing.com.au_
push eax
mov dword [ebp - 0x34], 1
call fcn.00405860
lea eax, [ebp - 0x2c]
push eax
call fcn.00405960
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
push str.Search_Bar
push dword [ebp - 0x30]
call esi
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push 0
push str.Use_Custom_Search_URL
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerSearchUrl
push ebx
call edi
test eax, eax
jne 0x401c88
lea eax, [ebp - 0xc]
push eax
call fcn.00405960
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.provider
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a8a
leave
ret
Function at 0x40263b
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x41c0a0]
xor eax, esp
mov dword [esp + 0x448], eax
mov al, byte [0x41dfb9]
mov cl, byte [0x41dfba]
push esi
mov byte [esp + 0xc], cl
mov byte [esp + 8], al
test al, al
jne 0x402675
test cl, cl
je 0x4027b3
push 0x1f3
lea eax, [esp + 0x255]
push 0
push eax
mov byte [esp + 0x25c], 0
call fcn.00403aa0
add esp, 0xc
push 0x1f4
lea eax, [esp + 0x254]
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x250]
push str.AppDataRoamingMozillaFirefoxProfiles_
push eax
call fcn.00405870
pop ecx
pop ecx
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4027b3
test al, 0x10
je 0x4027b3
push 0xff
lea eax, [esp + 0x155]
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.00403aa0
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x160]
push eax
call fcn.00405860
lea eax, [esp + 0x164]
push 0x419b6c
push eax
call fcn.00405870
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4027b3
lea eax, [esp + 0x3c]
push 0x419b70
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
je 0x40279c
lea eax, [esp + 0x3c]
push 0x419b74
push eax
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
je 0x40279c
lea eax, [esp + 0x3c]
push eax
call fcn.00405960
pop ecx
cmp eax, 0x20
jae 0x40279c
test byte [esp + 0x10], 0x10
je 0x40279c
push dword [esp + 0xc]
lea eax, [esp + 0x40]
push dword [esp + 0xc]
lea ecx, [esp + 0x258]
push eax
call fcn.00401f9c
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40273f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x44c]
pop esi
xor ecx, esp
call fcn.00403a8a
mov esp, ebp
pop ebp
ret
Function at 0x40282c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, edi
je 0x402949
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x402948
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x402948
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x40293f
push esi
push ebx
push eax
call fcn.00406390
add esp, 0xc
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x402936
mov ebx, dword [ebp - 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x4028e2
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x10], edi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x4028e4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
je 0x402936
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
jne 0x40292e
push 4
call fcn.00403c42
pop ecx
cmp eax, edi
je 0x402915
mov dword [eax], 0xff000000
jmp 0x402917
xor eax, eax
push dword [eax]
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, edi
je 0x402948
mov dword [esi + 8], eax
jmp 0x402948
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x402950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x419b98
push dword [ebp + 0x10]
call fcn.004057d0
pop ecx
pop ecx
test eax, eax
jne 0x4029df
mov esi, str.http:__windowslive.ninemsn.com.au_packs_LoveCreatures.cab
push esi
call fcn.00405960
pop ecx
mov ecx, pe_nt_image_headers32
cmp eax, ecx
jae 0x402a94
push str.MEMORY_MAPPED_FILE_MINIMIZE_ME
push ecx
xor ebx, ebx
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x402a94
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x4029d1
push esi
call fcn.00405960
push eax
push esi
push edi
call fcn.00406390
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402a94
mov edi, dword [ebp + 8]
mov dword [0x41df6c], edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov dword [ebp + 0x10], eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x41dfbc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.gdiplus.dll_GdiplusStartup
cmp dword [ebp + 0x10], ebx
je 0x402a94
push 0x419be8
push 0x8c
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x402a8b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x402a8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov dword [0x41dfb4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [0x41dfb4]
mov esi, eax
call fcn.00405960
pop ecx
cmp eax, esi
jbe 0x402a73
mov eax, dword [0x41dfb4]
mov byte [eax + esi], bl
push ebx
push 0x402a9d
push ebx
push 0x8b
push edi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
call fcn.0040138e
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x403a8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c0a0]
jne 0x403a94
repz ret
jmp fcn.004070af
Function at 0x40fd35
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.0040a0c3
and dword [ebp - 4], 0
cmp dword [0x41de48], 0
mov ebx, eax
jne 0x40fde6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fe97
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x416c4c
push edi
call esi
test eax, eax
je 0x40fe97
push eax
call fcn.0040a051
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41de48], eax
call esi
push eax
call fcn.0040a051
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41de4c], eax
call esi
push eax
call fcn.0040a051
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41de50], eax
call esi
push eax
call fcn.0040a051
pop ecx
mov dword [0x41de58], eax
test eax, eax
je 0x40fde6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a051
pop ecx
mov dword [0x41de54], eax
mov eax, dword [0x41de54]
cmp eax, ebx
je 0x40fe3e
cmp dword [0x41de58], ebx
je 0x40fe3e
push eax
call fcn.0040a0cc
push dword [0x41de58]
mov esi, eax
call fcn.0040a0cc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40fe3e
test edi, edi
je 0x40fe3e
call esi
test eax, eax
je 0x40fe35
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40fe35
test byte [ebp - 0xc], 1
jne 0x40fe3e
or dword [ebp + 0x10], 0x200000
jmp 0x40fe77
mov eax, dword [0x41de4c]
cmp eax, ebx
je 0x40fe77
push eax
call fcn.0040a0cc
pop ecx
test eax, eax
je 0x40fe77
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40fe77
mov eax, dword [0x41de50]
cmp eax, ebx
je 0x40fe77
push eax
call fcn.0040a0cc
pop ecx
test eax, eax
je 0x40fe77
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41de48]
call fcn.0040a0cc
pop ecx
test eax, eax
je 0x40fe97
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fe99
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4257fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi], edi
je 0x42582c
cmp dword [esi + 4], edi
jbe 0x425825
mov eax, dword [esi]
mov eax, dword [eax + edi*8]
test eax, eax
je 0x42581f
push eax
call 0x451afe
inc edi
cmp edi, dword [esi + 4]
jb 0x425810
push dword [esi]
call 0x453e0c
push ebx
xor ebx, ebx
mov edi, 0xe0
cmp dword [esi + 8], ebx
je 0x42585e
cmp dword [esi + 0xc], ebx
jbe 0x425856
mov dword [ebp + 8], ebx
mov eax, dword [esi + 8]
add eax, dword [ebp + 8]
push eax
call fcn.0042572a
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0xc]
jb 0x425841
push dword [esi + 8]
call 0x453e0c
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x42588a
cmp dword [esi + 0x14], ebx
jbe 0x425882
and dword [ebp + 8], ebx
mov eax, dword [esi + 0x10]
add eax, dword [ebp + 8]
push eax
call fcn.0042572a
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x42586d
push dword [esi + 0x10]
call 0x453e0c
xor edi, edi
pop ebx
cmp dword [esi + 0x18], edi
je 0x4258b5
cmp dword [esi + 0x1c], edi
jbe 0x4258ad
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*8]
test dword [edi + 0x65], eax
je 0x4258cf
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x73], 0x6c6c6174
push edx
imul esi, dword gs:[bp + di + 0x74], 0x654b7972
imul esi, dword [bp + di + 0x74], 0x654b7972
jns 0x4258e5
jo 0x42592c
xor dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [ecx + 0x40], al
add byte [eax], al
add byte [esi + 0x2e000011], dh
adc dword [eax], eax
add byte [esi], ch
adc al, 0
add byte [0x516aede9], bl
cmp edi, dword [eax]
pop esp
add dword [edi - 0x7e818284], 0x383b8177
dec esi
dec esi
dec esi
cmp dword [ebx], 0x4e4e4e38
dec esi
adc byte [ebx - 0x6c685f5e], 0xa4
xchg ebx, eax
dec esi
mov al, byte [0xa1979593]
mov byte [0x994ea7a0], al
xchg ebx, eax
cmpsd dword [esi], dword es:[edi]
push esi
mov eax, dword [0x9d944e57]
mov al, byte [0xa1a7a14e]
mov byte [0x975b9b93], al
pushfd
mov eax, dword [0x9a9a8fa2]
xchg ebx, eax
xchg edx, eax
dec esi
invalid
invalid

Function at 0x428221
Capabilities:
Encode data using xor

Disassembly:
lcall 0x9aa2, 0x9683a8a8
push ebp
bound esp, qword [edx - 0x6267566a]
push ebp
pop ecx