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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450124]
cmp byte [eax + 0xc], 0
je 0x437815
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43780e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x4376fc
push 0x43781c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437824
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb00], 0
jne 0x4377f7
push 0x437834
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb00], eax
cmp dword [0x44fb00], 0
je 0x4377f7
push 0x437840
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x437850
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x437864
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x43787c
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x437894
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x4378a8
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x4378c0
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x4378d8
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x4378f4
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x437900
mov eax, dword [0x44fb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437815
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b6a0
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b6ef
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442e04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442e54]
test si, 4
je 0x442e18
or bl, 1
test si, 8
je 0x442e22
or bl, 4
test si, 1
je 0x442e2c
or bl, 8
test si, 2
je 0x442e36
or bl, 0x10
test si, 0x10
je 0x442e40
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442e4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442e58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442e90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442e71
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442e80
or bl, 4
test esi, 0x20000000
je 0x442e8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449538
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44954a
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191e4
mov eax, dword [0x44fdf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4498dc
mov eax, dword [0x44fe00]
mov dword [eax + 4], ebx
mov dword [eax], 0x4498e8
mov eax, ebx
call fcn.004498f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
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, 0x445d10
push eax
push 0
push 0
mov eax, dword [0x44ff44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ac08]
call fcn.0041c04c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ac08]
call fcn.0041c04c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ac08]
call fcn.0041c04c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449d14
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449bf0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449bf0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449bf0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449687
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4499d4
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 0x449b7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449b60
mov dl, 1
mov eax, dword [0x411838]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449b4f
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.00437a08
test al, al
je 0x449b42
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, 0x449b90
lea eax, [ebp - 0x254]
call fcn.0040894c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449b42
xor eax, eax
push ebp
push 0x449b3b
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 0x449bc8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449b24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x449b24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449b42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449a45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415314
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 0x449b86
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44a525
cmp dword [0x451bc8], 0
jne 0x44a4e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a470
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44a501
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44a525
push esp
push 0
push 0
push 0x44a414
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44a61c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a633
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191e4
mov eax, dword [0x44ff30]
cmp word [eax + 2], 0
jne 0x44a65b
mov eax, dword [0x44ff30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bcf4
mov eax, dword [0x44ffdc]
cmp word [eax + 2], 0
jne 0x44a675
mov eax, dword [0x44ffdc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044beec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41141c]
call fcn.004030a8
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 [0x41b3b8]
call fcn.00421000
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44a7fc
mov eax, dword [0x44fe54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004213d0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c48c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe54]
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.0040bff4
test eax, eax
je 0x44a76a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408340
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c01c
test eax, eax
je 0x44a77e
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.00404080
mov eax, dword [0x44fd58]
cmp byte [eax], 0
jne 0x44a7b2
mov eax, ebx
call fcn.0044a924
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.0044c668
mov eax, ebx
call fcn.0044d02c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a7f2
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44aba4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44ac4e
cmp dword [ebx + 0x94], 0
jne 0x44ac48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ab34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ac48
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 0x44ac0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ac48
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.00413784
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ac1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b7b0
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 0x44b7e5
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.00403f00
jmp 0x44b7f2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c844
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c885
mov eax, esi
call fcn.00433210
test al, al
je 0x44c885
mov eax, dword [ebx + 0x84]
call fcn.00432fb0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c885
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432fb0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x597a6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.005b2adc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x5d7a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.005b2adc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5d7a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 4]
xor eax, 0x12476359
mov dword [ebp + 4], eax
push eax
mov eax, dword [ebp]
xor eax, 0x97815643
mov dword [ebp], eax
push eax
mov ebx, dword [ebp - 4]
call fcn.00597a4d
mov eax, 0
cmp eax, ecx
jl 0x597b05
push 0x20b
push 0x4011022
push 1
call fcn.005b2af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00597a4d
mov eax, 0
cmp eax, ecx
jl 0x597b38
push 0x234
push 0x4011022
push 1
call fcn.005b2af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x597b4e
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x597b76
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x597b70
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x597b8f
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.005b39d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x597beb
push ebx
call fcn.005b2ad6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x597c00
push eax
pushfd
mov eax, dword [esp + 8]
xor eax, 0x97815643
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
xor eax, 0x12476359
mov dword [ebp + 4], eax
xchg dword [esp + 4], eax
popfd
pop eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.005b2ad6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.005b2ad6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5b4450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x5b446e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x5b4463
pop esi
ret

