joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e6a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x308
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x310]
push ebp
push esi
mov esi, ecx
cmp esi, 0x40
push edi
mov edi, edx
mov dword [esp + 0xc], eax
jle 0x40e712
lea ecx, [esp + 0x160]
push ecx
call fcn.004447b0
lea edx, [esp + 0x164]
push edx
lea eax, [esi*8]
push eax
push edi
call fcn.00444830
lea ecx, [esp + 0x2d8]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.00444a00
add esp, 0x18
lea edi, [esp + 0x2c8]
mov esi, 0x40
lea eax, [esp + 0xb8]
push eax
call fcn.004447b0
add esp, 4
xor eax, eax
test esi, esi
jle 0x40e749
mov ebp, edi
lea ecx, [esp + 0x208]
sub ebp, ecx
lea ecx, [esp + eax + 0x208]
mov dl, byte [ecx + ebp]
xor dl, 0x36
add eax, 1
cmp eax, esi
mov byte [ecx], dl
jl 0x40e733
cmp esi, 0x40
jge 0x40e768
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x20c]
push 0x36
push eax
call fcn.00423160
add esp, 0xc
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x20c]
push 0x200
push eax
call fcn.00444830
mov edx, dword [esp + 0x324]
lea ecx, [esp + 0xc4]
push ecx
lea eax, [edx*8]
push eax
push ebx
call fcn.00444830
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0xd4]
push edx
call fcn.00444a00
lea eax, [esp + 0x30]
push eax
call fcn.004447b0
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x40e7e6
lea ecx, [esp + 0x208]
sub edi, ecx
lea ecx, [esp + eax + 0x208]
mov dl, byte [edi + ecx]
xor dl, 0x5c
add eax, 1
cmp eax, esi
mov byte [ecx], dl
jl 0x40e7d0
cmp esi, 0x40
jge 0x40e805
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x20c]
push 0x5c
push eax
call fcn.00423160
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20c]
push 0x200
push eax
call fcn.00444830
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x258]
push 0x200
push edx
call fcn.00444830
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00444a00
mov eax, dword [esp + 0x2c]
push 0x40
lea edx, [esp + 0x2ac]
push edx
push eax
call fcn.00423b90
mov ecx, dword [esp + 0x338]
add esp, 0x2c
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00423893
add esp, 0x308
ret
Function at 0x40e880
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x110
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push esi
push edi
mov esi, edx
push esi
mov edi, ecx
mov cl, byte [esp + 0x138]
push eax
lea edx, [esp + 0xa0]
mov dword [esp + 0x18], 0
push edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x1f], cl
call fcn.00423b90
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + esi + 0x98], eax
push ecx
mov ecx, dword [esp + 0x128]
add esi, 4
push esi
lea ebx, [esp + 0xa0]
mov edx, edi
call fcn.0040e6a0
mov eax, dword [esp + 0x134]
add esp, 8
cmp eax, 1
mov ecx, 0x10
lea esi, [esp + 0x18]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
jle 0x40e96c
mov esi, ebp
lea edx, [esp + 0x58]
sub esi, edx
lea edi, [eax - 1]
jmp 0x40e930
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push 0x40
lea ebx, [esp + 0x20]
call fcn.0040e6a0
add esp, 8
xor eax, eax
mov dl, byte [esp + eax + 0x58]
lea ecx, [esp + eax + 0x58]
xor byte [esi + ecx], dl
mov byte [esp + eax + 0x18], dl
add eax, 1
cmp eax, 0x40
jl 0x40e950
sub edi, 1
jne 0x40e930
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423893
add esp, 0x110
ret
Function at 0x411620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4461f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
xor esi, esi
push esi
push str.Tahoma
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x20], eax
fld dword [0x4487e4]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 2
push esi
push ecx
fstp dword [esp]
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFont
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
push eax
push 0xfeffffff
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x4c]
push ecx
push esi
mov byte [esp + 0x48], 2
call fcn.00410720
mov ecx, eax
call fcn.00418c20
push esi
mov ebp, eax
call fcn.00410720
mov ecx, eax
call fcn.00418c00
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4116fe
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.0040f4e0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x50]
push ebp
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push eax
call fcn.0040f0b0
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
push edi
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8

Function at 0x411ba3
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0x428], 0
jne 0x411c4e
mov eax, dword [esi + 4]
push ebx
push edi
push 0
push eax
lea ecx, [esi + 0x3d4]
call fcn.00411590
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea ecx, [edx + 0xf0]
lea eax, [edi + 0x28]
mov ebx, ecx
sub ebx, edx
mov edx, dword [esp + 0x14]
add edx, ebx
mov ebx, eax
sub ebx, edi
mov edi, dword [esp + 0x18]
push 4
add edi, ebx
mov dword [esp + 0x1c], edi
sub edi, eax
push edi
mov dword [esp + 0x1c], edx
sub edx, ecx
push edx
push eax
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x3d8]
push 0
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x3d8]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0xfa0
push 0x66
push edx
mov byte [esi + 0x428], 1
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
Function at 0x412ec0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x120
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x455e9c]
mov ecx, dword [0x455ea0]
mov dx, word [0x455ea4]
push 0x80
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], dx
call fcn.00423160
xor eax, eax
push 0x80
push eax
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00423160
add esp, 0x18
push 0x80
lea edx, [esp + 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x1c]
mov cx, word [esp + 0x20]
push 0x80
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
mov word [esp + 0x18], cx
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00423ef5
mov ecx, dword [esp + 0x124]
add esp, 8
test eax, eax
setne al
xor ecx, esp
call fcn.00423893
add esp, 0x120
ret

Function at 0x413000
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov esi, ecx
mov eax, dword [esi + 0x354]
push 0
push eax
call edi
mov ecx, dword [esi + 0x354]
push 1
push ecx
call edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0x7c]
push 0
push eax
call edi
pop edi
pop esi
ret

Function at 0x413040
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
mov eax, dword [esi + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 0x7c]
push 5
push ecx
call edi
mov edx, dword [esi + 0x354]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0x354]
push 1
push eax
call edi
pop edi
pop esi
ret

Function at 0x4131f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413237
mov ecx, dword [esi + 0x354]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x354]
push 1
push edx
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x7c]
push 0
push ecx
call edi
pop edi
pop esi
ret
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x7c]
push 5
push eax
call edi
mov ecx, dword [esi + 0x354]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x354]
push 1
push edx
call edi
pop edi
pop esi
ret
Function at 0x415490
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4465b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
xor esi, esi
push esi
push str.Tahoma
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x20], eax
fld dword [0x4487e4]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 2
push esi
push ecx
fstp dword [esp]
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFont
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
push eax
push 0xfeffffff
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x4c]
push ecx
push esi
mov byte [esp + 0x48], 2
call fcn.00410720
mov ecx, eax
call fcn.00418c20
push esi
mov ebp, eax
call fcn.00410720
mov ecx, eax
call fcn.00418c00
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41556e
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.0040f4e0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x50]
push ebp
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push eax
call fcn.0040f0b0
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
push edi
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
Function at 0x419b60
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x419b80
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x419b96
push 0x80004005
call entry0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x419bc0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x419bd8
push 0x80004005
call entry0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x419be5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x41a210
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x41a27e
test ecx, ecx
je 0x41a270
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x41a28c
test ecx, ecx
je 0x41a331
push ecx
jmp 0x41a32b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41a2fe
jmp 0x41a2c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0041a210
mov edi, eax
test edi, edi
jne 0x41a34d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x41a2c0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a315
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a331
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00423893
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a35c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41a333
Function at 0x41c790
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x446d40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45cefc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
mov dword [esp + 0x14], ebx
push 5
mov dword [esp + 0x6c], 1
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea edx, [esp + 0x28]
push edx
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_FillRect]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebp + 0x29], 1
jne 0x41c842
mov eax, dword [ebp + 0x48]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp + 0x44], 8
jb 0x41c826
mov esi, dword [ebp + 0x30]
jmp 0x41c829
lea esi, [ebp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 1
push 1
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
jmp 0x41c8f6
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424843
add esp, 4
push 0
push 0
mov edi, eax
mov eax, dword [ebp + 4]
push 0xd2
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, ax
test ax, ax
je 0x41c8cd
test esi, esi
jle 0x41c8c4
mov dx, ax
mov ecx, esi
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x14]
mov word [edi + esi*2 - 2], 0
jmp 0x41c8d9
mov eax, dword [ebp + 4]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push 1
push 1
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push edi
call fcn.004231da
add esp, 4
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
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.00423893
add esp, 0x58
ret 4
Function at 0x41d870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x446f80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45cefc]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x45cecc]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x41d8fd
call fcn.004199e0
mov esi, eax
jmp 0x41d9de
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41d919
call fcn.004199e0
jmp 0x41d9d5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x41d932
call fcn.004199e0
jmp 0x41d9d5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x41d968
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x41d956
lea ecx, [ebp]
call fcn.0041a1b0
lea ecx, [ebp - 0x1c]
call fcn.00401c30
mov eax, 0x8007000e
jmp 0x41d9f2
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0041aa40
mov dword [ebp - 4], 1
jmp 0x41d98a
mov ebx, dword [ebp]
test ebx, ebx
jne 0x41d998
mov esi, 0x8007000e
jmp 0x41d9d7
call dword [0x45cecc]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41d9b9
call fcn.004199e0
jmp 0x41d9d5
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041c3d0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x41d9f0
lea ecx, [ebp]
call fcn.0041a1b0
mov edi, edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00423893
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e4e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4470fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x24], vtable.WTL::CIdleHandler.0
mov dword [esi], vtable.CSubDlg.2.0
mov dword [esi + 0x20], vtable.CSubDlg.1.0
mov dword [esi + 0x24], vtable.CSubDlg.0
mov byte [esi + 0x30], bl
mov eax, dword [0x4641b8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4641b8
mov dword [esp + 0x18], ebx
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [0x4641b8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4641b8
mov byte [esp + 0x18], 1
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x4641b8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4641b8
mov byte [esp + 0x18], 2
call edx
add eax, 0x10
mov dword [esi + 0x3c], eax
mov eax, dword [0x4641b8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4641b8
mov byte [esp + 0x18], 3
call edx
add eax, 0x10
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], 4
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
call fcn.0041e450
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 5
call fcn.0041e450
lea ecx, [esi + 0xf0]
mov byte [esp + 0x18], 6
call fcn.0041e450
lea ecx, [esi + 0x13c]
mov byte [esp + 0x18], 7
call fcn.0041e450
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
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 0x41f740
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x447228
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
xor esi, esi
push esi
push str.Tahoma
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x20], eax
fld dword [0x4487e4]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 2
push esi
push ecx
fstp dword [esp]
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], esi
call sub.gdiplus.dll_GdipCreateFont
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
push eax
push 0xfeffffff
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x4c]
push ecx
push esi
mov byte [esp + 0x48], 2
call fcn.00410720
mov ecx, eax
call fcn.00418c20
push esi
mov ebp, eax
call fcn.00410720
mov ecx, eax
call fcn.00418c00
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41f81e
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.0040f4e0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x50]
push ebp
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push eax
call fcn.0040f0b0
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
push edi
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8