joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433afc
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 0x433b18
cmp dword [esi + 4], 0
je 0x433b45
test byte [ebx + 0x55], 1
jne 0x433b37
mov eax, ebx
call fcn.00432708
test eax, eax
jne 0x433b37
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433c55
mov edx, esi
mov eax, ebx
call fcn.00433620
jmp 0x433c55
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 0x433c4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043596c
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.00430404
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433afc
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.0043596c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433c55
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 0x43a1ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465a50]
cmp byte [eax + 0xc], 0
je 0x43a319
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a312
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466b64], 0
jne 0x43a200
push 0x43a320
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a328
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b64], eax
cmp dword [0x464b08], 0
jne 0x43a2fb
push 0x43a338
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464b08], eax
cmp dword [0x464b08], 0
je 0x43a2fb
push 0x43a344
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b68], eax
push 0x43a354
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b6c], eax
push 0x43a368
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b70], eax
push 0x43a380
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b74], eax
push 0x43a398
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b78], eax
push 0x43a3ac
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b7c], eax
push 0x43a3c4
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b80], eax
push 0x43a3dc
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b84], eax
push 0x43a3f8
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b88], eax
push 0x43a404
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a319
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e1a4
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.0040421c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e1f3
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.0040448c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44599c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4459ec]
test si, 4
je 0x4459b0
or bl, 1
test si, 8
je 0x4459ba
or bl, 4
test si, 1
je 0x4459c4
or bl, 8
test si, 2
je 0x4459ce
or bl, 0x10
test si, 0x10
je 0x4459d8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4459e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4459f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445a28]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445a09
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445a18
or bl, 4
test esi, 0x20000000
je 0x445a23
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c0ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c0fe
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041975c
mov eax, dword [0x465718]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c490
mov eax, dword [0x465724]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c49c
mov eax, ebx
call fcn.0044c4a8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
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, 0x4488c0
push eax
push 0
push 0
mov eax, dword [0x465868]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b1b8]
call fcn.0041c950
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b1b8]
call fcn.0041c950
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b1b8]
call fcn.0041c950
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c8f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c7c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c7c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c7c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c23b
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c5a4
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 0x44c74f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c730
mov dl, 1
mov eax, dword [0x411e70]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c71f
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.0043a50c
test al, al
je 0x44c712
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, 0x44c760
lea eax, [ebp - 0x254]
call fcn.00408e30
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c712
xor eax, eax
push ebp
push 0x44c70b
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 0x44c798
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c6f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
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 0x44c6f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c712
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c615
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041594c
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 0x44c756
lea eax, [ebp - 0x260]
call fcn.0040421c
ret

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

Disassembly:
push ecx
mov eax, dword [0x466bb0]
cmp byte [eax + 0xa5], 0
jne 0x44d109
cmp dword [0x466bc8], 0
jne 0x44d0ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d054
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466bc8], eax
cmp dword [0x466bc4], 0
jne 0x44d0e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466bc4], eax
cmp dword [0x466bcc], 0
jne 0x44d109
push esp
push 0
push 0
push 0x44cff8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x466bcc], eax
pop edx
ret
Function at 0x44d79c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466bb0]
cmp dword [eax + 0x30], 0
je 0x44d846
cmp dword [ebx + 0x94], 0
jne 0x44d840
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d72c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d840
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 0x44d806
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d840
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.00413dbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d815
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e3a4
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 0x44e3d9
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.0040430c
jmp 0x44e3e6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f588
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f5c9
mov eax, esi
call fcn.00435bcc
test al, al
je 0x44f5c9
mov eax, dword [ebx + 0x84]
call fcn.0043596c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f5c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043596c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452cb4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x452ce2
mov eax, ebx
call fcn.00453768
cmp dword [ebx + 0x40], 0
je 0x452cdb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x452d53
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x452d45
cmp dword [ebx + 8], 0
je 0x452d04
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x452d16
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x452d45
cmp dword [ebx + 8], 0
je 0x452cf7
cmp eax, 3
je 0x452d29
dec eax
jne 0x452cf7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x452cf7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x452cf7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452d71
cmp dword [ebx + 0x14], 0xcc
je 0x452d71
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00452d7c
pop ebx
ret
Function at 0x10004060
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x1002aa8c], 0
jne 0x1000406e
call fcn.10003fd0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x1000409d
test dl, 7
je 0x1000409d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
dec esi
inc edx
test esi, esi
ja 0x10004080
cmp esi, 8
jb 0x1000412c
mov edi, esi
shr edi, 3
jmp 0x100040b0
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x1002aa88]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1002aa88]
sub edi, 1
jne 0x100040b0
xor ecx, ecx
test esi, esi
jbe 0x1000414c
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x1002aa88]
inc ecx
cmp ecx, esi
jb 0x10004133
pop ebx
pop edi
pop esi
ret

Function at 0x100041a0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x100041b0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x1002aa88]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x1002aa88]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x1002aa88]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x1002aa88]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x100041b0
pop esi
ret 4

