joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fab0
Capabilities:
Delete file
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d30c6
push eax
mov dword fs:[0], esp
sub esp, 0x234
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41fc01
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Recent
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x130]
push 0x104
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
call fcn.0042f5c6
lea ecx, [esp + 0x130]
mov dword [esp + 0x23c], 0
push ecx
lea ecx, [esp + 4]
call fcn.004a91d7
push str..lnk
lea ecx, [esp + 4]
mov byte [esp + 0x240], 1
call fcn.004a9545
mov edx, dword [esp]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0042f689
test eax, eax
je 0x41fbd3
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.0042f8a9
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0042f870
test eax, eax
jne 0x41fbcd
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
jne 0x41fbcd
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042f978
mov edx, dword [esp + 0x10]
push edx
call edi
lea ecx, [esp + 0x10]
call fcn.004a9169
test esi, esi
jne 0x41fb86
pop edi
pop esi
lea ecx, [esp + 0x10]
call fcn.0042f63f
lea ecx, [esp]
mov byte [esp + 0x23c], 0
call fcn.004a9169
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0042f603
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret

Function at 0x41ff10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x41ff4e
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x50e194
call fcn.004a91d7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x24c0]
call fcn.0040a3d0
pop esi
add esp, 0x108
ret
Function at 0x420050
Capabilities:
Delete registry key
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4d3146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov ecx, dword [0x510634]
mov dword [esp + 4], ecx
xor ebx, ebx
cmp eax, 0x80000000
mov dword [esp + 0x138], ebx
jae 0x4201ff
push esi
push edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
mov byte [esp + 0x140], 1
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
call fcn.00416400
mov esi, dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
add esp, 4
test eax, eax
je 0x4201dc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00416500
add esp, 8
lea ecx, [esp + 0xc]
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
call fcn.004a92f2
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
call fcn.004a9545
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a92a2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push SysReAllocString
call fcn.00416710
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.004167c0
add esp, 0x18
test eax, eax
je 0x4201a7
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push ebx
push ecx
push edx
push SysReAllocString
call fcn.004165d0
add esp, 0x10
lea ecx, [esp + 0xc]
push str.Data
call fcn.004a9545
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push ebx
push eax
push ecx
push SysReAllocString
call fcn.004165d0
add esp, 0x10
lea ecx, [esp + 0xc]
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
call fcn.004a9545
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
push 1
push edx
push eax
push SysReAllocString
call fcn.004165d0
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4201b6
push eax
push ebx
call edi
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4201dc
mov edx, dword [esp + 0x14]
push ebx
push eax
push edx
push SysReAllocString
call fcn.004165d0
mov eax, dword [esp + 0x28]
push eax
call fcn.004a8ed3
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4201eb
push eax
push ebx
call edi
push eax
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], bl
call fcn.004a9169
pop edi
pop esi
jmp 0x420251
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [esp + 8]
call fcn.004a92f2
lea eax, [esp + 0x2c]
lea ecx, [esp + 4]
push eax
call fcn.004a9545
push str.Datae161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 8]
call fcn.004a9545
mov ecx, dword [esp + 4]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea ecx, [esp + 4]
mov dword [esp + 0x138], 0xffffffff
call fcn.004a9169
mov ecx, dword [esp + 0x130]
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x421320
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4d332c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x120]
lea ecx, [esp]
push eax
call fcn.004a91d7
push 0x23
lea ecx, [esp + 4]
mov dword [esp + 0x118], 0
call fcn.004a1427
test eax, eax
jle 0x421398
lea ecx, [esp + 4]
push eax
push ecx
lea ecx, [esp + 8]
call fcn.004a1384
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x118], 1
call fcn.004a92a2
lea ecx, [esp + 4]
mov byte [esp + 0x114], 0
call fcn.004a9169
mov eax, dword [esp + 0x11c]
push ebx
push esi
lea edx, [esp + 0x10]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea ecx, [esp + 0x10]
push 0x22
push ecx
lea esi, [esp + 0x18]
call fcn.00437f40
lea edx, [esp + 0x18]
add esp, 8
cmp eax, edx
jne 0x4213e1
lea esi, [eax + 1]
push 0x22
push esi
call fcn.00437f40
add esp, 8
test eax, eax
je 0x4213f7
jmp 0x4213f4
lea eax, [esp + 0x10]
push 0x20
push eax
call fcn.00437f40
add esp, 8
test eax, eax
je 0x4213f7
mov byte [eax], 0
lea ecx, [esp + 0xc]
push 5
push ecx
lea ecx, [esp + 0x10]
call fcn.004a1384
mov eax, dword [eax]
push str.file:
push eax
call fcn.004372d8
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call fcn.004a9169
test bl, bl
je 0x421481
lea edx, [esp + 0xc]
push 8
push edx
lea ecx, [esp + 0x10]
call fcn.004a124f
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 2
call fcn.004a92a2
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 0
call fcn.004a9169
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.004a105e
push 0x50d560
push 0x50f1d8
lea ecx, [esp + 0x10]
call fcn.004a109b
jmp 0x421520
push esi
call fcn.004386e4
push str.WORD.EXE
push esi
call fcn.00437810
add esp, 0xc
test eax, eax
jne 0x421520
push str.DREAMWEAVER.EXE
push esi
call fcn.00437810
add esp, 8
test eax, eax
jne 0x421520
push str.FRONTPAGE
push esi
call fcn.00437810
add esp, 8
test eax, eax
jne 0x421520
mov ecx, dword [esp + 8]
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0
push ecx
call ebx
test eax, eax
jne 0x421520
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x421520
mov edx, dword [esp + 0xc]
push edi
push edx
call fcn.004a8eaa
mov ecx, dword [esp + 0x10]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x421516
mov edx, dword [edi + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.004a92f2
push edi
call fcn.004a8ed3
add esp, 4
pop edi
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x50df30
push ecx
call fcn.004a9472
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 3
call fcn.004a92a2
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], 0
call fcn.004a9169
push 0x50df30
lea ecx, [esp + 0xc]
call fcn.004a9545
mov edx, dword [esp + 8]
push 5
push 0
push edx
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004a9169
mov ecx, dword [esp + 0x114]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
Function at 0x4248d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d380c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0xbf
mov dword [esp + 0x20], esi
call fcn.004bb076
mov eax, dword [0x510634]
lea ecx, [esi + 0x8c]
mov dword [esp + 0x38], 0
mov dword [ecx], eax
mov edx, dword [0x510634]
lea edi, [esi + 0x90]
mov dword [edi], edx
mov eax, dword [0x510634]
lea ebx, [esi + 0x94]
mov dword [ebx], eax
mov edx, dword [0x510634]
lea ebp, [esi + 0x98]
mov dword [ebp], edx
mov eax, dword [0x510634]
mov dword [esi + 0xa4], eax
mov edx, dword [0x510634]
mov dword [esi + 0xa8], edx
mov dword [esi], 0x4e2758
mov eax, dword [0x515e5c]
mov byte [esp + 0x38], 6
mov edx, dword [eax + 0x128]
mov dword [esi + 0x9c], edx
mov eax, dword [0x515e5c]
add eax, 0x2640
push eax
call fcn.004a92a2
mov ecx, dword [0x515e5c]
add ecx, 0x2644
push ecx
mov ecx, edi
call fcn.004a92a2
mov edx, dword [0x515e5c]
mov ecx, ebx
add edx, 0x264c
push edx
call fcn.004a92a2
mov eax, dword [0x515e5c]
mov ecx, ebp
add eax, 0x2650
push eax
call fcn.004a92a2
mov ecx, dword [0x515e5c]
add ecx, 0x2648
push ecx
lea ecx, [esi + 0xa4]
call fcn.004a92a2
mov edx, dword [0x515e5c]
lea ecx, [esi + 0xa8]
add edx, 0x2654
push edx
call fcn.004a92a2
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x14
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoComplete
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x424a5e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.Append_Completion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424a53
lea ecx, [esp + 0x1c]
push 0x50e558
push ecx
call fcn.004392e0
add esp, 8
test eax, eax
jne 0x424a49
mov dword [esi + 0xa0], eax
jmp 0x424a53
mov dword [esi + 0xa0], 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x426460
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x42649d
call fcn.00427020
test eax, eax
je 0x4264a4
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x426a60
push 0
push 0
call fcn.00438aad
add esp, 0x18
mov dword [esi + 0x6c], eax
test eax, eax
je 0x42649d
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x74]
test eax, eax
je 0x42649d
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x74]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x74]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x42649d
mov edx, dword [esi + 0x1c]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4272f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [0x50fa78]
mov byte [0x515de8], 8
mov word [0x515dec], ax
inc eax
mov dword [0x50fa78], eax
mov eax, dword [0x50fa7c]
mov word [0x515dee], ax
inc eax
mov dword [0x50fa7c], eax
mov byte [0x515de9], 0
mov word [0x515dea], 0
xor eax, eax
mov cl, al
add cl, 0x20
mov byte [eax + 0x515df8], cl
inc eax
cmp eax, 0x20
jl 0x42732b
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push 0x30
push 0x515de8
mov dword [0x515df4], eax
call fcn.00427290
mov edx, dword [esp + 0x10]
add esp, 8
mov word [0x515dea], ax
mov eax, dword [esp + 4]
push 0x10
push edx
push 0
push 0x30
push 0x515de8
push eax
call dword [sym.imp.WS2_32.dll_sendto]
ret

