joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e96ac
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e9857
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x4e9838
mov dl, 1
mov eax, dword [0x436990]
call fcn.004445d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406a68
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4e9827
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00489abc
test al, al
je 0x4e981a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4e9868
lea eax, [ebp - 0x394]
call fcn.0041d77c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4e981a
xor eax, eax
push ebp
push 0x4e9813
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4e98d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4e97fc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407698
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x4e97fc
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e981a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4e971d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044450c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e985e
lea eax, [ebp - 0x3a0]
call fcn.00406a68
ret

Function at 0x4ea3c0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5722a4]
cmp byte [eax + 0xb1], 0
jne 0x4ea432
cmp dword [0x5722c4], 0
jne 0x4ea3f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x569290]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5722c4], eax
cmp dword [0x5722c0], 0
jne 0x4ea40d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5722c0], eax
cmp dword [0x5722c8], 0
jne 0x4ea432
push esp
push 0
push 0
mov eax, dword [0x56928c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5722c8], eax
pop edx
ret
Function at 0x4ea6f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ea70f
add esp, 0xfffffff0
call fcn.00405438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044bdc0
mov eax, dword [0x56bd70]
cmp byte [eax], 0
jne 0x4ea73c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x56c358]
cmp word [eax + 2], 0
jne 0x4ea756
mov eax, dword [0x56c358]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ec850
mov eax, dword [0x56c568]
cmp word [eax + 2], 0
jne 0x4ea770
mov eax, dword [0x56c568]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004eca54
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x456cd0]
call fcn.0045cb9c
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4eced0
mov dl, 1
mov eax, dword [0x43323c]
call fcn.00404e84
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43323c]
call fcn.00404e84
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x45b4a8]
call fcn.004657d8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x4ea954
mov eax, dword [0x56c110]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00465bd8
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4ed190
mov dl, 1
mov eax, dword [0x43323c]
call fcn.00404e84
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x56c110]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041d4e8
test eax, eax
je 0x4ea884
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041d2d0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041d4cc
test eax, eax
je 0x4ea89c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407698
push ebx
push 0x4ec234
call fcn.004e09bc
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x56bd70]
cmp byte [eax], 0
jne 0x4ea8ed
mov eax, ebx
call fcn.004eab14
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.004ed3c4
mov eax, ebx
call fcn.004edff0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ea94a
call fcn.00405490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eae3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x4eaede
cmp dword [ebx + 0x98], 0
jne 0x4eaed8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ead78
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x4eaed8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4eae9e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4eaed8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00440784
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4eaead
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4eb0fc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5722a4]
cmp dword [eax + 0x178], 0
je 0x4eb261
test bl, bl
jne 0x4eb1af
cmp dword [esi + 0xa0], 0
jne 0x4eb1a4
mov eax, esi
call fcn.004ede40
push eax
push 0x4eb008
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x4eb175
mov eax, dword [0x5722a4]
cmp byte [eax + 0xd7], 0
je 0x4eb175
mov eax, dword [esi + 0xdc]
call fcn.00408558
mov edi, eax
cmp edi, 0
jl 0x4eb175
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4eb15e
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4eb1a4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00440784
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4eb184
inc dword [esi + 0xa0]
jmp 0x4eb261
cmp dword [esi + 0xa0], 0
jle 0x4eb261
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x4eb261
cmp dword [esi + 0x48], 0
je 0x4eb20c
mov eax, dword [0x5722a4]
cmp byte [eax + 0xd7], 0
je 0x4eb20c
mov eax, dword [esi + 0xdc]
call fcn.00408558
mov edi, eax
cmp edi, 0
jl 0x4eb20c
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4eb1f5
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4eb23b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00440784
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4eb21b
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x4dd940]
call fcn.00408704
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ebe80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x4ebeeb
cmp byte [ebx + 0xd7], 0
jne 0x4ebeeb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406bd0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ebed8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ebef8
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406e28
jmp 0x4ebef8
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406e28
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ed5ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x4ed61a
mov eax, esi
call fcn.00483b98
test al, al
je 0x4ed61a
mov eax, dword [ebx + 0x88]
call fcn.004837ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ed61a
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x4ed60e
push 0
mov eax, dword [ebx + 0x88]
call fcn.004837ec
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0047aa28
jmp 0x4ed61a
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.004ed3e4
pop esi
pop ebx
ret
Function at 0x4f1518
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x4f1592
mov eax, dword [ebx + 8]
call fcn.004837ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x48f3cc]
call fcn.0047dda8
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004938c4
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x4f0e2c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004837ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004837ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x4f1608
mov eax, dword [ebx + 8]
call fcn.004837ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x48f3cc]
call fcn.0047dda8
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004938c4
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x4f0e78
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004837ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004837ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x4f1674
mov eax, dword [ebx + 8]
call fcn.004837ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x48fe08]
call fcn.0047dda8
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.004837ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.004837ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x513e2c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x513f54
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00513d18
mov eax, dword [esi]
call fcn.00408550
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417b5c]
call fcn.00408704
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404710
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404710
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408550
mov dword [ebp - 0xc], eax
mov eax, dword [0x56c784]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00504670
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404aa0
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408550
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0050464c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.00504450
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00504668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513f5b
lea eax, [ebp - 4]
mov edx, dword [0x417b5c]
call fcn.00408710
ret

