joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450bd4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4ceb48]
cmp byte [eax + 0xa5], 0
jne 0x450c4b
cmp dword [0x4ceb60], 0
jne 0x450c09
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450b90
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ceb60], eax
cmp dword [0x4ceb5c], 0
jne 0x450c24
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4ceb5c], eax
cmp dword [0x4ceb64], 0
jne 0x450c4b
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x450b30
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4ceb64], eax
pop ecx
pop ebp
ret

Function at 0x450d14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00450cac
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x450d35
xor eax, eax
call fcn.00450ce4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x450d4f
mov al, 1
call fcn.00450ce4
mov esp, ebp
pop ebp
ret

Function at 0x451498
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4ceb48]
cmp dword [eax + 0x30], 0
je 0x451562
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x451559
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x451418
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x451559
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451513
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x451559
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041bff8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x451528
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45227c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x4522c1
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404150
jmp 0x4522d2
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004040b4
mov esp, ebp
pop ebp
ret
Function at 0x453694
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4536e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004605c8
test al, al
je 0x4536e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004602c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4536e7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004602c4
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4575c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4cebac], 0
je 0x45770f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4cd7f4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45770f
mov eax, dword [0x4cebb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4cebac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4576de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4cebac]
call fcn.0041bff8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4576d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4576d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4576d6
mov eax, dword [ebp - 0x14]
call fcn.004602c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4576d6
push ebp
call fcn.0045757c
pop ecx
test al, al
jne 0x4576d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x457692
mov eax, dword [ebp - 0x14]
call fcn.0045edf4
dec eax
jle 0x4576d6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004034cc
cmp byte [ebp - 1], 0
je 0x4576d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4576d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4cebb0]
call fcn.00456d44
inc edi
dec ebx
jne 0x457625
mov eax, dword [0x4cebb0]
cmp dword [eax + 8], 0
jle 0x4576f6
mov eax, dword [0x4cebb0]
call fcn.00456dd4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45770f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004573e4
pop ecx
test al, al
jne 0x45770f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x45ad9c
mov eax, esi
call fcn.0044781c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45ad9c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45ad9c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x45aedb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45addc
cmp eax, 0x108
ja 0x45addc
mov eax, esi
call fcn.0044781c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45aed2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45aedb
jmp 0x45aed2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45aebb
cmp eax, 0x20a
ja 0x45aebb
test byte [esi + 0x50], 0x80
jne 0x45ae0e
sub eax, 0x203
je 0x45ae0b
sub eax, 3
je 0x45ae0b
sub eax, 3
jne 0x45ae0e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45ae22
dec eax
je 0x45ae37
dec eax
je 0x45ae54
dec eax
je 0x45ae37
jmp 0x45ae5b
mov ecx, ebx
mov eax, dword [0x4cd7f4]
mov eax, dword [eax]
mov edx, esi
call fcn.00453518
jmp 0x45aed2
cmp byte [esi + 0x5d], 1
jne 0x45ae4d
mov eax, esi
mov si, 0xffed
call fcn.004034cc
jmp 0x45aedb
or word [esi + 0x54], 1
jmp 0x45aed2
and word [esi + 0x54], 0xfffe
jmp 0x45aed2
mov eax, dword [0x4ceb68]
cmp byte [eax + 0x20], 0
je 0x45aed2
mov eax, dword [0x4ceb68]
cmp dword [eax + 0x1c], 0
je 0x45aed2
mov eax, dword [ebx]
mov edx, dword [0x4ceb68]
cmp eax, dword [edx + 0x1c]
jne 0x45aed2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044770c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034cc
jmp 0x45aedb
cmp eax, 0xb00b
jne 0x45aed2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00459638
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e454
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 0x45e470
cmp dword [esi + 4], 0
je 0x45e49d
test byte [ebx + 0x55], 1
jne 0x45e48f
mov eax, ebx
call fcn.0045cff4
test eax, eax
jne 0x45e48f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45e5ad
mov edx, esi
mov eax, ebx
call fcn.0045df78
jmp 0x45e5ad
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 0x45e5a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004602c4
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.0045ac84
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045e454
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.004602c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e5ad
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 0x464cf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cda78]
cmp byte [eax + 0xc], 0
je 0x464e5d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464e56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cebbc], 0
jne 0x464d44
push 0x464e64
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x464e6c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebbc], eax
cmp dword [0x4cbfb8], 0
jne 0x464e3f
push 0x464e7c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cbfb8], eax
cmp dword [0x4cbfb8], 0
je 0x464e3f
push 0x464e88
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebc0], eax
push 0x464e98
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebc4], eax
push 0x464eac
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebc8], eax
push 0x464ec4
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebcc], eax
push 0x464edc
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebd0], eax
push 0x464ef0
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebd4], eax
push 0x464f08
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebd8], eax
push 0x464f20
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebdc], eax
push 0x464f3c
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebe0], eax
push 0x464f48
mov eax, dword [0x4cbfb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cebe4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e5d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4695c0
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.00404060
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46960f
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.004042d0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bca63
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4cd176
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4bcabb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4cd197
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4bcab1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4bcabf
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4c98a4
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x14]
shr eax, 1
add eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x10007e64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1014e250]
jne 0x10007e6e
repz ret
jmp fcn.10010dd5

