joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a7bf
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x41a7f8
cmp dword [ebp + 0xc], 1
je 0x41a7f8
mov eax, 1
jmp 0x41a7fd
mov eax, 0
test eax, eax
je 0x41a80f
mov eax, 0
jmp 0x41a9e1
cmp dword [ebp + 0xc], 1
jne 0x41a841
push dword [ebp + 8]
call fcn.0041a9f9
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a838
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41a872
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41a85d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042c743
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a86e
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push 0
push 0x18
push 0x45035b
push 0x45035b
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41a8b3
push 0x14f
push 0x401149c
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41a918
mov dword [ebp - 0x10], esp
push 8
push 0x18
push 0x45035b
push 0x45035b
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41a901
push 0x1a8
push 0x401149c
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41a918
mov eax, 0
jmp 0x41a9e1
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41a92b
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41a95f
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41a989
push 0x267
push 0x401149c
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41a9d1
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41a9c7
push 0x29c
push 0x401149c
push 6
call fcn.0042c74f
add esp, 0xc
mov eax, 0
jmp 0x41a9e1
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0041a63a
jmp 0x41a9e1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a9f2
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41cca6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41ccbe
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
nop
nop
cmp dword [ebp - 4], esp
je 0x41cce5
push 0x24
push 0x4010bbe
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
mov eax, 0
sete al
jmp 0x41ccf9
mov esp, ebp
pop ebp
ret 4

Function at 0x41f1f5
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push dword [0x474b1e]
push dword [0x474b22]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f234
mov eax, 0x45035b
push eax
push 1
mov ebx, 0x24c
call fcn.0042e870
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f25a
push ebx
call fcn.0042c749
add esp, 4
cmp dword [ebp - 0xc], 1
je 0x41f2ea
push 0x80000004
push 0
mov eax, dword [0x474b22]
test eax, eax
jne 0x41f279
mov eax, 0x45035b
push eax
push 1
mov ebx, 0x234
call fcn.0042d200
add esp, 0x10
push dword [0x474b1e]
push dword [0x474b22]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 8], eax
push 0x80000005
push 0
push 0x451e5e
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41f2c7
mov eax, 0x45035b
push eax
push 2
mov ebx, 0x26c
call fcn.0042e7c0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f2ea
push ebx
call fcn.0042c749
add esp, 4
push str.___user_agent__Mozilla_5.0__compatible__MSIE_7.0__Windows_NT_5.1__HuTaoUp__
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.__t
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.___tries
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.__O
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.___no_cache___no_dns_cache
push dword [0x474b1e]
push dword [0x474b22]
push str.cmd__c
mov ecx, 0xc
call fcn.0040106b
add esp, 0x30
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0041f42c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f360
push ebx
call fcn.0042c749
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f374
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 4], eax
push closesocket
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.100_
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f3a9
mov eax, 0x45035b
push eax
push 4
mov ebx, 0x148
call fcn.0042e920
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x41f3d3
mov eax, 1
jmp 0x41f3dd
mov eax, 0
jmp 0x41f3dd
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f3ee
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422c49
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x80000006
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0042d230
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.0041fe87
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x422cbd
push 0x60
push 0x4010f8c
push 6
call fcn.0042c74f
add esp, 0xc
jmp 0x422cc2
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42a962
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
nop
nop
cmp dword [ebp - 8], esp
je 0x42a9a0
push 0
push 0x4011d85
push 6
call fcn.0042c74f
add esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x42a9b5
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x42a9ee
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
nop
nop
cmp dword [ebp - 8], esp
je 0x42aa18
push 0x50
push 0x4011d85
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
nop
nop
cmp dword [ebp - 8], esp
je 0x42aa41
push 0x9c
push 0x4011d85
push 6
call fcn.0042c74f
add esp, 0xc
jmp 0x42aa46
mov esp, ebp
pop ebp
ret 8

Function at 0x42d110
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x42d151.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x42d151.2
jmp dword [eax*4 + 0x42d1dc]
mov word [esp + 0x48], di
jmp 0x42d18a
mov word [esp + 0x48], 2
jmp 0x42d18a
mov word [esp + 0x48], 3
jmp 0x42d18a
mov word [esp + 0x48], 4
jmp 0x42d18a
mov word [esp + 0x48], 7
jmp 0x42d18a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x42d1d4
cmp dword [esp + 0x70], edi
je 0x42d1c0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x42d200
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
add esp, 0xc
ret
Function at 0x42dd90
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x42dd9d
xor eax, eax
pop esi
ret
push esi
call dword [0x475220]
add esp, 4
test eax, eax
jne 0x42ddad
pop esi
ret
cmp eax, 1
jne 0x42ddbb
cmp byte [esi], 0x5c
jne 0x42ddbb
xor eax, eax
pop esi
ret
push esi
call fcn.0042db40
add esp, 4
test eax, eax
je 0x42ddcf
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
pop esi
ret

Function at 0x42e750
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x42e7b9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0042cba0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x42e7c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x42e852
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x42e844
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x42e83c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x42e805
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x42e8a0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x42e8b6
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
ret
or eax, 0xffffffff
ret

Function at 0x42e8c0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
push 0x202
xor esi, esi
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x42e911
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.0042e8a0
add esp, 4
cmp eax, 0xffffffff
je 0x42e90c
push eax
call sub.WSOCK32.dll_inet_ntoa
mov esi, eax
push esi
call dword [0x475220]
push eax
push esi
call fcn.0042f870
add esp, 0xc
mov esi, eax
call sub.WSOCK32.dll_WSACleanup
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x42fa10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x42fa31
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x42fa8b
inc edi
cmp edi, esi
jl 0x42fa25
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x42fac0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x42fa7a
cmp byte [eax], bl
je 0x42fa95
cmp byte [eax + 1], bl
je 0x42fa9e
cmp byte [eax + 2], bl
je 0x42faa8
cmp byte [eax + 3], bl
je 0x42fab4
add eax, 4
cmp eax, edi
jb 0x42fa51
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x431440
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4314a6
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4314a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x431487
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x431830
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x431868
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4325a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4325e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x432a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00432610
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00432690
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00432690
lea ecx, [esi + 0xc]
call fcn.00442d67
lea ecx, [esi + 0x10]
call fcn.00442d67
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00433c30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00433c30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00433c30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00442ddc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00442ddc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x448456
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x448484
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4484a2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004483bc
jmp 0x4484a2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4484a2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004483bc
test edi, edi
mov eax, edi
jne 0x44848c
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1014f3d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10297498]
jne 0x1014f3e1
repz ret
jmp fcn.10154c19

