joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4544b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4544f0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4544d1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4544e0
or bl, 4
test esi, 0x20000000
je 0x4544eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45aaf4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ab06
add esp, 0xfffffff0
call fcn.00403a50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dc88
mov eax, dword [0x4a8154]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ae98
mov eax, dword [0x4a8164]
mov dword [eax + 4], ebx
mov dword [eax], 0x45aea4
mov eax, ebx
call fcn.0045aeb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
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, 0x457378
push eax
push 0
push 0
mov eax, dword [0x4a82b4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f720]
call fcn.00420df4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f720]
call fcn.00420df4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f720]
call fcn.00420df4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b360
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b1f4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b1f4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b1f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ac43
call fcn.00403aa8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45afd8
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 0x45b183
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b164
mov dl, 1
mov eax, dword [0x4140d4]
call fcn.004036bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404458
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b153
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.00448554
test al, al
je 0x45b146
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, 0x45b194
lea eax, [ebp - 0x254]
call fcn.004096bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b146
xor eax, eax
push ebp
push 0x45b13f
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 0x45b1cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b128
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c0
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 0x45b128
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b146
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b049
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041828c
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 0x45b18a
lea eax, [ebp - 0x260]
call fcn.00404458
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a9c34]
cmp byte [eax + 0xa5], 0
jne 0x45bb71
cmp dword [0x4a9c4c], 0
jne 0x45bb32
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45babc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9c4c], eax
cmp dword [0x4a9c48], 0
jne 0x45bb4d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a9c48], eax
cmp dword [0x4a9c50], 0
jne 0x45bb71
push esp
push 0
push 0
push 0x45ba60
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a9c50], eax
pop edx
ret
Function at 0x45bc68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45bc7f
add esp, 0xfffffff0
call fcn.00403a50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dc88
mov eax, dword [0x4a829c]
cmp word [eax + 2], 0
jne 0x45bca7
mov eax, dword [0x4a829c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d344
mov eax, dword [0x4a8340]
cmp word [eax + 2], 0
jne 0x45bcc1
mov eax, dword [0x4a8340]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d53c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413be4]
call fcn.004036bc
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], 0x80000018
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 [0x4201a0]
call fcn.00427e54
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45be48
mov eax, dword [0x4a81bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428224
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45dabc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a81bc]
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.0040cd54
test eax, eax
je 0x45bdb6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fd8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd7c
test eax, eax
je 0x45bdca
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.004046c0
mov eax, dword [0x4a8078]
cmp byte [eax], 0
jne 0x45bdfe
mov eax, ebx
call fcn.0045bf70
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.0045dc98
mov eax, ebx
call fcn.0045e5d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45be3e
call fcn.00403aa8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c1e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9c34]
cmp dword [eax + 0x30], 0
je 0x45c28e
cmp dword [ebx + 0x94], 0
jne 0x45c288
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c174
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c288
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 0x45c24e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c288
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.00416284
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c25d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45cd6c
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 0x45cda1
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.00404548
jmp 0x45cdae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45de74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45deb5
mov eax, esi
call fcn.00443c48
test al, al
je 0x45deb5
mov eax, dword [ebx + 0x84]
call fcn.00443944
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45deb5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443944
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ffc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045fb08
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404908
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46001e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a82bc]
mov dl, 1
mov eax, dword [0x45f994]
call fcn.0040c0f4
call fcn.00403eb8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460028
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404908
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x460080
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a84c4]
mov dl, 1
mov eax, dword [0x45f994]
call fcn.0040c0f4
call fcn.00403eb8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045fb38
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47921c
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x4792ba
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x49df70]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x49df70]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x49df70]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x49df70]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x47923b
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4792d0
dec edx
je 0x479305
jmp 0x479356
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x49df70]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x49df70]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x479356
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x49df70]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x49df70]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x49df70]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4793b8
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x4793d7
add edx, 3
sar edx, 2
test edx, edx
jle 0x4794e4
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x3d
jg 0x47940d
je 0x47944d
sub ecx, 0x2b
je 0x479443
sub ecx, 4
je 0x479448
dec ecx
sub ecx, 0xa
jb 0x479436
jmp 0x479450
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x47941f
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x479429
jmp 0x479450
mov cl, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x479450
mov cl, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x479450
mov cl, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x479450
mov byte [eax], 0x3e
jmp 0x479450
mov byte [eax], 0x3f
jmp 0x479450
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4793ef
mov al, byte [esp + 4]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
mov dl, byte [esp + 6]
cmp dl, 0xff
je 0x4794a1
cmp byte [esp + 7], 0xff
jne 0x4794a1
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x4794d9
cmp dl, 0xff
je 0x4794d9
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x4793e6
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x47a37c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x47a39c
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x47a38a
pop edi
pop esi
pop ebx
ret

Function at 0x47c1a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
and ecx, 0xff
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jb 0x47c1b8
pop esi
pop ebx
ret
Function at 0x47fa60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x47fab4
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4a04a0]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4a08a0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x4a0ca0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4a10a0]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x47fa6f
pop edi
pop esi
pop ebx
ret

Function at 0x485774
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x4aad94
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x4a2ad4]
mov eax, dword [esi*4 + 0x4a2b14]
xor eax, dword [esp]
call fcn.00485718
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.00485754
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x4a2ae4]
mov eax, dword [esi*4 + 0x4a2b24]
xor eax, dword [esp]
call fcn.00485718
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.00485754
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x4a2af4]
mov eax, dword [esi*4 + 0x4a2b34]
xor eax, dword [esp]
call fcn.00485718
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.00485754
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x4a2b04]
mov eax, dword [esi*4 + 0x4a2b44]
xor eax, dword [esp]
call fcn.00485718
mov edi, eax
mov eax, edi
call fcn.00485754
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x485780
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4858d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jne 0x485912
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, 3
xor edx, edx
div ecx
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 3
mov ebx, dword [ebp - 8]
lea eax, [ebx + eax*2]
mov bx, word [eax]
and bx, 1
movzx ebx, bx
mov esi, dword [ecx]
add esi, esi
or esi, ebx
mov dword [ecx], esi
movzx esi, word [eax]
shr esi, 1
xor bx, 1
shl ebx, 0xf
or si, bx
mov word [eax], si
inc edx
cmp edx, 4
jne 0x48593f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jne 0x48592b
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x4858ee
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a9b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a9f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a9f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a9f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a9f2
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a9f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d671
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d70e
push ebx
push esi
call fcn.1001d63a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d5ce
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d6bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d70d
push edi
push eax
call fcn.1001e62c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d6db
call fcn.1001c114
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d70c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d5ce
add esp, 0x20
test eax, eax
jne 0x1001d6fa
push edi
call fcn.1001c114
jmp 0x1001d702
push ebx
call fcn.1001c114
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001d97b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001d897
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d9af
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001d9b5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d9f9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001d897
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001da30
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001da38
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001d897
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001da72
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002312d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002312d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1fb7a00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1fb7a0a
pushal
call 0x1fb7a10
pop ebp
sub ebp, 0x10
sub ebp, 0x1bb7a00
jmp 0x1fb7a26
mov eax, 0x1bb7a00
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0x65f2f8e8
xor byte [eax], dl
inc eax
dec ecx
jne 0x1fb7a3d
jmp 0x1fb7a50
arpl word [0xe8d46163], sp
call 0x1224e443
call 0x27e76348
push eax
out dx, al
call 0xc24e634f
call 0xc1b6354
jmp 0x1fb7a8e
add ch, ch
call 0xc7fd637f
call 0x8e616384
int3