Function at 0x522b54
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407770
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x522b79
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004075dc
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x522b98
mov eax, ebx
mov edx, dword [esp]
call fcn.00407770
pop ecx
pop edx
pop ebx
ret
Function at 0x5576c8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00404aa0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x558604
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x55860d
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x558791
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x5587a4
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x558787
xor eax, eax
push ebp
push 0x558780
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.004075dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x438098]
call fcn.004450a8
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x10000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x10018]
push eax
push 0x16
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoW
test bl, bl
je 0x5586c9
lea edx, [ebp - 0x10018]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 4], 0
je 0x558769
xor eax, eax
push ebp
push 0x558762
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x558744
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x558702
lea edx, [ebp - 0x10018]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x10018]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x558724
cmp dword [ebp - 0xc], 0
ja 0x5586f1
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.004451d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55874b
mov eax, dword [ebp - 0x14]
call fcn.00404eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558787
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55879b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x558cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x558d83
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
mov edx, ebx
lea eax, [ebp - 0x200]
call fcn.0041d5e8
call fcn.0040492c
push dword [ebx]
mov eax, 0xf4240
call fcn.00404954
lea edx, [ebp - 0x204]
call fcn.0041c740
push dword [ebp - 0x204]
push 0x558d9c
mov eax, ebx
mov edx, 3
call fcn.004078d0
mov eax, dword [ebx]
call fcn.0041cf28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558d8a
lea eax, [ebp - 0x204]
call fcn.00406a68
ret

Function at 0x5597fc
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b4c
mov eax, dword [ebp - 8]
call fcn.00406b4c
xor eax, eax
push ebp
push 0x55988a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x559863
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004075dc
push eax
mov eax, dword [ebp - 4]
call fcn.004075dc
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55986f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559891
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ac8
ret

Function at 0x559c14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba4
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b4c
xor eax, eax
push ebp
push 0x559cc0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x406]
mov edx, dword [ebp - 4]
call fcn.0041d378
lea eax, [ebp - 0x44c]
xor ecx, ecx
mov edx, 0x44
call fcn.00404aa0
mov dword [ebp - 0x44c], 0x44
mov dword [ebp - 0x420], 1
test bl, bl
je 0x559c79
mov eax, 1
jmp 0x559c7b
xor eax, eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x406]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559cc7
lea eax, [ebp - 4]
call fcn.00406a68
ret

Function at 0x55a684
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [0x572534]
mov eax, 0x55a6cc
call fcn.00407b64
test eax, eax
jle 0x55a6be
push 1
push 0
push 0
mov eax, dword [0x572534]
call fcn.004075dc
push eax
push 0x55a6dc
mov eax, ebx
call fcn.004837ec
push eax
call sub.shell32.dll_ShellExecuteW
pop ebx
ret
Function at 0x55ac18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b4c
xor eax, eax
push ebp
push 0x55ad3e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406e70
push 0xa
mov eax, dword [ebp - 8]
call fcn.004075dc
push eax
mov eax, dword [0x56fc48]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
je 0x55ad1b
push ebx
mov eax, dword [0x56fc48]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push ebx
mov eax, dword [0x56fc48]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
xor edx, edx
push ebp
push 0x55acfe
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x55acf4
push edi
push 0
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
mov ecx, edi
mov edx, eax
mov eax, ebx
call fcn.00404710
lea eax, [ebp - 0xc]
call fcn.00409c34
push eax
push 0
push esi
call sub.ole32.dll_CreateStreamOnHGlobal
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4f74f8]
call fcn.00502a30
mov dword [ebp - 0x10], eax
push esi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0xc]
call fcn.00409c34
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55ad1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55ad45
lea eax, [ebp - 0xc]
call fcn.00409c34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ac8
ret
Function at 0x105e8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105e81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105e807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e806a
add dl, dl
jne 0x105e8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e80dc
xor eax, eax
add dl, dl
jne 0x105e8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e817d
add dl, dl
jne 0x105e80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105e80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105e8075
mov eax, 1
add dl, dl
jne 0x105e80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e80e1
sub eax, ebx
mov ebx, 1
jne 0x105e8128
mov ecx, 1
add dl, dl
jne 0x105e810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105e813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e8136
cmp eax, 0x7d00
jae 0x105e816d
cmp eax, 0x500
jb 0x105e8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e8075
cmp eax, 0x7f
ja 0x105e8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105e819e
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 0x105e8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10