joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2116b1ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x211c3b48]
cmp dword [eax + 0x30], 0
je 0x2116b256
cmp dword [ebx + 0x94], 0
jne 0x2116b250
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x2116b13c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x2116b250
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 0x2116b216
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x2116b250
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.2113cb48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x2116b225
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x2116bdb4
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 0x2116bde9
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.211247d8
jmp 0x2116bdf6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.2112473c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x2116cfc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x2116d001
mov eax, esi
call fcn.21179ae0
test al, al
je 0x2116d001
mov eax, dword [ebx + 0x84]
call fcn.211797dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x2116d001
push 0
mov eax, dword [ebx + 0x84]
call fcn.211797dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x21170a50
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 [0x211c3bac], 0
je 0x21170b9f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x211c2c84]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x21170b9f
mov eax, dword [0x211c3bb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x211c3bac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x21170b6e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x211c3bac]
call fcn.2113cb48
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x21170b66
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x21170b66
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x21170b66
mov eax, dword [ebp - 0x14]
call fcn.211797dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x21170b66
push ebp
call fcn.21170a0c
pop ecx
test al, al
jne 0x21170b66
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x21170b22
mov eax, dword [ebp - 0x14]
call fcn.21178264
dec eax
jle 0x21170b66
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.21123b64
cmp byte [ebp - 1], 0
je 0x21170b66
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x21170b66
mov edx, dword [ebp - 0x14]
mov eax, dword [0x211c3bb0]
call fcn.211701d8
inc edi
dec ebx
jne 0x21170ab5
mov eax, dword [0x211c3bb0]
cmp dword [eax + 8], 0
jle 0x21170b86
mov eax, dword [0x211c3bb0]
call fcn.21170268
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x21170b9f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.21170874
pop ecx
test al, al
jne 0x21170b9f
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 0x211741b8
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 0x21174204
mov eax, esi
call fcn.211634f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x21174204
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x21174204
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 0x21174343
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x21174244
cmp eax, 0x108
ja 0x21174244
mov eax, esi
call fcn.211634f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x2117433a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x21174343
jmp 0x2117433a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x21174323
cmp eax, 0x20a
ja 0x21174323
test byte [esi + 0x50], 0x80
jne 0x21174276
sub eax, 0x203
je 0x21174273
sub eax, 3
je 0x21174273
sub eax, 3
jne 0x21174276
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x2117428a
dec eax
je 0x2117429f
dec eax
je 0x211742bc
dec eax
je 0x2117429f
jmp 0x211742c3
mov ecx, ebx
mov eax, dword [0x211c2c84]
mov eax, dword [eax]
mov edx, esi
call fcn.2116ce78
jmp 0x2117433a
cmp byte [esi + 0x5d], 1
jne 0x211742b5
mov eax, esi
mov si, 0xffed
call fcn.21123b64
jmp 0x21174343
or word [esi + 0x54], 1
jmp 0x2117433a
and word [esi + 0x54], 0xfffe
jmp 0x2117433a
mov eax, dword [0x211c3b68]
cmp byte [eax + 0x20], 0
je 0x2117433a
mov eax, dword [0x211c3b68]
cmp dword [eax + 0x1c], 0
je 0x2117433a
mov eax, dword [ebx]
mov edx, dword [0x211c3b68]
cmp eax, dword [edx + 0x1c]
jne 0x2117433a
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.2116343c
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.21123b64
jmp 0x21174343
cmp eax, 0xb00b
jne 0x2117433a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.21172ab4
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 0x211778c4
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 0x211778e0
cmp dword [esi + 4], 0
je 0x2117790d
test byte [ebx + 0x55], 1
jne 0x211778ff
mov eax, ebx
call fcn.21176464
test eax, eax
jne 0x211778ff
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x21177a1d
mov edx, esi
mov eax, ebx
call fcn.211773e8
jmp 0x21177a1d
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 0x21177a16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.211797dc
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.211740ec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.211778c4
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.211797dc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x21177a1d
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 0x2117e1e8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x211c2eac]
cmp byte [eax + 0xc], 0
je 0x2117e355
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x2117e34e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x211c3bbc], 0
jne 0x2117e23c
push 0x2117e35c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x2117e364
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bbc], eax
cmp dword [0x211befb4], 0
jne 0x2117e337
push 0x2117e374
call sub.kernel32.dll_LoadLibraryA
mov dword [0x211befb4], eax
cmp dword [0x211befb4], 0
je 0x2117e337
push 0x2117e380
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bc0], eax
push 0x2117e390
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bc4], eax
push 0x2117e3a4
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bc8], eax
push 0x2117e3bc
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bcc], eax
push 0x2117e3d4
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bd0], eax
push 0x2117e3e8
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bd4], eax
push 0x2117e400
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bd8], eax
push 0x2117e418
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3bdc], eax
push 0x2117e434
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3be0], eax
push 0x2117e440
mov eax, dword [0x211befb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x211c3be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2117e355
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x2117f884
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.211246e8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x2117f8d3
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.21124958
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x21189b3c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x21189cad
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x21189c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.211248d0
lea eax, [ebp - 0x118]
mov edx, 0x21189cc4
call fcn.211249b0
mov eax, dword [ebp - 0x118]
call fcn.21124ba8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x21189bfa
lea eax, [ebp - 0x111]
call fcn.21129bbc
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.211247d8
jmp 0x21189c01
mov eax, esi
call fcn.211246e8
cmp bl, 0x61
jae 0x21189c22
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.2112e110
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.2112473c
jmp 0x21189c3c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.2112e084
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.2112473c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x21189cd0
call fcn.2112a2dc
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.2112473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x21189c8f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x2118f0a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.21124b98
xor eax, eax
push ebp
push 0x2118f0fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.2118f17c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x2118f0e6
lea eax, [ebp - 4]
call fcn.2118f17c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x2118f0e8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2118f105
lea eax, [ebp - 4]
call fcn.211246e8
ret

Function at 0x2118f10c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.21124b98
xor eax, eax
push ebp
push 0x2118f170
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.2118f17c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.21129dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2118f177
lea eax, [ebp - 4]
call fcn.211246e8
ret
Function at 0x2118f770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.21124b98
xor eax, eax
push ebp
push 0x2118f869
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.2118ee3c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.211299d4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.2119015c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.211298b8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.211901d0
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2118f870
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.2112470c
ret
Function at 0x2118f878
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.21124b98
xor eax, eax
push ebp
push 0x2118f981
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.2118ee3c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x2118f947
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.211299d4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.2119015c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.211298b8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.211901d0
jmp 0x2118f959
xor edx, edx
mov eax, ebx
call fcn.2119015c
xor edx, edx
mov eax, ebx
call fcn.211901d0
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2118f988
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.2112470c
ret

Function at 0x211962a8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.211964dc
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.211964dc
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x2119631c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x21196341
inc esi
mov eax, edi
call fcn.21196300
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.211962a8
inc ebx
dec esi
jne 0x2119632b
pop edi
pop esi
pop ebx
ret
Function at 0x211963d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.21124b98
xor eax, eax
push ebp
push 0x21196445
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.21196348
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.21196300
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.211962a8
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x21196410
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2119644c
lea eax, [ebp - 4]
call fcn.211246e8
ret
Function at 0x21197008
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x211971ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x211971a8
mov eax, dword [ebp - 4]
call fcn.21198cec
cmp ebx, eax
jge 0x211971a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.2118d6dc
mov edx, dword [0x2118f210]
call fcn.21123b18
mov esi, eax
mov eax, esi
call fcn.211900f0
test al, al
je 0x2119719e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x21197192
xor eax, eax
push ebp
push 0x2119718b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.21197948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.2113ef78
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.21124d34
mov eax, dword [ebp - 8]
call fcn.21124c00
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.21197550
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x211971d6
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x2119718a
mov eax, dword [ebp - 4]
call fcn.211979cc
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.21129dc4
jmp 0x211971d6
mov eax, dword [ebp - 8]
call fcn.211246e8
jmp 0x211971d6
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.211292f0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x2113a370]
call fcn.2112d2a0
call fcn.211240fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x211971f3
lea eax, [ebp - 0x54]
call fcn.211246e8
ret
Function at 0x211bd010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
mov byte [ebp - 1], cl
mov ebx, edx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.21123300
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
cmp byte [ebp + 0xc], 0
je 0x211bd04b
mov word [ebp - 0x18], 1
jmp 0x211bd051
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.21124ba8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x211bd0a4
cmp byte [ebp - 1], 0
je 0x211bd091
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
test esi, esi
je 0x211bd0a4
mov edx, esi
lea eax, [ebp - 0x58]
mov ecx, 0x10
call fcn.21122e6c
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8