Function at 0x101553ff
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.1014f47a
and dword [ebp - 4], 0
cmp dword [0x10299528], 0
mov ebx, eax
jne 0x101554b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10155561
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10155561
push eax
call fcn.1014f408
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10299528], eax
call esi
push eax
call fcn.1014f408
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1029952c], eax
call esi
push eax
call fcn.1014f408
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10299530], eax
call esi
push eax
call fcn.1014f408
pop ecx
mov dword [0x10299538], eax
test eax, eax
je 0x101554b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1014f408
pop ecx
mov dword [0x10299534], eax
mov eax, dword [0x10299534]
cmp eax, ebx
je 0x10155508
cmp dword [0x10299538], ebx
je 0x10155508
push eax
call fcn.1014f483
push dword [0x10299538]
mov esi, eax
call fcn.1014f483
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10155508
test edi, edi
je 0x10155508
call esi
test eax, eax
je 0x101554ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101554ff
test byte [ebp - 0xc], 1
jne 0x10155508
or dword [ebp + 0x10], 0x200000
jmp 0x10155541
mov eax, dword [0x1029952c]
cmp eax, ebx
je 0x10155541
push eax
call fcn.1014f483
pop ecx
test eax, eax
je 0x10155541
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10155541
mov eax, dword [0x10299530]
cmp eax, ebx
je 0x10155541
push eax
call fcn.1014f483
pop ecx
test eax, eax
je 0x10155541
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10299528]
call fcn.1014f483
pop ecx
test eax, eax
je 0x10155561
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10155563
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10160a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x10296f1c], 0
mov dword [0x10296f20], 0
mov dword [0x10296f2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [0x10296f14], 0x145d
mov dword [ebp - 0x24], 0
jmp 0x10160baf
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x10160baf
mov eax, 0x100
mov ecx, dword [0x10296f14]
add ecx, 0x21fe
mov dword [0x10296f14], ecx
mov ecx, dword [0x10296f1c]
add ecx, 1
mov dword [ebp - 0x28], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x10296f1c], edx
mov edx, dword [0x10296f14]
add edx, 0xf93
mov dword [0x10296f18], edx
mov edx, dword [0x10296f20]
mov esi, dword [0x10296f1c]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10296f20], edx
mov edx, dword [0x10296f1c]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov byte [0x10296f24], bl
mov edx, dword [0x10296f20]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov edx, dword [0x10296f1c]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov dword [0x10296f18], 0x2b4
mov bl, byte [0x10296f24]
mov edx, dword [0x10296f20]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov edx, dword [0x10296f1c]
mov esi, dword [ebp - 0x1c]
movzx edx, byte [esi + edx]
mov esi, dword [0x10296f20]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov dword [ebp - 0x20], edx
mov dword [0x10296f18], 0xdf3
mov edx, dword [ebp - 0x20]
mov eax, edx
cdq
idiv ecx
mov dword [0x10296f2c], edx
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
mov esi, dword [0x10296f2c]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
xor edx, esi
mov bl, dl
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bl
jmp 0x10160a93
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jb 0x10160aa3
mov dword [0x10296f18], 0x2692
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10160bd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
mov eax, 4
mov dword [ebp - 0x14], eax
call fcn.1014d5b0
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, ecx
call fcn.1014d5b0
mov eax, esp
mov dword [0x10296f14], 0x1c6a
mov dword [ebp - 0x10], 0
mov dword [0x10296f18], 0x2f2
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [0x10296f14], 0xb29
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10160cef
jmp 0x10160d19
jmp 0x10160db7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x10160cef
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
movzx ecx, word [edx + ecx*2 - 0x14]
cmp ecx, 0x64
je 0x10160d6c
jmp 0x10160db2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [0x10296f18], 0xa81
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x10]
cmp ecx, 0x6c
je 0x10160d89
jmp 0x10160dae
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x16]
cmp ecx, 0x61
sete bl
mov byte [ebp - 0x25], bl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x10160c62
jmp 0x10160cea
jmp 0x10160c4b
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x104
jge 0x10160d19
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2]
cmp ecx, 0
je 0x10160c46
jmp 0x10160c50
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x1a]
cmp ecx, 0x6c
sete bl
mov byte [ebp - 0x26], bl
mov al, byte [ebp - 0x26]
test al, 1
jne 0x10160d3d
jmp 0x10160db7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
shl esi, 1
add ecx, esi
add ecx, 0xffffffe8
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
cmp ecx, 0x6f
je 0x10160cc2
jmp 0x10160c4b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x12]
cmp ecx, 0x64
je 0x10160c98
jmp 0x10160db0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0xe]
cmp ecx, 0x6c
jne 0x10160dac
mov dword [ebp - 0xc], 1
jmp 0x10160c88
jmp 0x10160dae
jmp 0x10160db0
jmp 0x10160db2
jmp 0x10160cea
mov eax, dword [0x10296f18]
sub eax, 0x94b
mov dword [0x10296f18], eax
mov dword [ebp - 0xc], 0
jmp 0x10160c88