joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
xor eax, eax
lea edx, [esp + 4]
mov dword [esp + 4], eax
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x64]
push eax
push 0
push 0x200
push 0
push 0
push 0
push 0
call fcn.0042162f
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret 8

Function at 0x403020
Capabilities:
Access peb ldr_data
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42c830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push 0x43eb64
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 2
mov dword [esp + 0xc], ebx
call fcn.004212e1
mov eax, dword [esp + 0x38]
push 0x43eb64
push eax
mov byte [esp + 0x30], 3
call fcn.0040e6c8
add esp, 8
test eax, eax
je 0x40308e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0xc]
push str._s__s
push eax
call fcn.0041cce9
add esp, 0x10
jmp 0x40309c
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 8]
call fcn.004213ac
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_:__s
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x2e1
mov dword [esp + 0x28], str.D:3.
mov dword [esp + 0x2c], ebx
call fcn.004031d0
add esp, 0x10
lea edx, [esp + 8]
push edx
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403181
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [eax - 8]
inc eax
push eax
push ebx
call fcn.0042162f
push eax
push 1
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.0042162f
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.00421273
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00421273
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.00421273
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call fcn.00421273
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.00421273
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00421273
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.00421273
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call fcn.00421273
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x403340
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42c868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
mov edi, ecx
push 0x43eb64
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004212e1
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREmyprotect
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403480
lea edx, [edi + 0x6c]
push esi
push edx
lea ecx, [esp + 0xc]
call fcn.004213ac
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
inc eax
push eax
push 0
call fcn.0042162f
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push 1
push 0
push str.code1
push ecx
call esi
push 0x43a408
lea ecx, [esp + 0xc]
call fcn.004213fc
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
inc eax
push eax
push 0
call fcn.0042162f
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.installmode
push eax
call esi
add edi, 0x70
lea ecx, [esp + 8]
push edi
call fcn.004213ac
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
lea ecx, [esp + 8]
inc eax
push eax
push 0
call fcn.0042162f
mov edx, dword [esp + 0x10]
push eax
push 1
push 0
push str.myprotect_nic
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00421273
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00421273
mov ecx, dword [esp + 0x10]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x403d90
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
push 0x432428
push 1
push 0
push 0x432438
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403e81
mov eax, dword [esp]
push esi
mov esi, dword [esp + 0x218]
push edi
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x220]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x228]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x432448
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x403e75
mov ecx, dword [esp + 0x230]
mov eax, dword [esp + 8]
test ecx, ecx
je 0x403e3a
mov edx, dword [eax]
push 0
push ecx
push eax
call dword [edx + 0x44]
jmp 0x403e43
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x44]
lea edx, [esp + 0x10]
push 0x104
push edx
push 0xffffffffffffffff
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
add esp, 0x210
ret 0x18
Function at 0x404670
Capabilities:
Create http request

Disassembly:
sub esp, 0x204
push ebx
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
push ebx
push ebx
push ebx
push 0x43a730
mov dword [esp + 0x1c], 0x200
mov dword [eax], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
jne 0x4046c1
pop edi
xor eax, eax
pop ebx
add esp, 0x204
ret 8
mov ecx, dword [esp + 0x210]
push ebp
push esi
push ebx
mov eax, dword [ecx]
push 0x84000000
push ebx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
cmp esi, ebx
je 0x40471e
lea edx, [esp + 0x10]
push ebx
lea eax, [esp + 0x18]
push edx
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40471b
lea ecx, [esp + 0x14]
push ecx
call fcn.0040eaae
mov edx, dword [esp + 0x220]
add esp, 4
mov ebx, 1
mov dword [edx], eax
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
add esp, 0x204
ret 8
Function at 0x4058a0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x42ccc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [esp + 0x1c]
push 0
push eax
call fcn.0040e682
or edi, 0xffffffff
add esp, 8
cmp eax, edi
je 0x405914
mov ecx, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
test esi, esi
je 0x405914
cmp esi, edi
je 0x405914
lea edx, [esp + 8]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, edi
jne 0x405936
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.00421273
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x20]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.00421273
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x40e682
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40e6a2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00410b29
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40e6c5
test byte [esp + 8], 2
je 0x40e6c5
call fcn.00410b9c
mov dword [eax], 0xd
call fcn.00410ba5
mov dword [eax], 5
jmp 0x40e69e
xor eax, eax
ret
Function at 0x41c190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040eb00
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41c25b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41c25b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41c20e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41c219
or bh, 8
and edi, 0x8000000
je 0x41c234
mov eax, dword [0x442c9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41c25b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41c65b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x41c67f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41c69a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x420054
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x420096
call fcn.004292fd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x420096
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x42008d
xor eax, eax
jmp 0x42009e
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004200a4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4218cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4218ef
cmp dword [edi + 0x3c], 0
jne 0x4218ef
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004292fd
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0042191c
pop edi
pop esi
pop ebx
ret 8

Function at 0x42196a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004292fd
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x42199b
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004219ae
pop edi
pop esi
pop ebx
ret 8
Function at 0x421ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x42cfcc
call fcn.0040ee74
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004292fd
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x421cdf
call fcn.004292fd
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x421ced
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x421cfb
or eax, 0xffffffff
jmp 0x421de3
mov ecx, esi
call fcn.00421c16
mov dword [ebp - 0x14], eax
call fcn.0041e3e2
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x421d32
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x421d32
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041e396
push dword [ebp - 0x14]
call fcn.0041dec7
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004219ae
cmp eax, edi
je 0x421da5
test byte [esi + 0x24], 0x10
je 0x421d73
push 4
mov ecx, esi
pop ebx
call fcn.00420818
test ah, 1
je 0x421d6b
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004201a6
cmp dword [esi + 0x1c], edi
je 0x421da5
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00420989
jmp 0x421da5
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x421db9
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x421dd2
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x421dd2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00421c50
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x427ca5
Capabilities:
Create http request

Disassembly:
mov eax, 0x42d208
call fcn.0040ee74
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x427cdd
call fcn.004292fd
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x427d02
push eax
push dword [esi + 4]
call fcn.004288e5
jmp 0x427d0e
push esi
push eax
mov ecx, 0x440928
call fcn.00427d1f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x427fd0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42d267
call fcn.0040ee74
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00423543
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x43aa64]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.004213fc
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004213fc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x401e50
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401e83
xor al, al
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push edi
and edx, 0xffff
push ecx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
pop ecx
ret
Function at 0x40893e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
and edx, eax
call fcn.00408972
mov eax, eax
sub edx, 1
xor dword [edi], ecx
sub edx, eax
push eax
mov eax, dword [esp]
add esp, 4
inc edi
push 0x1d974dad
mov edx, dword [esp]
add esp, 4
or eax, eax
cmp edi, ebx
jne fcn.0040893e
and edx, edx
ret
Function at 0x108e4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108e41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x108e407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e406a
add dl, dl
jne 0x108e4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e40dc
xor eax, eax
add dl, dl
jne 0x108e4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e417d
add dl, dl
jne 0x108e40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108e40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x108e4075
mov eax, 1
add dl, dl
jne 0x108e40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e40e1
sub eax, ebx
mov ebx, 1
jne 0x108e4128
mov ecx, 1
add dl, dl
jne 0x108e410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108e4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x108e413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108e414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e4136
cmp eax, 0x7d00
jae 0x108e416d
cmp eax, 0x500
jb 0x108e4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e4075
cmp eax, 0x7f
ja 0x108e4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x108e419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x108e4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10