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

Disassembly:
cmp ecx, dword [0x80f250]
jne 0x404456
repz ret
jmp fcn.00409b84

Function at 0x40b16a
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.00406f1c
and dword [ebp - 4], 0
cmp dword [0x8197a4], 0
mov ebx, eax
jne 0x40b21b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2cc
push eax
call fcn.00406eaa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x8197a4], eax
call esi
push eax
call fcn.00406eaa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x8197a8], eax
call esi
push eax
call fcn.00406eaa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x8197ac], eax
call esi
push eax
call fcn.00406eaa
pop ecx
mov dword [0x8197b4], eax
test eax, eax
je 0x40b21b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eaa
pop ecx
mov dword [0x8197b0], eax
mov eax, dword [0x8197b0]
cmp eax, ebx
je 0x40b273
cmp dword [0x8197b4], ebx
je 0x40b273
push eax
call fcn.00406f25
push dword [0x8197b4]
mov esi, eax
call fcn.00406f25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b273
test edi, edi
je 0x40b273
call esi
test eax, eax
je 0x40b26a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b26a
test byte [ebp - 0xc], 1
jne 0x40b273
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ac
mov eax, dword [0x8197a8]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00406f25
pop ecx
test eax, eax
je 0x40b2ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ac
mov eax, dword [0x8197ac]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00406f25
pop ecx
test eax, eax
je 0x40b2ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8197a4]
call fcn.00406f25
pop ecx
test eax, eax
je 0x40b2cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4b5600], ecx
inc edx
cmp edx, 0x100
jb 0x401002
cmp edx, 0x800
jae 0x4010d9
lea esp, [esp]
mov eax, dword [edx*4 + 0x4b5200]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4b5600]
inc edx
mov dword [edx*4 + 0x4b55fc], eax
cmp edx, 0x800
jb 0x4010b0
mov dword [0x4b4490], 0x403ef0
call fcn.004040c0
test eax, eax
jne 0x4010f6
mov dword [0x4b4490], 0x403fa0
ret

Function at 0x403ab0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x403ac1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x403adf
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x403b16
test ecx, ecx
je 0x403b0f
test esi, esi
ja 0x403ad0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x403b30
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x403b92
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x403b5f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x403b97
test ecx, ecx
je 0x403b90
test esi, esi
ja 0x403b50
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
Function at 0x4041a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push ebp
push esi
push edi
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xor ebp, ebp
push ecx
lea esi, [esp + 0x28]
mov edi, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call fcn.00406b10
add esp, 8
cmp eax, ebp
jne 0x404315
mov edx, dword [esp + 0xac]
mov eax, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], eax
lea ebx, [ebx]
mov eax, 0x40000
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], eax
cmp dword [esp + 0xa8], ebp
ja 0x40424c
jb 0x404241
cmp dword [esp + 0xa4], eax
jae 0x40424c
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xb0]
push 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x34]
call fcn.004067e0
mov esi, eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x20], eax
add esp, 0x14
sub dword [esp + 0xa4], eax
sbb dword [esp + 0xa8], ebp
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x44], ecx
je 0x4042df
cmp eax, ebp
jne 0x4042c9
cmp edi, dword [esp + 0x44]
je 0x4042df
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x404220
jmp 0x404301
cmp ecx, dword [esp + 0xac]
jne 0x4042fc
cmp dword [esp + 0xc], ebp
jne 0x4042fc
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x404301
cmp eax, 4
je 0x404301
mov esi, 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00474468
add esp, 0x90
ret
Function at 0x404330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x404377
mov eax, edi
jmp 0x4044cd
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404bc0
add esp, 4
cmp eax, ebx
jne 0x4044cd
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x40440c
jb 0x404401
cmp dword [esp + 0xc8], eax
jae 0x40440c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00404d70
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x40449e
cmp eax, ebx
jne 0x404488
cmp edi, dword [esp + 0x4c]
je 0x40449e
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4043e0
jmp 0x4044b9
cmp ecx, dword [esp + 0xd4]
jne 0x4044b4
cmp dword [esp + 0x14], ebx
jne 0x4044b4
cmp dword [esp + 0x20], 1
je 0x4044b9
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00474468
add esp, 0xb0
ret
Function at 0x405060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x40507d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x4050ad
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4050ad
inc edi
cmp edi, ebx
jb 0x4050a0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x4051b5
cmp eax, 3
jbe 0x4050e0
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x40511b
cmp al, 0xff
je 0x40511b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x405093
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x4050c6
movzx ecx, byte [esi + 0x4a1364]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x4a135c], 0
mov al, byte [eax + 4]
je 0x405109
test al, al
je 0x405109
cmp al, 0xff
jne 0x4050c6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x405093
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x405187
movzx edx, byte [esi + 0x4a1364]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x40516c
cmp bl, 0xff
jne 0x405183
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x405140
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x405093
pop edi
pop ebx
cmp eax, 3
jbe 0x4051cc
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x4094e0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4b2e60]
test eax, eax
jne 0x40953a
push esi
push 0x10
call fcn.00474492
mov esi, eax
add esp, 4
test esi, esi
je 0x409530
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x409070
push 0
push 0
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
mov dword [0x4b2e60], eax
pop esi
pop ecx
ret
xor esi, esi
mov eax, esi
mov dword [0x4b2e60], eax
pop esi
pop ecx
ret
Function at 0x4116e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48ae55
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0x208
xor ebx, ebx
push ebx
mov dword [esp + 0x18], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push ebx
push 0x23
push esi
push ebx
mov dword [esp + 0x68], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4117eb
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0042a950
push str..exe
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x6c], 1
call fcn.0040bd80
add esp, 0x14
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x58], 3
jb 0x411781
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.0042a3d0
add esp, 4
test al, al
je 0x4117d7
cmp dword [esp + 0x48], 0x10
jb 0x4117b6
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp esi, ebx
je 0x4117d3
push esi
call fcn.00473f71
add esp, 4
mov al, 1
jmp 0x4117fa
cmp dword [esp + 0x48], 0x10
jb 0x4117eb
mov edx, dword [esp + 0x34]
push edx
call fcn.00473948
add esp, 4
cmp esi, ebx
je 0x4117f8
push esi
call fcn.00473f71
add esp, 4
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00474468
add esp, 0x50
ret
Function at 0x423420
Capabilities:
Create process on windows

Disassembly:
mov al, byte [ecx + 0x39]
push esi
test al, 4
je 0x423453
mov dl, al
shr dl, 3
not dl
add dl, dl
add dl, dl
add dl, dl
xor dl, al
and dl, 8
push 1
xor dl, al
mov eax, dword [ecx + 4]
push 0
push eax
mov byte [ecx + 0x39], dl
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop esi
ret 0xc
lea esi, [ecx + 0x58]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jle 0x423475
push 3
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret 0xc

Function at 0x424080
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 4]
xor ebx, ebx
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x20]
push edx
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4240fa
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x3c], ebx
jne 0x424161
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push 0xcc0020
push edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x3c]
push edi
push ecx
push edx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4248f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d323
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], eax
mov dword [esi], vtable.CButtonST.0
mov dword [esi + 0x34], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
push 0x424fc0
push 0x424fb0
push 2
push 0x14
lea edi, [esi + 0x278]
push edi
mov byte [esp + 0x30], 3
call fcn.00475455
and byte [esi + 0x38], 0xfe
xor eax, eax
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], eax
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov cl, byte [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
and byte [esi + 0x39], 0xf1
and cl, 0x1f
or cl, 0x60
push 0xf
mov dword [esi + 0x28], ebp
mov byte [esi + 0x38], cl
call edi
push 0x12
mov dword [esi + 0x48], eax
call edi
push 0xf
mov dword [esi + 0x4c], eax
call edi
push 0x12
mov dword [esi + 0x50], eax
call edi
and byte [esi + 0x38], 0xfd
push 0x208
lea edx, [esi + 0x58]
push ebp
mov dword [esi + 0x54], eax
mov dword [esi + 0x34], ebp
push edx
mov dword [esi + 0x44], ebp
call fcn.004747b0
and byte [esi + 0x39], 0xfe
add esp, 0xc
and byte [esi + 0x38], 0xe3
mov dword [esi + 0x30], ebp
mov dword [esi + 0x2c], 0x64
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x426c20
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x426c3c
mov eax, dword [esi + 0x84]
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov byte [esi + 0x20], 0
pop esi
ret

Function at 0x428090
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], 1
call fcn.0040b380
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x68]
call fcn.0040b380
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x426f50
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x84], eax
pop esi
ret 8

Function at 0x4280f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], 0
call fcn.0040b380
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x68]
call fcn.0040b380
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x426f50
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x84], eax
pop esi
ret 8

Function at 0x428150
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x68]
mov dword [esi + 0x40], 2
call fcn.0040b380
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x426f50
push 0
push 0
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x84], eax
pop esi
ret 0xc

Function at 0x4281a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x48d4f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x2c], ebp
call fcn.00429c40
mov edx, dword [esp + 0x1c]
add esp, 8
push 0x496f38
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
cmp edi, ebp
jne 0x428215
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x428211
push eax
call fcn.00473f71
add esp, 4
xor al, al
jmp 0x428251
push edi
push ebp
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebp
je 0x428200
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebp
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
setne bl
cmp eax, ebp
je 0x42824f
push eax
call fcn.00473f71
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x428540
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d738
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x28], 0
call fcn.00429c40
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
add esp, 8
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call edi
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 2
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 0x1234
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4285de
push eax
call fcn.00473f71
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4