joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c920
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004270d0
test eax, eax
je 0x42ca0f
mov ecx, edi
call fcn.004270d0
mov ecx, eax
call fcn.00424750
test eax, eax
jne 0x42ca0f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42ca0f
mov eax, dword [0x4d6fa0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42c982
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.004270d0
mov ecx, eax
call fcn.00424980
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42ca0f
cmp ebx, eax
jne 0x42ca0f
cmp dword [esp + 0x10], eax
jne 0x42c9f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42f630
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471138
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42f669
inc eax
mov dword [esi + 0x10], eax
jmp 0x42f77c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42f67d
mov eax, 0xffffffc7
jmp 0x42f77e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42f68e
cmp dword [esi + 8], eax
jne 0x42f67d
cmp dword [esi + 8], eax
jne 0x42f6a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42f6a7
mov eax, 0xffffffc7
jmp 0x42f77e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42f6bb
push eax
mov ecx, ebx
call fcn.0042ee60
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004026c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42f6ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004026e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042e5d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f71f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a84d0
call fcn.004028c0
mov eax, dword [esp + 0x38]
jmp 0x42f77e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042f490
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42f763
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042f4b0
mov esi, eax
test esi, esi
jne 0x42f793
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042f490
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42f735
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a84d0
call fcn.004028c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4a84d0
call fcn.004028c0
mov eax, esi
jmp 0x42f77e

Function at 0x4328c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x432920
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x432920
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x432920
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x432920
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x432960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x438870
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00468a81
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00438210
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004689af
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00465199
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00465199
push 1
push 0
push 0
mov ecx, esi
call fcn.00465141
push 1
push 0
push 1
mov ecx, esi
call fcn.00465141
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468af3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4389f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00468a81
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00438210
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004689af
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x438ab4
cmp dword [esp + 0x40], 1
jne 0x438ab2
cmp ecx, eax
jge 0x438ab4
mov eax, ecx
cmp eax, 0xc8
jge 0x438ac0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00438870
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468af3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x439240
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4717f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004635ba
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00468d29
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046a281
test eax, eax
je 0x43935c
mov ecx, dword [esp + 0x3c]
call fcn.00468d56
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x439320
push edi
mov ecx, esi
call fcn.0046631d
mov ecx, esi
call fcn.004394c0
cmp dword [esp + 0x38], 1
jne 0x439355
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00466487
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43bd70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43bda3
push esi
call fcn.0043ee70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43bd9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43be29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43be12
mov eax, dword [esi + 8]
test eax, eax
je 0x43bdc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43be0e
cmp eax, 2
je 0x43be12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43bdba
cmp eax, 3
je 0x43bded
cmp eax, 1
jne 0x43bdba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43bdba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43bdba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043be50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43be38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043be50
add esp, 4
pop esi
ret

Function at 0x4643af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4643e7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00462463
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046243b
jmp 0x4643f3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x465aa1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x465ae3
call fcn.0046b78d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x465ae3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x465ada
xor eax, eax
jmp 0x465aeb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00465af1
pop edi
pop esi
pop ebx
ret 4

Function at 0x46bcbd
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 0x46bceb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46bd09
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046bc23
jmp 0x46bd09
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46bd09
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046bc23
test edi, edi
mov eax, edi
jne 0x46bcf3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401fe0
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and edi, 0x2b
bswap esi
and edi, 0xd7
not ebx
mov eax, 0x29
sbb edx, 0x37
imul edx
bswap ebx
rol ebx, 0x64
rcl esi, 0x3a
neg edx
imul edx
or esi, 0x76
rcl edx, 0xfb
sub ebx, 0x9e
neg esi
rcl edi, 0xbf
not ebx
imul eax
rol eax, 0xda
imul edx
add esi, 0xb9
imul esi
inc edx
rcl esi, 0xe9
sbb ebx, 0x2b
bswap edi
dec edx
not esi
or edx, 0x6d
imul esi
mov esi, 0x39
neg edx
add esi, 0xee
neg esi
dec edi
inc eax
rcr edi, 0xe6
inc edx
rol eax, 0x4a
and ebx, 0xed
not ebx
dec esi
not edi
neg edx
dec edx
mov esi, 0xb9
sbb edi, 0xab
bswap eax
sub ebx, 0x6b
xor ecx, ecx
xor edi, edi
imul edi
mov ebx, 0xfc
dec eax
not edx
neg edx
dec edx
and edi, 0xe4
or edi, 0xef
inc esi
inc ebx
sub edx, 0xb0
neg edx
bswap ebx
imul eax
dec edi
ror eax, 0x22
neg edi
imul eax
bswap eax
not eax
sub edx, 0x59
imul esi
bswap eax
dec eax
inc esi
or ebx, 0xb9
mov edi, 5
and ebx, 0x3c
rol ebx, 0x10
rcl eax, 0xdb
and eax, 0x51
neg esi
add esi, 0x3d
dec edx
bswap edi
bswap edx
inc edx
not edi
ror ebx, 0xd1
or edx, 0x38
not edi
add esi, 0x5b
imul eax
neg esi
neg ebx
or eax, 0x28
ror ebx, 0x5c
inc edx
rcr esi, 0xae
mov edi, 0x61
mov ecx, dword [ebp + 0xc]
inc edi
dec edi
add eax, 0x6f
or edi, 0x70
bswap edi
not ebx
and ebx, 0x8a
or ebx, 0x30
and edx, 0xf2
rol edi, 0x92
add esi, 0xab
add eax, 0x5d
not ebx
not ebx
rcl esi, 0x24
mov edx, 0xcb
or esi, 0x3d
mov esi, 0x30
rcl eax, 0x49
sbb ebx, 2
and edx, 0x8e
and edi, 0x2d
imul edi
sbb eax, 0x30
ror edi, 0x9b
or esi, 0xd1
add esi, 0xd7
bswap edx
rol edi, 0xe6
dec esi
add edx, 0x92
not esi
not edx
bswap eax
sub edx, 0xca
inc edi
or ebx, 0x1e
dec esi
sub edi, 0x29
mov esi, 0x5a
imul edi
imul ebx
mov esi, 0x1f
sbb edi, 0xd3
neg edi
and edx, 0xc4
neg eax
not eax
sbb esi, 0xb0
not esi
mov edi, dword [ebp + 8]
mov ebx, eax
mov ebx, ebx
mov eax, eax
not byte [edi]
xor ebx, esi
mov esi, eax
xor esi, esi
mov eax, esi
mov esi, eax
mov eax, eax
xor esi, ebx
xor ebx, ebx
xor ebx, esi
add byte [edi], 0x36
xor ebx, ebx
mov ebx, eax
xor esi, esi
mov esi, ebx
xor ebx, esi
xor ebx, ebx
xor eax, ebx
mov ebx, eax
mov esi, esi
sub byte [edi], 0x75
mov esi, ebx
xor esi, eax
xor eax, eax
xor esi, eax
xor esi, ebx
xor eax, ebx
xor ebx, eax
xor esi, eax
mov ebx, eax
imul byte [edi]
inc edi
loop 0x4021a8
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40a6ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47ac90]
jne 0x40a6c4
repz ret
jmp fcn.00411c4d
Function at 0x4165cc
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.00410556
and dword [ebp - 4], 0
cmp dword [0x47c7d0], 0
mov ebx, eax
jne 0x41667d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41672e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41672e
push eax
call fcn.004104e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47c7d0], eax
call esi
push eax
call fcn.004104e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47c7d4], eax
call esi
push eax
call fcn.004104e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47c7d8], eax
call esi
push eax
call fcn.004104e4
pop ecx
mov dword [0x47c7e0], eax
test eax, eax
je 0x41667d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004104e4
pop ecx
mov dword [0x47c7dc], eax
mov eax, dword [0x47c7dc]
cmp eax, ebx
je 0x4166d5
cmp dword [0x47c7e0], ebx
je 0x4166d5
push eax
call fcn.0041055f
push dword [0x47c7e0]
mov esi, eax
call fcn.0041055f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4166d5
test edi, edi
je 0x4166d5
call esi
test eax, eax
je 0x4166cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4166cc
test byte [ebp - 0xc], 1
jne 0x4166d5
or dword [ebp + 0x10], 0x200000
jmp 0x41670e
mov eax, dword [0x47c7d4]
cmp eax, ebx
je 0x41670e
push eax
call fcn.0041055f
pop ecx
test eax, eax
je 0x41670e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41670e
mov eax, dword [0x47c7d8]
cmp eax, ebx
je 0x41670e
push eax
call fcn.0041055f
pop ecx
test eax, eax
je 0x41670e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47c7d0]
call fcn.0041055f
pop ecx
test eax, eax
je 0x41672e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416730
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100060f3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.100060f3]
mov ecx, dword [0x100aa210]
mov edx, ecx
add edx, 0x6ec
mov dword [0x100aa214], edx
add ecx, 0x534
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x10006132
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10006141
jmp 0x10006149
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
je 0x10006121
jmp 0x10006149
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [0x100aa210], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 8], ecx
jmp 0x10006132
Function at 0x10006788
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100aa21c], 0
mov dword [0x100aa210], 0x1df4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x100aa220], 0
mov dword [0x100aa218], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x100aa214]
add ecx, 0x3db
mov dword [0x100aa214], ecx
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100aa210], 0x2449
mov eax, dword [0x100aa218]
add eax, 1
mov dword [0x100aa218], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100067cd
mov eax, 0x5c63
xor ecx, ecx
mov dword [0x100aa210], 0x37f9
mov dword [0x100aa218], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x3624
mov esi, 0x100
mov dword [0x100aa210], ecx
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov edi, dword [0x100aa21c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebx + ecx]
add ecx, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ecx, edx
mov eax, ecx
cdq
idiv esi
mov dword [0x100aa21c], edx
mov dword [0x100aa210], 0x1e73
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x100aa220], cl
mov dword [0x100aa210], 0xbb2
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov dword [0x100aa214], 0x1a51
mov cl, byte [0x100aa220]
mov esi, dword [0x100aa21c]
mov byte [ebx + esi], cl
mov dword [0x100aa210], 0x11ba
mov esi, dword [0x100aa218]
add esi, 1
mov dword [0x100aa218], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jl 0x10006830
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006915
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]
mov dword [0x100aa218], 0
mov dword [0x100aa21c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x100aa224], 0
mov dword [0x100aa214], 0x1b18
mov dword [0x100aa210], 0x9a9
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10006a6b
jmp 0x1000699f
mov eax, dword [0x100aa218]
mov ecx, dword [0x100aa21c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100aa218], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x100aa21c], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100aa220], cl
mov dword [0x100aa210], 0x1d37
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100aa220]
mov edx, dword [0x100aa21c]
mov byte [ebx + edx], cl
mov edx, dword [0x100aa218]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100aa21c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x100aa224], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [0x100aa214]
add ecx, 0xffffe50c
mov dword [0x100aa214], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x10006988
mov dword [0x100aa210], 0x24d5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret