joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e438
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push dword [esi + 0x144]
lea ebx, [esi + 0x78]
push dword [esi + 0x20]
lea eax, [esi + 0x1f0]
push ebx
push eax
mov dword [ebp - 8], 1
call fcn.0042e110
mov edi, eax
test edi, edi
jns 0x41e475
push 0x43bb08
jmp 0x41e5f5
lea eax, [esi + 0xe8]
push ebx
push eax
call fcn.0043320a
mov edi, eax
test edi, edi
jns 0x41e492
push 0x43bad4
jmp 0x41e5f5
cmp dword [esi + 0x268], 1
jne 0x41e4e6
lea eax, [ebp - 4]
push eax
push 1
lea ebx, [esi + 0x274]
push ebx
call fcn.0041f4d6
mov edi, eax
test edi, edi
jns 0x41e4bd
push 0x43ba96
jmp 0x41e5f5
push ebx
call fcn.0041f6f2
mov edi, eax
test edi, edi
jns 0x41e4d3
push 0x43ba68
jmp 0x41e5f5
cmp dword [ebp - 4], 0
je 0x41e4e6
push dword [ebp - 4]
call dword [0x401270]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0xe4]
push eax
push dword [esi + 0x144]
lea eax, [esi + 0x9c]
push dword [esi + 0x20]
lea ebx, [esi + 0x78]
push eax
push ebx
call fcn.004324da
mov edi, eax
xor eax, eax
cmp edi, eax
jge 0x41e51c
push 0x43ba46
jmp 0x41e5f5
cmp dword [ebp - 8], eax
jne 0x41e534
push 0xe0000035
push 1
call fcn.0041e0e0
xor edi, edi
jmp 0x41e5fb
cmp dword [esi + 0xa8], eax
je 0x41e54f
cmp dword [esi + 0x20], 2
jle 0x41e54f
lea ecx, [esi + 0x34]
push ecx
push eax
push dword [ebp + 8]
call fcn.004314c2
push esi
push dword [ebp + 8]
call fcn.0042d820
mov edi, eax
test edi, edi
jns 0x41e568
push 0x43b7c4
jmp 0x41e5f5
push esi
call fcn.00428e78
mov edi, eax
test edi, edi
jns 0x41e57b
push 0x43ba28
jmp 0x41e5f5
push ebx
push dword [esi + 0x1c]
call fcn.0042f366
mov edi, eax
test edi, edi
jns 0x41e591
push 0x43ba08
jmp 0x41e5f5
push ebx
lea eax, [esi + 0xe8]
push eax
call fcn.00423b2a
mov edi, eax
test edi, edi
jns 0x41e5ab
push 0x43b9e2
jmp 0x41e5f5
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41e5d3
cmp word [eax], 0
je 0x41e5d3
push 0
push eax
push 0x402658
push ebx
call fcn.004277b4
mov edi, eax
test edi, edi
jns 0x41e5d3
push 0x43b994
jmp 0x41e5f5
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
mov eax, esi
call fcn.0041e2e2
mov edi, eax
test edi, edi
js 0x41e5f0
cmp dword [ebp + 8], 0
jne 0x41e5d3
jmp 0x41e5fd
push 0x43b97e
push edi
call 0x443260
pop ecx
pop ecx
push esi
call fcn.0042d548
lea eax, [esi + 0x78]
push eax
call fcn.004285bc
cmp dword [esi + 0x284], 0xffffffff
je 0x41e638
cmp dword [esi + 0x268], 1
jne 0x41e623
mov eax, dword [esi + 0x18]
jmp 0x41e625
xor eax, eax
push eax
push dword [esi + 0xe4]
lea eax, [esi + 0x274]
push eax
call fcn.0041f9e0
push dword [esi + 0x34]
call dword [fcn.00401358]
test eax, eax
je 0x41e654
push 0
push 0
push 0x10
push dword [esi + 0x34]
call dword [fcn.0040135c]
cmp dword [ebp - 4], 0
je 0x41e663
push dword [ebp - 4]
call dword [0x401270]
mov eax, edi
pop edi
pop ebx
leave
ret 4
Function at 0x401d40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401d8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d84
test esi, esi
je 0x401d84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401d60
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f70
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402098
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401ffe
cmp eax, 4
jne 0x402020
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40200e
cmp edx, 4
je 0x40200e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f70
Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x71380738
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xc3a4b5c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1002f05
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
lea eax, [ebp - 8]
push esi
push eax
mov ebx, ecx
push esi
push 0x26
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 8], esi
mov esi, dword [ebp + 8]
je 0x1003007
lea eax, [ebp - 0x1c]
push esi
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x1003007
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 4], eax
add eax, 0x190
mov dword [ebp + 8], eax
call edi
cmp eax, dword [ebp + 8]
jae 0x1003007
mov edi, 0x190
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 4]
mov ebx, eax
mov eax, dword [ebp - 0x10]
sub ebx, dword [ebp - 4]
sub eax, ecx
sub eax, dword [esi + 0xc]
push 0x34
mov dword [ebp + 8], ebx
add eax, edx
imul eax, ebx
cdq
mov ebx, edi
idiv ebx
mov edx, eax
mov eax, dword [ebp - 0x10]
sub eax, edx
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
add eax, dword [esi]
sub eax, dword [esi + 8]
imul eax, dword [ebp + 8]
cdq
idiv ebx
mov edx, eax
mov eax, dword [ebp - 0x14]
sub eax, edx
sub eax, dword [ebp - 0x1c]
push eax
mov eax, ecx
sub eax, dword [esi + 4]
imul eax, dword [ebp + 8]
cdq
idiv ebx
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sub eax, dword [esi]
imul eax, dword [ebp + 8]
cdq
idiv ebx
mov ebx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push 0
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::SetWindowPos
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
add ecx, 0x190
cmp eax, ecx
jb 0x1002f72
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
push 0x34
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::SetWindowPos
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1004a8e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1005e31
call sub.MSVCRT.dll__EH_prolog
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
push 0x66
call sub.MFC42u.DLL_CDialog::CDialog
xor edi, edi
push esi
lea ecx, [esi + 0x78]
mov dword [ebp - 4], edi
call fcn.01003645
push 1
lea ecx, [esi + 0x1d0]
pop ebx
mov byte [ebp - 4], bl
call fcn.010057c2
mov dword [esi + 0x1d0], 0x100209c
push 2
mov dword [esi], 0x1001fbc
pop eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edi
mov dword [esi + 0x228], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0x22
mov dword [esi + 0x68], 5
mov dword [esi + 0x6c], 0x2c
mov dword [ebp + 8], edi
push 0x1001af8
push 0x80000001
push ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.01003ae2
test eax, eax
jne 0x1004c5a
push 4
lea eax, [ebp - 0x10]
pop ebx
push eax
lea eax, [esi + 0x210]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x1001f90
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x214]
push eax
push 0
push 0
push 0x1001f54
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x218]
push eax
push 0
push 0
push 0x1001f28
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x21c]
push eax
push 0
push 0
push 0x1001efc
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x224]
push eax
push 0
push 0
push 0x1001ecc
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x60]
push eax
push 0
push 0
push 0x1001e84
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x64]
push eax
push 0
push 0
push 0x1001e40
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x68]
push eax
push 0
push 0
push 0x1001e00
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x6c]
push eax
push 0
push 0
push 0x1001dc4
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [esi + 0x220]
push eax
push 0
push 0
push 0x1001d9c
push dword [ebp + 8]
call edi
xor edi, edi
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, pe_nt_image_headers32
push eax
push 0xe
push eax
call sub.MFC42u.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
cmp dword [ebp + 8], edi
mov dword [esi + 0x22c], eax
mov byte [ebp - 4], 2
je 0x1004c8c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1004cbb
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1005e65
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [edi], 0x1001fbc
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 3
push esi
push esi
push esi
push 0x1001af8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x1004e14
mov eax, dword [edi + 0x210]
push 4
mov dword [ebp - 0x14], eax
pop ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1001f90
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x214]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001f54
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x218]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001f28
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x21c]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001efc
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x224]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001ecc
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x60]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001e84
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x64]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001e40
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x68]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001e00
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x6c]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001dc4
push dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0x220]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x1001d9c
push dword [ebp - 0x10]
call esi
xor esi, esi
cmp dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
je 0x1004e29
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
lea ecx, [edi + 0x1d0]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CSpinButtonCtrl::CSpinButtonCtrl
and byte [ebp - 4], 0
lea ecx, [edi + 0x78]
call fcn.01003775
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.010056a2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10058b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002390
push 0x1005bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
or ebx, 0xffffffff
mov dword [0x1007330], ebx
mov dword [0x1007334], ebx
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1007324]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x1007320]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x100732c], ecx
call fcn.01005ba0
mov eax, dword [0x1007240]
test eax, eax
jne 0x100593c
push 0x1005b90
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01005b70
push 0x1007018
push 0x1007014
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x100731c]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1007318]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___wgetmainargs]
add esp, 0x14
push 0x1007010
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__wcmdln]
mov esi, dword [edx]
test esi, esi
jne 0x10059ae
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x74], esi
cmp word [esi], 0x22
jne 0x1005a87
add esi, 2
mov dword [ebp - 0x74], esi
mov ax, word [esi]
test ax, ax
je 0x10059cf
cmp ax, 0x22
jne 0x10059bb
cmp word [esi], 0x22
jne 0x10059db
add esi, 2
mov dword [ebp - 0x74], esi
mov ax, word [esi]
test ax, ax
je 0x10059f1
cmp ax, 0x20
ja 0x10059f1
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x10059db
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x30], 1
je 0x1005a12
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1005a17
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x20
jbe 0x10059db
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x1005a87
Function at 0x101c305e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102d6f08]
jne 0x101c3068
repz ret
jmp fcn.101cc378