Function at 0x427380
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x110]
lea edx, [esp]
mov dword [esp + 0xc], ecx
push edx
push 0
lea ecx, [esp + 0x10]
mov eax, 1
push 0
push ecx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
add esp, 0x10c
ret

Function at 0x4273d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x148
mov ecx, dword [esp + 0x150]
lea eax, [esp]
push eax
mov eax, dword [esp + 0x150]
push ecx
push 0
lea edx, [esp + 0x10]
push 0x144
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [esp + 0x154]
mov dl, byte [esp + 0xc]
mov eax, dword [esp + 0x24]
mov byte [ecx], dl
add esp, 0x148
ret
Function at 0x42bcb0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push str.http:__www.touchingsoft.com_buy_
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x440b23
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x514570
cmp edx, dword [eax]
je 0x440b45
add eax, 8
inc ecx
cmp eax, 0x514600
jl 0x440b36
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x514570]
jne 0x440c73
mov eax, dword [0x51808c]
cmp eax, 1
je 0x440c4d
test eax, eax
jne 0x440b76
cmp dword [0x511a24], 1
je 0x440c4d
cmp edx, 0xfc
je 0x440c73
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x440bad
lea eax, [ebp - 0x1a4]
push 0x4eadf4
push eax
call fcn.0043cc20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00439e60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x440bf0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00439e60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x50e198
push edi
call fcn.00437de0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4eadd8
push eax
call fcn.0043cc20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043cc30
lea eax, [ebp - 0xa0]
push 0x4eadd4
push eax
call fcn.0043cc30
push dword [esi + 0x514574]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043cc30
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4eadac
push eax
call fcn.00443fed
add esp, 0x2c
pop edi
jmp 0x440c73
lea eax, [ebp + 8]
lea esi, [esi + 0x514574]
push 0
push eax
push dword [esi]
call fcn.00439e60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x4475f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d6498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, ecx
push 0xf
call edi
push 0x10
mov dword [esi + 8], eax
call edi
push 0x15
mov dword [esi + 0xc], eax
call edi
push 0x16
mov dword [esi + 0x1c], eax
call edi
push 0x14
mov dword [esi + 0x20], eax
call edi
push 0x12
mov dword [esi + 0x10], eax
call edi
push 0x11
mov dword [esi + 0x14], eax
call edi
push 6
mov dword [esi + 0x24], eax
call edi
push 0xd
mov dword [esi + 0x18], eax
call edi
push 0xe
mov dword [esi + 0x28], eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xff0000
call edi
push 0x14
mov dword [esi + 4], eax
call edi
lea ebx, [esi + 0x34]
mov dword [esi], eax
mov ecx, ebx
call fcn.004ad6a4
push 0xf
call edi
push eax
mov ecx, ebx
call fcn.004ad677
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.004ad6a4
push 0xd
call edi
push eax
mov ecx, ebx
call fcn.004ad677
lea ebx, [esi + 0x4c]
mov ecx, ebx
call fcn.004ad6a4
push 0x15
call edi
push eax
mov ecx, ebx
call fcn.004ad677
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
call fcn.004ad483
mov eax, dword [esp + 0x1c]
push 0xc
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
lea edi, [esi + 0x44]
mov dword [esi + 0xa0], eax
cmp edi, ebx
je 0x4476eb
cmp dword [edi + 4], ebx
je 0x4476eb
mov ecx, edi
call fcn.004ad6ce
cmp dword [esi + 0xa0], 8
jle 0x44777f
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
shr ecx, 0x10
shr eax, 0x10
mov edx, ecx
and eax, 0xff
and edx, 0xff
mov bx, word [esi + 8]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
xor ecx, ecx
mov ch, al
xor eax, eax
mov al, byte [esi + 0x11]
shr bx, 8
mov edx, ebx
and eax, 0xff
and edx, 0xff
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, bl
mov cl, al
xor eax, eax
mov al, byte [esi + 0x10]
shl ecx, 8
mov dword [esp + 0xc], ecx
mov cl, byte [esi + 8]
mov edx, ecx
and edx, 0xff
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
mov ecx, dword [esp + 0xc]
and eax, 0xff
or eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004ad677
jmp 0x4477e7
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
mov ecx, esi
and eax, edx
push eax
call fcn.004478e0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.CBitmap.0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.004ad677
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, esi
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, edi
call fcn.004ad677
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.004ad6ce
mov byte [esp + 0x30], bl
call fcn.00451690
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004ad4f5
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x447810
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d64b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x10]
call fcn.004ad483
lea eax, [esi + 0x64]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x64], 0
call fcn.004acbfc
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea ecx, [esp + 0x20]
mov edi, eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, eax
add ecx, edx
lea edx, [esi + 0x84]
mov dword [esi + 0xa4], ecx
push edx
lea ecx, [esp + 0x10]
call fcn.004acbfc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, edx
add eax, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi + 0xa8], eax
call fcn.004acbfc
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0xffffffff
call fcn.004ad4f5
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x463bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d84f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
push 0xa
lea ecx, [esi + 4]
mov dword [esp + 0x20], 0
call fcn.004a417f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov ecx, dword [0x510634]
lea edi, [esi + 0x30]
mov dword [edi], ecx
mov edx, dword [0x510634]
lea ebp, [esi + 0x34]
mov dword [ebp], edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [0x518d74], esi
mov ecx, dword [esi + 0x2c]
push 0x515240
mov byte [esp + 0x20], 3
call fcn.004ab7a3
lea ecx, [esp + 0xc]
call fcn.0046b600
push 0x3e97
mov ecx, edi
mov byte [esp + 0x20], 4
call fcn.004aafb2
push str..exe
mov ecx, ebp
call fcn.004a92f2
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00420630
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18

Function at 0x46447c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d8593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x510634]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 0x38], ecx
mov dword [esi], 0x4ed940
mov dword [0x518da0], esi
push str.BCGWorkspace
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.004a91d7
lea edx, [esp + 0x20]
mov ecx, edi
push edx
mov byte [esp + 0x1c], 1
call fcn.004a92a2
or eax, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 1
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x18], bl
call fcn.004a9169
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4