Function at 0x10004200
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004210
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.10004060
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
add esp, 0xc
test al, al
je 0x100042b6
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x1002aa88]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x1002aa8a]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004260
pop edi
pop esi
ret 4
Function at 0x10004360
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x1000441a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x10004380
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x1002aa88]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x1002aa8a]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x10004380
pop esi
pop ebx
pop edi
ret 8
Function at 0x10008960
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100245eb
mov eax, dword fs:[0]
push eax
mov eax, 0x30c4
call fcn.10019460
mov eax, dword [0x10029700]
xor eax, esp
mov dword [esp + 0x30c0], eax
push ebx
push esi
push edi
mov eax, dword [0x10029700]
xor eax, esp
push eax
lea eax, [esp + 0x30d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30e4]
lea ecx, [esp + 0x1844]
call fcn.100113a0
lea ecx, [esp + 0x1868]
call fcn.100113a0
lea ecx, [esp + 0x188c]
call fcn.100113a0
push 0
lea eax, [esp + 0xc34]
push eax
push edi
push 0
call fcn.1000a620
add esp, 0x10
test al, al
je 0x10008ba2
cmp word [esp + 0x18b0], 0
je 0x10008ba2
lea ecx, [esp + 0x18b0]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.1000b350
add esp, 4
push eax
call fcn.10011910
add esp, 8
test eax, eax
je 0x10008ba2
lea eax, [esp + 0x18b0]
push eax
push edi
call fcn.1000b350
add esp, 4
push eax
call fcn.10011910
add esp, 8
test eax, eax
jne 0x10008ba2
mov word [esp + 0x20d0], ax
xor esi, esi
lea ebx, [ebx]
test ax, ax
jne 0x10008aca
push 0x400
lea ecx, [esp + 0x20d4]
push edi
push ecx
call fcn.10010e10
add esp, 0xc
push esi
lea edx, [esp + 0x20d4]
push str.rtmp_d
push edx
call fcn.1000b350
add esp, 4
push eax
mov edx, 0x400
call fcn.10008760
lea eax, [esp + 0x20dc]
push eax
push 0
call fcn.10009900
add esp, 0x14
test al, al
je 0x10008aae
xor eax, eax
mov word [esp + 0x20d0], ax
jmp 0x10008ab6
mov ax, word [esp + 0x20d0]
add esi, 0x7b
cmp esi, 0x2710
jl 0x10008a50
test ax, ax
je 0x10008ba2
push 0x400
lea ecx, [esp + 0x28d4]
push edi
push ecx
call fcn.10010e10
lea edx, [esp + 0x103c]
push edx
call fcn.1000b350
mov esi, eax
lea eax, [esp + 0x28e0]
push eax
call fcn.1000b350
add esp, 0x14
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x10008b00
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x20d0]
push ecx
lea edx, [esp + 0x28d4]
push edx
call esi
test eax, eax
je 0x10008ba2
lea ecx, [esp + 0x10]
call fcn.10008d50
push edi
push 0
mov dword [esp + 0x30e4], 0
xor bl, bl
call fcn.10009900
add esp, 8
test al, al
jne 0x10008b62
push 1
push edi
push 0
lea ecx, [esp + 0x1c]
call fcn.100091d0
mov bl, al
lea eax, [esp + 0x28d0]
push eax
lea ecx, [esp + 0x20d4]
push ecx
call esi
test bl, bl
je 0x10008b8a
lea ecx, [esp + 0x10]
call fcn.10008dd0
lea ecx, [esp + 0x10]
call fcn.10008e70
lea ecx, [esp + 0x10]
mov dword [esp + 0x30dc], 0xffffffff
call fcn.10009040
mov al, 1
jmp 0x10008ba4
xor al, al
mov ecx, dword [esp + 0x30d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30c0]
xor ecx, esp
call fcn.10018d13
add esp, 0x30d0
ret
Function at 0x10008f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10024628
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10029700]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call fcn.1000f590
push 2
push 0
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.10009560
mov ecx, esi
call fcn.10008eb0
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
mov dword [esp + 0x24], 0xffffffff
call fcn.1000f5c0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x10009070
Capabilities:
Check if file exists

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x16], 0
mov dword [edi + 0xc18], 0
mov al, 1
jne 0x1000908c
mov al, byte [esp + 0x1c]
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x80000000
je 0x100090a3
mov dword [esp + 0x1c], 0xc0000000
mov ebp, 1
test al, al
je 0x100090b1
mov ebp, 3
xor eax, eax
cmp byte [edi + 0x15], al
setne al
dec eax
and eax, 0x8000000
mov esi, eax
call fcn.1000a720
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x100090f2
test ebx, ebx
je 0x100090f2
cmp word [ebx], 0
je 0x100090f2
mov ecx, dword [esp + 0x1c]
push 0
push esi
push 3
push 0
push ebp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [esp + 0x14]
jmp 0x1000910a
mov edx, dword [esp + 0x1c]
push 0
push esi
push 3
push 0
push ebp
mov ebp, dword [esp + 0x28]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009126
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10009126
mov dword [edi + 0xc18], 1
cmp esi, 0xffffffff
setne al
mov byte [edi + 0x12], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov byte [esp + 0x1c], al
test al, al
je 0x100091c0
mov dword [edi + 4], esi
test ebx, ebx
je 0x10009176
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009150
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x418]
push ebx
push ecx
call fcn.1001a370
add esp, 0xc
jmp 0x1000917f
xor edx, edx
mov word [edi + 0x418], dx
test ebp, ebp
je 0x1000919f
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10009188
sub eax, edx
inc eax
push eax
lea eax, [edi + 0x17]
push ebp
push eax
call fcn.1001a370
jmp 0x100091ae
push 0x1000000
lea ecx, [edi + 0x17]
push ecx
push ebx
call fcn.10011680
mov edx, dword [edi + 4]
add esp, 0xc
push edx
mov ecx, edi
call fcn.10008da0
mov al, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x10009330
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
push edi
mov edi, dword [esp + 0x14]
jne 0x10009357
cmp edi, 0x4e20
jbe 0x1000934c
mov edi, 0x4e20
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100093c8
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100093a6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x1000938b
cmp eax, 3
jne 0x100093a6
cmp edi, 0x4e20
jbe 0x100093a6
push 0x4e20
push ebx
mov ecx, esi
call fcn.10009330
pop edi
pop esi
pop ebx
ret 8
cmp dword [esi + 0xc], 1
jne 0x100093bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x100093bf
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
ret 8