Function at 0x101cde5f
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.101c12c6
and dword [ebp - 4], 0
cmp dword [0x102d7e44], 0
mov ebx, eax
jne 0x101cdf10
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101cdfc1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101cdfc1
push eax
call fcn.101c1254
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102d7e44], eax
call esi
push eax
call fcn.101c1254
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102d7e48], eax
call esi
push eax
call fcn.101c1254
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102d7e4c], eax
call esi
push eax
call fcn.101c1254
pop ecx
mov dword [0x102d7e54], eax
test eax, eax
je 0x101cdf10
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101c1254
pop ecx
mov dword [0x102d7e50], eax
mov eax, dword [0x102d7e50]
cmp eax, ebx
je 0x101cdf68
cmp dword [0x102d7e54], ebx
je 0x101cdf68
push eax
call fcn.101c12cf
push dword [0x102d7e54]
mov esi, eax
call fcn.101c12cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101cdf68
test edi, edi
je 0x101cdf68
call esi
test eax, eax
je 0x101cdf5f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101cdf5f
test byte [ebp - 0xc], 1
jne 0x101cdf68
or dword [ebp + 0x10], 0x200000
jmp 0x101cdfa1
mov eax, dword [0x102d7e48]
cmp eax, ebx
je 0x101cdfa1
push eax
call fcn.101c12cf
pop ecx
test eax, eax
je 0x101cdfa1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101cdfa1
mov eax, dword [0x102d7e4c]
cmp eax, ebx
je 0x101cdfa1
push eax
call fcn.101c12cf
pop ecx
test eax, eax
je 0x101cdfa1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102d7e44]
call fcn.101c12cf
pop ecx
test eax, eax
je 0x101cdfc1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101cdfc3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101d1710
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102d6374], 0
mov byte [0x102d6378], 0
mov dword [0x102d6368], 0xde7
mov dword [0x102d636c], 0x22fd
mov dword [0x102d6370], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101d1777
mov dword [0x102d6368], 0xbd0
mov dword [0x102d6370], 0
jmp 0x101d179f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102d6370]
add eax, 1
mov dword [0x102d6370], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101d1777
jmp 0x101d1761
mov eax, 0x100
mov dword [0x102d637c], 0
mov dword [0x102d636c], 0x1bb5
mov ecx, dword [0x102d6374]
mov edx, dword [0x102d6370]
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 [0x102d637c], edi
mov dword [0x102d636c], 0x938
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x102d6374], edx
mov ecx, dword [0x102d6370]
mov bl, byte [esi + ecx]
mov byte [0x102d6378], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102d6378]
add esi, dword [0x102d6374]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x25], bl
mov eax, dword [ebp - 0x24]
mov cl, byte [ebp - 0x25]
mov byte [eax], cl
mov dword [0x102d636c], 0x42e
mov dword [0x102d6368], 0x178b
mov edx, dword [0x102d6370]
add edx, 1
mov dword [0x102d6370], edx
cmp edx, 0x100
jl 0x101d179f
mov dword [0x102d6368], 0xa6
mov dword [0x102d636c], 0x1ca3
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d1890
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 [0x102d636c], 0x8f6
mov dword [0x102d6368], 0xfffff6fa
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x101d18bf
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x1cf
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x101d18bf
lea eax, [0x102c6484]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102d636c], 0xb99
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.101d1cc0
mov eax, dword [0x102d636c]
add eax, 0xfffff64c
mov dword [0x102d6368], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.101d1470
mov ecx, eax
mov dword [0x102d6388], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [0x102d636c]
add ecx, 0xffffef93
mov dword [0x102d6368], ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, ecx, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
imul esi, ecx, 0x6c
mov ebx, edx
add ebx, esi
add ebx, 0x50
mov esi, ecx
add esi, 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x6c
add edx, ecx
add edx, 0x4c
mov ecx, dword [edi]
mov edx, dword [edx]
movzx edi, word [ebx]
xor edi, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
call fcn.101d1aa0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x60]
cmp edx, 0x1cf
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
jne 0x101d199c
mov dword [0x102d6368], 0x23de
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.101d2020
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x114d8f
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [0x102d6368], 0x26a1
mov dword [edx + 4], 0x12be00
mov ecx, dword [ebp - 0x48]
add ecx, 0x3ada5
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f40
mov dword [0x102d636c], 0x1a84
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret