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

Disassembly:
sub esp, 0x220
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x228]
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
lea ecx, [esp + 0x14]
push ecx
xor ebp, ebp
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
je 0x4145d2
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.0044037f
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4145aa
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145aa
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push 0x4639d0
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.00413b20
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145aa
mov edx, dword [esp + 0x14]
mov ebp, 1
test edx, edx
jne 0x414589
mov edx, 0x464c84
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414590
mov ecx, dword [esp + 0x1c]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.0040f380
test ebx, ebx
je 0x4145b7
push ebx
call fcn.00440de3
add esp, 4
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004404e6
add esp, 0x220
ret
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004404e6
add esp, 0x220
ret

Function at 0x414700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
cmp dword [ecx], 0
mov dword [esp], ecx
je 0x414780
push ebx
mov ebx, dword [esp + 0xc]
movzx eax, word [ebx]
push esi
push edi
mov edi, 0x7fed7fed
mov esi, 0xeeeeeeee
test ax, ax
je 0x414777
push ebp
mov ebp, dword [esp + 0x1c]
shl ebp, 8
movzx eax, ax
mov dword [esp + 0x18], ebp
jmp 0x414737
mov ebp, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.00442c78
movzx ecx, ax
xor edx, edx
lea eax, [ecx + ebp]
mov ebp, 0x500
div ebp
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
add edi, esi
add ebx, 2
add esp, 4
xor edi, dword [eax + edx*4]
movzx eax, word [ebx]
mov edx, esi
shl edx, 5
add edx, ecx
add edx, esi
lea esi, [edx + edi + 3]
test ax, ax
jne 0x414733
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8

Function at 0x414a50
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4189e0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00440500
add esp, 0xc
push 0x104
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x10]
push edx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.SDVersion.dll
lea eax, [esp + 0x14]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x418a53
lea eax, [ebp + 1]
jmp 0x418a78
lea edx, [esp + 0x10]
push edx
call esi
push str.360ver.dll
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
mov eax, 2
jne 0x418a78
mov eax, ebp
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x20c
ret

Function at 0x418da0
Capabilities:
Get file size

Disassembly:
mov eax, dword [eax]
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x418def
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x418de8
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
add esp, 8
ret

Function at 0x419910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x224], eax
push edi
xor eax, eax
push 0x1fe
mov edi, ecx
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00440500
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x464868
push str.SOFTWARE360SafeLiveup
push 0x80000002
mov dword [esp + 0x20], 0x200
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4199f4
push ebx
push ebp
push esi
xor edx, edx
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x80], dx
call fcn.004281c0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov esi, ebp
cmp ebx, 0x10
jae 0x4199ac
lea esi, [esp + 0x1c]
lea eax, [edi + 0xe4]
mov edx, pe_nt_image_headers32
sub esi, eax
lea esp, [esp]
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x4199db
mov cl, byte [esi + eax]
test cl, cl
je 0x4199db
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4199c0
jmp 0x4199df
test edx, edx
jne 0x4199e0
dec eax
mov byte [eax], 0
cmp ebx, 0x10
jb 0x4199f1
push ebp
call fcn.004404db
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
pop edi
xor ecx, esp
call fcn.004404e6
add esp, 0x228
ret
Function at 0x419a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x4c], eax
push edi
mov edi, dword [esp + 0x58]
push 0x40
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00440500
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x20
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419b1d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.svcVersion
push edx
call esi
test eax, eax
je 0x419b11
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Version
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 0
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004281c0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, edi
pop edi
xor ecx, esp
call fcn.004404e6
add esp, 0x50
ret 4
Function at 0x41ebd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45b3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
mov dword [esp + 0x68], eax
mov edi, 0x400
add edi, edi
push edi
call fcn.0044037f
mov esi, eax
lea eax, [esi + edi]
add esp, 4
cmp esi, eax
je 0x41ec5f
sub eax, esi
push eax
push 0
push esi
call fcn.00440500
add esp, 0xc
mov ecx, dword [esp + 0x38]
call fcn.004086d0
push eax
mov eax, dword [esp + 0x18]
push edi
push esi
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, eax
push ebp
push esi
lea ecx, [esp + 0x48]
call fcn.00408c40
push esi
call fcn.00440de3
add esp, 4
test ebx, ebx
je 0x41ec9f
cmp dword [esp + 0x14], 0
mov eax, 1
jne 0x41eca4
mov eax, 2
mov ecx, edi
sub ecx, eax
cmp ebp, ecx
je 0x41ec3d
push 1
mov ebx, 0xf
push 0x464c84
lea edx, [esp + 0x28]
push ebx
xor ebp, ebp
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.00440857
mov eax, dword [esp + 0x30]
mov esi, 0x10
add esp, 0x10
mov dword [esp + 0x30], 1
cmp dword [esp + 0x34], esi
jae 0x41ecf0
lea eax, [esp + 0x20]
mov byte [eax + 1], 0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
mov byte [esp + 0x74], 1
call fcn.0041eac0
add esp, 0xc
cmp dword [esp + 0x34], esi
jb 0x41ed23
mov edx, dword [esp + 0x20]
push edx
call fcn.004404db
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
cmp dword [esp + 0x58], esi
jb 0x41ed43
mov eax, dword [esp + 0x44]
push eax
call fcn.004404db
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004404e6
add esp, 0x58
ret
Function at 0x423e30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00423ca0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x423e75
mov ecx, dword [esi + 4]
cmp dword [ecx - 0xc], 0
je 0x423e75
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x423e75
push 0
push 0
push esi
push 0x423c80
push 0
push 0
call fcn.004441af
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x423e90
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x423ec8
mov eax, 1
cmp dword [esp + 8], eax
je 0x423eca
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004404e6
add esp, 0x118
ret

Function at 0x424d80
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
xor ebp, ebp
test ebx, ebx
je 0x424e55
lea edx, [esp + 8]
mov eax, ebx
sub edx, ebx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x424db0
push esi
push edi
lea edi, [esp + 0x10]
add edi, 0xfffffffe
jmp 0x424dd0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x424dd0
mov ecx, 7
mov esi, str.dbgfiles.cab
push str.http:__sdl.360safe.com_dbgfiles.cab
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push str.http:__sdl.360safe.com_dbgfiles.cab
push 0
call sub.urlmon.dll_URLDownloadToFileW
pop edi
pop esi
test eax, eax
jne 0x424e3b
lea ecx, [esp + 8]
push ecx
call fcn.00425970
add esp, 4
test eax, eax
je 0x424e3b
push ebx
push 0x424cc0
push 0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
je 0x424e3b
mov ebp, 1
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424e55
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x210]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x20c
ret
Function at 0x43ad30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45c44c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.SignInfoCollecter.0
call fcn.0041d4c0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call fcn.0041d4c0
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.0041d4c0
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 2
call fcn.0041d4c0
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 3
call fcn.0041d4c0
mov dword [esi + 0xa4], ebx
mov eax, 0xf
mov dword [esi + 0xa8], eax
mov byte [esi + 0x94], bl
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], ebx
mov byte [esi + 0xb0], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4401d5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49eae0], 0
push esi
jne 0x440148
call fcn.0044006e
test eax, eax
je 0x44018b
mov eax, dword [0x49eae0]
cmp eax, 1
jne 0x440169
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44018b
pop esi
ret
push eax
call dword [0x49eae8]
test eax, eax
jne 0x4401d3
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 0x44018f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x49eae0]
call dword [0x49eae8]
mov edi, eax
test edi, edi
je 0x4401b4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4401d0
mov edi, esi
add esi, 0xff0
push edi
push dword [0x49eae0]
call dword [0x49eae4]
add edi, 0x10
cmp edi, esi
jb 0x4401bc
mov eax, edi
pop edi
pop esi
ret
jmp 0x440135

