joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d760
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43d77c
cmp dword [esi + 4], 0
je 0x43d7a9
test byte [ebx + 0x55], 1
jne 0x43d79b
mov eax, ebx
call fcn.0043c300
test eax, eax
jne 0x43d79b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d8b9
mov edx, esi
mov eax, ebx
call fcn.0043d284
jmp 0x43d8b9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43d8b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f5d0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00439f9c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d760
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f5d0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d8b9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443f48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x479eb0]
cmp byte [eax + 0xc], 0
je 0x4440b5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4440ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ab68], 0
jne 0x443f9c
push 0x4440bc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4440c4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab68], eax
cmp dword [0x478cb0], 0
jne 0x444097
push 0x4440d4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x478cb0], eax
cmp dword [0x478cb0], 0
je 0x444097
push 0x4440e0
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab6c], eax
push 0x4440f0
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab70], eax
push 0x444104
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab74], eax
push 0x44411c
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab78], eax
push 0x444134
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab7c], eax
push 0x444148
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab80], eax
push 0x444160
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab84], eax
push 0x444178
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab88], eax
push 0x444194
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab8c], eax
push 0x4441a0
mov eax, dword [0x478cb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4440b5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x44f6cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f71c]
test si, 4
je 0x44f6e0
or bl, 1
test si, 8
je 0x44f6ea
or bl, 4
test si, 1
je 0x44f6f4
or bl, 8
test si, 2
je 0x44f6fe
or bl, 0x10
test si, 0x10
je 0x44f708
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f717
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f758]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f739
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f748
or bl, 4
test esi, 0x20000000
je 0x44f753
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455e00
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455e12
add esp, 0xfffffff0
call fcn.00403538
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fc7c
mov eax, dword [0x4799c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4561a4
mov eax, dword [0x4799d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4561b0
mov eax, ebx
call fcn.004561bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
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, 0x4525d8
push eax
push 0
push 0
mov eax, dword [0x479bd4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4216d0]
call fcn.00422d6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4216d0]
call fcn.00422d6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4216d0]
call fcn.00422d6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045666c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456500
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456500
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456500
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455f4f
call fcn.00403590
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4562e4
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 0x45648f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456470
mov dl, 1
mov eax, dword [0x41835c]
call fcn.004031e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45645f
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.004442a8
test al, al
je 0x456452
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, 0x4564a0
lea eax, [ebp - 0x254]
call fcn.004090ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456452
xor eax, eax
push ebp
push 0x45644b
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 0x4564d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456434
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041d4
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 0x456434
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456452
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456355
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041be6c
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 0x456496
lea eax, [ebp - 0x260]
call fcn.00403f64
ret

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

Disassembly:
push ecx
mov eax, dword [0x47abb4]
cmp byte [eax + 0xa5], 0
jne 0x456e7d
cmp dword [0x47abcc], 0
jne 0x456e3e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456dc8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47abcc], eax
cmp dword [0x47abc8], 0
jne 0x456e59
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47abc8], eax
cmp dword [0x47abd0], 0
jne 0x456e7d
push esp
push 0
push 0
push 0x456d6c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47abd0], eax
pop edx
ret
Function at 0x456f74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456f8b
add esp, 0xfffffff0
call fcn.00403538
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fc7c
mov eax, dword [0x479bb8]
cmp word [eax + 2], 0
jne 0x456fb3
mov eax, dword [0x479bb8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045864c
mov eax, dword [0x479cbc]
cmp word [eax + 2], 0
jne 0x456fcd
mov eax, dword [0x479cbc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458844
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417f40]
call fcn.004031e4
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 [0x4220d8]
call fcn.00429450
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457154
mov eax, dword [0x479a5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429820
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458de4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x479a5c]
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.0040cc5c
test eax, eax
je 0x4570c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408aa0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc84
test eax, eax
je 0x4570d6
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.004041d4
mov eax, dword [0x4798ac]
cmp byte [eax], 0
jne 0x45710a
mov eax, ebx
call fcn.0045727c
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.00458fc0
mov eax, ebx
call fcn.00459984
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45714a
call fcn.00403590
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4574fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47abb4]
cmp dword [eax + 0x30], 0
je 0x4575a6
cmp dword [ebx + 0x94], 0
jne 0x4575a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45748c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4575a0
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 0x457566
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4575a0
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.0041a2dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457575
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458108
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 0x45813d
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.00404054
jmp 0x45814a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45919c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4591dd
mov eax, esi
call fcn.0043f8d4
test al, al
je 0x4591dd
mov eax, dword [ebx + 0x84]
call fcn.0043f5d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4591dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f5d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10001ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10001eaf
pop dword [ebp - 0xc]
mov eax, 0x62c947a2
add eax, 0xad36d70d
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x97b1f8cc
sub dword [ebp - 0x1c], 0x495fb381
mov dword [ebp - 0x18], 0xeafaad6d
sub dword [ebp - 0x18], 0xb8c76128
mov dword [ebp - 0x14], 0x245896b7
add dword [ebp - 0x14], 0x27f3ad77
mov dword [ebp - 0x10], 0x330003eb
add dword [ebp - 0x10], 0xccfffc15
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfaefd89d
add dword [ebp - 0x1c], 0x798290b9
mov dword [ebp - 0x18], 0x3c8b862b
sub dword [ebp - 0x18], 0xfb1f24b6
mov dword [ebp - 0x14], 0xf06d73d
sub dword [ebp - 0x14], 0xab976ad1
mov dword [ebp - 0x10], 0x53d4cd7d
add dword [ebp - 0x10], 0xac2b3283
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xdb231b10
add eax, 0x34e0d53c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x4a8b8
push 0
call eax
mov ecx, 0x6abcb700
sub ecx, 0x6abc5d04
xor edx, edx
add edx, eax
mov esi, 0x10054e00
add esi, dword [ebp - 0xc]
mov ebx, 0x6686d388
sub ebx, 0x9cbba0ac
xor dword [ebp - 4], eax
mov edi, dword [esi]
add dword [ebp - 4], 0xea8f5814
add edi, ebx
xor dword [ebp - 8], 0x7b052d23
mov dword [edx], edi
xor dword [ebp - 8], ecx
add edx, 0xed154bc9
add edx, 0x12eab43b
add esi, 4
loop 0x10001fc8
add eax, 0x4b9c52cf
add eax, 0xb46507f4
mov ebx, eax
add eax, 5
mov ecx, 0xcaed4f30
add ecx, 0x4512b0d0
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100366e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004e28c]
cmp eax, 0xffffffff
jne 0x10036716
xor ebx, ebx
jmp 0x1003671f
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003675f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003679e
test esi, esi
jne 0x100367a2
push 0x10035270
push 0x1004fad8
call fcn.10001ea0
mov eax, dword [0x1004e28c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003675f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003678c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100367e4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100367cd
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100367a2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036730
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10036809
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x10036809
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10001ea0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100367f0
jmp 0x10036730
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000e1cb
pop dword [ebp - 0x14]
mov eax, 0x1000e1cb
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x33091
push 0
mov eax, 0xe42e1c18
sub eax, 0xd42cdbb4
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x393aae8b
add ecx, 0xc6c58193
mov edi, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x14]
mov ebx, 0x7e936cac
sub ebx, 0xc0b894a0
add dword [ebp - 4], 0xad5d141
mov edx, dword [esi]
sub dword [ebp - 0xc], ecx
add edx, ebx
xor dword [ebp - 4], 0xa8ac25d5
mov dword [edi], edx
add dword [ebp - 8], edi
add edi, 0x593a59ac
add edi, 0xa6c5a658
add esi, 0xb6dc9602
sub esi, 0xb6dc95fe
loop 0x1000e21f
add eax, 0xb34b
xor ebx, ebx
add ebx, eax
add eax, 0xba0cef0c
add eax, 0x45f310f9
mov ecx, 0xb13d9c3f
add ecx, 0x5ec263c1
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748