Function at 0x1000edc1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100056c9
and dword [ebp - 4], 0
cmp dword [0x1015008c], 0
mov ebx, eax
jne 0x1000ee72
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ef23
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000ef23
push eax
call fcn.10005657
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015008c], eax
call esi
push eax
call fcn.10005657
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10150090], eax
call esi
push eax
call fcn.10005657
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10150094], eax
call esi
push eax
call fcn.10005657
pop ecx
mov dword [0x1015009c], eax
test eax, eax
je 0x1000ee72
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005657
pop ecx
mov dword [0x10150098], eax
mov eax, dword [0x10150098]
cmp eax, ebx
je 0x1000eeca
cmp dword [0x1015009c], ebx
je 0x1000eeca
push eax
call fcn.100056d2
push dword [0x1015009c]
mov esi, eax
call fcn.100056d2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000eeca
test edi, edi
je 0x1000eeca
call esi
test eax, eax
je 0x1000eec1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000eec1
test byte [ebp - 0xc], 1
jne 0x1000eeca
or dword [ebp + 0x10], 0x200000
jmp 0x1000ef03
mov eax, dword [0x10150090]
cmp eax, ebx
je 0x1000ef03
push eax
call fcn.100056d2
pop ecx
test eax, eax
je 0x1000ef03
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000ef03
mov eax, dword [0x10150094]
cmp eax, ebx
je 0x1000ef03
push eax
call fcn.100056d2
pop ecx
test eax, eax
je 0x1000ef03
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015008c]
call fcn.100056d2
pop ecx
test eax, eax
je 0x1000ef23
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ef25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100152d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
call fcn.10015a10
xor ecx, ecx
mov edx, dword [0x1014d4c0]
add edx, 0xffffd978
mov dword [0x1014d4c4], edx
mov dword [0x1014d4c0], 0x1c86
mov edx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
imul esi, eax, 0x94
mov edi, edx
add edi, esi
add edi, 0x90
mov esi, dword [edi]
imul edi, eax, 0x94
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x30f
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x1001530d
lea eax, [0x10019681]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x1014d4c0], 0x18e9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
call fcn.100154f0
mov dword [0x1014d4c0], 0x1dfa
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.100154c0
mov ecx, eax
mov dword [0x1014d4e0], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x1014d4c4]
add edx, 0x8af
mov dword [0x1014d4c0], edx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0x94
mov edi, edx
add edi, esi
add edi, 0x90
mov esi, dword [edi]
imul edi, eax, 0x94
mov ebx, edx
add ebx, edi
add ebx, 0x28
mov edi, dword [ebx]
imul ebx, eax, 0x94
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.100157d0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x30f
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x100153e5
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.10015a30
xor eax, eax
mov dword [0x1014d4c0], 0x1ca4
mov ecx, dword [ebp - 0x4c]
add ecx, 0x120d02
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x113a00
mov ecx, dword [ebp - 0x4c]
add ecx, 0x11a55c
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10015880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x1014d4c0]
add esi, 0xfffff334
mov dword [0x1014d4c0], esi
mov dword [0x1014d4cc], 0
mov byte [0x1014d4d0], 0
mov dword [0x1014d4c8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [0x1014d4c8]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1014d4c0], 0x4fb
mov eax, dword [0x1014d4c8]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x1014d4c8], eax
cmp eax, 0x100
jl 0x100158c8
mov dword [0x1014d4c4], 0x1cd8
mov dword [0x1014d4c8], 0
mov eax, 0x100
mov dword [0x1014d4d4], 0
mov ecx, dword [0x1014d4cc]
mov edx, dword [0x1014d4c8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1014d4d4], edi
mov dword [0x1014d4c0], 0x253d
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x1014d4cc], edx
mov dword [0x1014d4c4], 0x2618
mov ecx, dword [0x1014d4c8]
mov bl, byte [esi + ecx]
mov byte [0x1014d4d0], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x1014d4c0], 0x1673
mov bl, byte [0x1014d4d0]
mov ecx, dword [0x1014d4cc]
mov byte [esi + ecx], bl
mov ecx, dword [0x1014d4c8]
add ecx, 1
mov dword [0x1014d4c8], ecx
cmp ecx, 0x100
jl 0x10015911
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10015ae0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0xc], 0
mov dword [0x1014d4c0], 0x26ad
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dword [0x1014d4c4], 0xd73
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1014d4c0]
mov edi, esi
add edi, 0x739
mov dword [0x1014d4c0], edi
add esi, 0xffffeba1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10015b9c
mov dword [0x1014d4c4], 0xcfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10015c35
mov dword [0x1014d4c0], 0x18db
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10015c0f
jmp 0x10015c35
mov dword [0x1014d4c4], 0x1c0d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10015bf0
jmp 0x10015c35
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10015bc9
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
jl 0x10015b9c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [0x1014d4c4], ecx
mov dword [0x1014d4c0], 0x2024
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10015b7e
jmp 0x10015c35
mov dword [0x1014d4c4], 0x636
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10015b3f
jmp 0x10015c35
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10015c35
mov eax, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x10015c44
xor eax, eax
mov dword [0x1014d4c0], 0x224d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x24
pop esi
pop edi
pop ebp
ret

Function at 0x10016320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0xde1
lea ecx, [fcn.10016320]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10016339
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jne 0x10016378
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0x4550
jne 0x10016378
mov eax, dword [ebp - 0x10]
mov dword [0x1014d4c0], eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
pop ebp
ret
mov eax, 0x1eb3
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10016339