joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ae50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45eec0]
cmp byte [eax + 0xc], 0
je 0x43afbd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43afb6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45fb64], 0
jne 0x43aea4
push 0x43afc4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43afcc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb64], eax
cmp dword [0x45db78], 0
jne 0x43af9f
push 0x43afdc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45db78], eax
cmp dword [0x45db78], 0
je 0x43af9f
push 0x43afe8
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb68], eax
push 0x43aff8
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb6c], eax
push 0x43b00c
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb70], eax
push 0x43b024
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb74], eax
push 0x43b03c
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb78], eax
push 0x43b050
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb7c], eax
push 0x43b068
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb80], eax
push 0x43b080
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb84], eax
push 0x43b09c
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb88], eax
push 0x43b0a8
mov eax, dword [0x45db78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43afbd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ee48
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404688
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ee97
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4465d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446624]
test si, 4
je 0x4465e8
or bl, 1
test si, 8
je 0x4465f2
or bl, 4
test si, 1
je 0x4465fc
or bl, 8
test si, 2
je 0x446606
or bl, 0x10
test si, 0x10
je 0x446610
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44661f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446628
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446660]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446641
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446650
or bl, 4
test esi, 0x20000000
je 0x44665b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cd08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cd1a
add esp, 0xfffffff0
call fcn.00403c5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f1c
mov eax, dword [0x45eb84]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d0ac
mov eax, dword [0x45eb90]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d0b8
mov eax, ebx
call fcn.0044d0c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4494e0
push eax
push 0
push 0
mov eax, dword [0x45ecd4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b948]
call fcn.0041cd8c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b948]
call fcn.0041cd8c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b948]
call fcn.0041cd8c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d4e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d3c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d3c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d3c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ce57
call fcn.00403cb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d1a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d34f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d330
mov dl, 1
mov eax, dword [0x412230]
call fcn.00403920
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404688
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d31f
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.0043b1b0
test al, al
je 0x44d312
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d360
lea eax, [ebp - 0x254]
call fcn.004092bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d312
xor eax, eax
push ebp
push 0x44d30b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d398
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d2f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x44d2f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d312
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d215
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415fdc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d356
lea eax, [ebp - 0x260]
call fcn.00404688
ret

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

Disassembly:
push ecx
mov eax, dword [0x45fbb0]
cmp byte [eax + 0xa5], 0
jne 0x44dcf5
cmp dword [0x45fbc8], 0
jne 0x44dcb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dc40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45fbc8], eax
cmp dword [0x45fbc4], 0
jne 0x44dcd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45fbc4], eax
cmp dword [0x45fbcc], 0
jne 0x44dcf5
push esp
push 0
push 0
push 0x44dbe4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45fbcc], eax
pop edx
ret
Function at 0x44ddec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44de03
add esp, 0xfffffff0
call fcn.00403c5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f1c
mov eax, dword [0x45ecc0]
cmp word [eax + 2], 0
jne 0x44de2b
mov eax, dword [0x45ecc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f554
mov eax, dword [0x45ed70]
cmp word [eax + 2], 0
jne 0x44de45
mov eax, dword [0x45ed70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f74c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.00403920
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c0f8]
call fcn.00421d40
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44dfcc
mov eax, dword [0x45ebe4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422110
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fcfc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45ebe4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c9b8
test eax, eax
je 0x44df3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c74
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c9e0
test eax, eax
je 0x44df4e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048f8
mov eax, dword [0x45eae8]
cmp byte [eax], 0
jne 0x44df82
mov eax, ebx
call fcn.0044e0f4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044fed8
mov eax, ebx
call fcn.0045089c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dfc2
call fcn.00403cb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e374
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fbb0]
cmp dword [eax + 0x30], 0
je 0x44e41e
cmp dword [ebx + 0x94], 0
jne 0x44e418
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e304
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e418
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_GetWindowLongA
test al, 8
je 0x44e3de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e418
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041444c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e3ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ef80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44efb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404778
jmp 0x44efc2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4500b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4500f5
mov eax, esi
call fcn.00436924
test al, al
je 0x4500f5
mov eax, dword [ebx + 0x84]
call fcn.00436620
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4500f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436620
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455174
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45de64]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45de64]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x45de64]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45de64]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x45dde8]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x45de64]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45de64]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x45de64]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45de64]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4551bf
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x45866c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00406fbc
ret

Function at 0x458d84
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x458d9d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x458d96
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x458daf
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x458da8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00458c08
mov ebx, 6
lea eax, [ebp - 0xa]
mov edx, dword [ebp - 4]
mov cl, byte [edx]
xor cl, byte [eax]
and ecx, 0xff
and ecx, 0xff
mov byte [eax], cl
inc edx
inc eax
dec ebx
jne 0x458dc9
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
and edx, 0xff
mov byte [ebp - 0x12], dl
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or eax, ecx
and eax, 0xff
mov byte [ebp - 0x11], al
and dl, 0xf
and edx, 0xff
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or edx, ecx
and edx, 0xff
mov byte [ebp - 0x10], dl
and al, 0x3f
and eax, 0xff
and eax, 0xff
mov byte [ebp - 0xf], al
xor eax, eax
mov al, byte [ebp - 7]
shr eax, 2
and eax, 0xff
mov byte [ebp - 0xe], al
mov al, byte [ebp - 7]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or eax, edx
and eax, 0xff
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
and eax, 0xff
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or eax, edx
and eax, 0xff
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
and eax, 0xff
and eax, 0xff
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00458cac
and eax, 0xff
and eax, 0xff
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x458ea6
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 4
movzx esi, byte [eax + 1]
or ecx, esi
and ecx, 0xff
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x458ecd
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00458cf4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xff
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x458f01
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b76c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
mov eax, dword [0x45ed54]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00408e4c
add esp, 0x104
pop ebx
ret

Function at 0x45b7ac
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov esi, edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x1c]
xor eax, eax
push ebp
push 0x45b8fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404688
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, 0x400
xor eax, eax
push ebp
push 0x45b8dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x45b90c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b48
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000005
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x45b85f
cmp dword [ebp - 0x18], 0
jbe 0x45b85f
mov ebx, dword [ebp - 0x18]
push edi
push 0x400
lea eax, [ebp - 0x41d]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x45b8b1
cmp dword [edi], 0
jbe 0x45b8a8
sub ebx, dword [edi]
mov eax, dword [edi]
mov byte [ebp + eax - 0x41d], 0
lea edx, [ebp - 0x424]
lea eax, [ebp - 0x41d]
call fcn.00408e4c
mov edx, dword [ebp - 0x424]
mov eax, esi
call fcn.00404950
cmp dword [edi], 0
je 0x45b8b1
test ebx, ebx
jne 0x45b85f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8e4
cmp dword [ebp - 0xc], 0
je 0x45b8cd
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 8], 0
je 0x45b8dc
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x4019da
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x40
mov dword [ebp - 0x10], 0
lea ebx, [ebp - 0x37]
mov al, 0
mov edx, 0x27
mov edi, ebx
mov ecx, edx
rep stosb byte es:[edi], al
mov word [ebp - 0x37], 0x41
mov byte [ebp - 0x35], 0
mov word [ebp - 0x34], 0x32
mov byte [ebp - 0x32], 0
mov word [ebp - 0x31], 0x33
mov byte [ebp - 0x2f], 0
mov word [ebp - 0x2e], 0x34
mov byte [ebp - 0x2c], 0
mov word [ebp - 0x2b], 0x35
mov byte [ebp - 0x29], 0
mov word [ebp - 0x28], 0x36
mov byte [ebp - 0x26], 0
mov word [ebp - 0x25], 0x37
mov byte [ebp - 0x23], 0
mov word [ebp - 0x22], 0x38
mov byte [ebp - 0x20], 0
mov word [ebp - 0x1f], 0x39
mov byte [ebp - 0x1d], 0
mov word [ebp - 0x1c], 0x3031
mov byte [ebp - 0x1a], 0
mov word [ebp - 0x19], 0x4a
mov byte [ebp - 0x17], 0
mov word [ebp - 0x16], 0x51
mov byte [ebp - 0x14], 0
mov word [ebp - 0x13], 0x4b
mov byte [ebp - 0x11], 0
mov dword [esp], 0xfffffff5
call sym._GetStdHandle_4
sub esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cmp eax, 2
je 0x401ab6
cmp eax, 2
jg 0x401aa1
cmp eax, 1
je 0x401aad
jmp 0x401acf
cmp eax, 3
je 0x401abf
cmp eax, 4
je 0x401ac8
jmp 0x401acf
mov dword [ebp - 0x10], 0xe
jmp 0x401acf
mov dword [ebp - 0x10], 0xa
jmp 0x401acf
mov dword [ebp - 0x10], 0xb
jmp 0x401acf
mov dword [ebp - 0x10], 0xc
mov eax, dword [ebp - 0x10]
movzx eax, ax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._SetConsoleTextAttribute_8
sub esp, 8
mov eax, dword [ebp + 8]
lea edx, [eax - 1]
mov eax, edx
shl eax, 1
lea edx, [eax + edx]
lea eax, [ebp - 0x37]
add eax, edx
mov dword [esp + 4], eax
mov dword [esp], 0x404048
call sym._printf
mov dword [esp + 4], 0xf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._SetConsoleTextAttribute_8
sub esp, 8
lea esp, [ebp - 8]
add esp, 0
pop ebx
pop edi
leave
ret
Function at 0x4022c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4022e6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40237a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x402335
cmp eax, 0x40
je 0x402335
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4022d9
cmp eax, 0x40
je 0x4022d9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4022d9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]