Function at 0x4404e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49c23c]
jne 0x4404f0
repz ret
jmp fcn.0044783d
Function at 0x45416a
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.00448eb8
and dword [ebp - 4], 0
cmp dword [0x49f674], 0
mov ebx, eax
jne 0x45421b
push 0x46db1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4542cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x4542cc
push eax
call fcn.00448e46
mov dword [esp], 0x46db00
push edi
mov dword [0x49f674], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f678], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x49f67c], eax
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f684], eax
test eax, eax
je 0x45421b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f680], eax
mov eax, dword [0x49f680]
cmp eax, ebx
je 0x454273
cmp dword [0x49f684], ebx
je 0x454273
push eax
call fcn.00448ec1
push dword [0x49f684]
mov esi, eax
call fcn.00448ec1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x454273
test edi, edi
je 0x454273
call esi
test eax, eax
je 0x45426a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45426a
test byte [ebp - 0xc], 1
jne 0x454273
or dword [ebp + 0x10], 0x200000
jmp 0x4542ac
mov eax, dword [0x49f678]
cmp eax, ebx
je 0x4542ac
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4542ac
mov eax, dword [0x49f67c]
cmp eax, ebx
je 0x4542ac
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f674]
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4542ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x455630
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.00448eb8
and dword [ebp - 4], 0
cmp dword [0x49f8f4], 0
mov ebx, eax
jne 0x4556e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x455792
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x455792
push eax
call fcn.00448e46
mov dword [esp], 0x46db00
push edi
mov dword [0x49f8f4], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f8f8], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49f8fc], eax
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f904], eax
test eax, eax
je 0x4556e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f900], eax
mov eax, dword [0x49f900]
cmp eax, ebx
je 0x455739
cmp dword [0x49f904], ebx
je 0x455739
push eax
call fcn.00448ec1
push dword [0x49f904]
mov esi, eax
call fcn.00448ec1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x455739
test edi, edi
je 0x455739
call esi
test eax, eax
je 0x455730
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x455730
test byte [ebp - 0xc], 1
jne 0x455739
or dword [ebp + 0x10], 0x200000
jmp 0x455772
mov eax, dword [0x49f8f8]
cmp eax, ebx
je 0x455772
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x455772
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x455772
mov eax, dword [0x49f8fc]
cmp eax, ebx
je 0x455772
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x455772
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f8f4]
call fcn.00448ec1
pop ecx
test eax, eax
je 0x455792
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x455794
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x408b78
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
cmp dword [ebp - 0xc08], 0
jle 0x408c62
push edi
add edi, 0xed6d
and edi, 0x10c4b
pop edi
push ecx
push ebx
add esp, 4
add ecx, 0x4b79
or ecx, 0x18331
call fcn.00408b78
add byte [eax], bh
push eax
cmp al, 0x33
inc esp
dec edi
cmp dword [ebx + ecx*2], edi
add esp, 4
pop ecx
mov edx, dword [ebp - 0xa68]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa64]
movzx edx, byte [ecx]
cmp eax, edx
je 0x408bfe
push ebx
push ebx
add esp, 4
and ebx, 0x999d
xor ebx, 0x9d4d
or ebx, 0xa00b
sub ebx, 0x658c
pop ebx
push edx
add edx, 0x16928
sub edx, 0x7054
add edx, 0xebd0
pop edx
mov eax, dword [ebp - 0xa68]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa64]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x408be6
mov dword [ebp - 0x14c0], 1
jmp 0x408bf0
mov dword [ebp - 0x14c0], 0xffffffff
mov ecx, dword [ebp - 0x14c0]
mov dword [ebp - 0xc0c], ecx
jmp 0x408c62
push edx
call 0x408c0f
add byte [esi], bh
inc esp
dec ebp
cmp eax, 0x364e3839
inc ebp
aas
add esp, 4
xor edx, 0x317
pop edx
push eax
push edi
add esp, 4
and eax, 0xbb43
or eax, 0x12d0
jmp 0x408c2f
pop eax
mov edx, dword [ebp - 0xc08]
sub edx, 1
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xa68]
add eax, 1
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 1
mov dword [ebp - 0xa64], ecx
jmp 0x408b3d
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], edx
cmp dword [ebp - 0x14c4], 0
jne 0x408cb7
push edx
push eax
add esp, 4
add edx, 0x1171b
or edx, 0x18523
xor edx, 0x2a5c
pop edx
push ebx
or ebx, 0x57aa
add ebx, 0xa996
or ebx, 0x594a
xor ebx, 0x2312
pop ebx
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x408cf8
jmp 0x408a05
Function at 0x408c0f
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
cmp dword [ebp - 0xc08], 0
jle 0x408c62
push edi
add edi, 0xed6d
and edi, 0x10c4b
pop edi
push ecx
push ebx
add esp, 4
add ecx, 0x4b79
or ecx, 0x18331
call fcn.00408b78
add byte [eax], bh
push eax
cmp al, 0x33
inc esp
dec edi
cmp dword [ebx + ecx*2], edi
add esp, 4
pop ecx
mov edx, dword [ebp - 0xa68]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa64]
movzx edx, byte [ecx]
cmp eax, edx
je 0x408bfe
push ebx
push ebx
add esp, 4
and ebx, 0x999d
xor ebx, 0x9d4d
or ebx, 0xa00b
sub ebx, 0x658c
pop ebx
push edx
add edx, 0x16928
sub edx, 0x7054
add edx, 0xebd0
pop edx
mov eax, dword [ebp - 0xa68]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa64]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x408be6
mov dword [ebp - 0x14c0], 1
jmp 0x408bf0
mov dword [ebp - 0x14c0], 0xffffffff
mov ecx, dword [ebp - 0x14c0]
mov dword [ebp - 0xc0c], ecx
jmp 0x408c62
push edx
call 0x408c0f
add byte [esi], bh
inc esp
dec ebp
cmp eax, 0x364e3839
inc ebp
aas
add esp, 4
xor edx, 0x317
pop edx
push eax
push edi
add esp, 4
and eax, 0xbb43
or eax, 0x12d0
jmp 0x408c2f
pop eax
mov edx, dword [ebp - 0xc08]
sub edx, 1
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xa68]
add eax, 1
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 1
mov dword [ebp - 0xa64], ecx
jmp 0x408b3d
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], edx
cmp dword [ebp - 0x14c4], 0
jne 0x408cb7
push edx
push eax
add esp, 4
add edx, 0x1171b
or edx, 0x18523
xor edx, 0x2a5c
pop edx
push ebx
or ebx, 0x57aa
add ebx, 0xa996
or ebx, 0x594a
xor ebx, 0x2312
pop ebx
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x408cf8
jmp 0x408a05
Function at 0x409dca
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x180]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x180]
movsx eax, byte [ebp + edx - 0x820]
or eax, 0x20
cmp ecx, eax
jge 0x409e01
mov dword [ebp - 0xc30], 0xffffffff
jmp 0x409e0b
mov dword [ebp - 0xc30], 1