Function at 0x5b7b0a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005b7b89
jae 0x5b7b16
xor ecx, ecx
call fcn.005b7b89
jae 0x5b7b40
xor eax, eax
call fcn.005b7b89
jae 0x5b7b51
mov al, 0x10
call fcn.005b7b89
adc al, al
jae 0x5b7b32
jne 0x5b7b7e
stosb byte es:[edi], al
jmp 0x5b7b17
call fcn.005b7b95
dec ecx
loop 0x5b7b5d
mov eax, ebp
call fcn.005b7b93
jmp 0x5b7b7f
lodsb al, byte [esi]
shr eax, 1
je 0x5b7ba5
adc ecx, 2
mov ebp, eax
jmp 0x5b7b7f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005b7b93
cmp eax, 0x7d00
jae 0x5b7b7d
cmp eax, 0x500
jae 0x5b7b7e
cmp eax, 0x7f
ja 0x5b7b7f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5b7b17
pop ebp
ret 8

Function at 0x5f5f49
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.007367ba

Function at 0x61e20f
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov eax, dword [eax + 4]
test edi, 0x66113c46
cmp eax, 0x42792bda
add eax, 8
push eax
call fcn.005b2adc
pop ecx
pop esi
mov bx, dx
xchg bx, di
mov edi, eax
movsx ebx, cx
bswap bx
mov bx, 0x331a
rep movsb byte es:[edi], byte [esi]
not bl
sete bl
bswap esi
pop edi
pop esi
movzx cx, ah
stosd dword es:[edi], eax
bswap cx
movsx ebx, bp
cbw
mov ecx, 3
movsx ebx, cx
rep movsd dword es:[edi], dword [esi]
pop eax
sbb edi, edi
pop edi
mov dword [edi], eax
rcl bh, cl
shr ebx, cl
cmp ebp, eax
mov ebx, dword [ebp - 0x70]
clc
push ebx
cmp edi, 0x29803894
jmp 0x61cf80
add ebx, 4
stc
clc
push ebx
test sp, 0x440e
mov ebx, dword [ebx]
test ebx, ebx
je 0x61cfa0
push ebx
call fcn.005b2ad6
add esp, 4
xchg bl, bl
pop ebx
call fcn.005b2ad6
add esp, 4
cwde
not ax
push dword [esp + 0x30]
popfd
lea esp, [esp + 0x40]
call fcn.005f9963
stosd dword es:[edi], eax
movzx ax, cl
lodsd eax, dword [esi]
push esi
clc
cmc
push edi
clc
test sp, bx
test eax, 0x3e303414
test eax, eax
je 0x613482
push eax
jmp 0x61344e

Function at 0x66eaac
Capabilities:
Authenticate hmac

Disassembly:
mov dword [ebp - 4], 0
jmp 0x6f511b
stosd dword es:[edi], eax
lodsd eax, dword [esi]
jmp 0x6ce5fa
push ebp
mov ebp, esp
sub esp, 0x98
jmp 0x63caf7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x63b24d
stosd dword es:[edi], eax
jmp 0x6d078d
mov dword [ebp - 0xc], 0
jmp 0x6842fb
push 8
call fcn.005b2adc
add esp, 4
xchg di, si
movsx edi, cx
mov dword [ebp - 8], eax
movsx esi, bp
mov edi, eax
cbw
mov esi, 0x5b723e
movsx ax, dh
lodsd eax, dword [esi]
jmp 0x66c869
Function at 0x7379aa
Capabilities:
Authenticate hmac

Disassembly:
push esi
pushfd
mov esi, 0x149741e
call fcn.006ce3ea
Function at 0x7601b2
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
xor dword [esp + 0xc], 0x1b9e1148
push dword [esp + 8]
popfd
lea esp, [esp + 0x10]
call fcn.006cea05
push esi
jne 0x672e59
cmc

Function at 0x76a693
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
push dword [esp + 0x10]
popfd
lea esp, [esp + 0x20]
call fcn.0063ab0b

Function at 0x76c071
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov dword [esp + 4], 0xfd091814
pushfd
call fcn.00598bf7
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
jmp 0x401015
xor ebx, ebx
mov byte [ebp - 0x23], 0x78
mov dword [ebp - 4], ebx
mov byte [ebp - 0x1d], 0x77
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x22], 0x57
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x14], bl
jmp 0x40106f
lea eax, [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x4010a3
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], ebx
je 0x4010a3
push dword [ebp - 4]
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
pop ebx
leave
ret

Function at 0x40111c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
xor eax, eax
lea edi, [ebp - 0x27]
and dword [ebp - 4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x51
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x79
mov byte [ebp - 0x20], 0x56
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x45
mov byte [ebp - 0x1a], 0x78
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
jmp 0x4011b4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
jmp 0x4011da
test eax, eax
je 0x401212
jmp 0x4011ec
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x401212
jmp 0x401220
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x4014b6
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x4014cf
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40153f
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x40153f
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp + 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret