joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466578
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.0045f782
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00439000
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.0045f6b0
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.0045bf74
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.0045bf74
push 1
push 0
push 0
mov ecx, esi
call fcn.0045bf1c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045bf1c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045f7f4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4397e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466598
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.0045f782
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00439000
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.0045f6b0
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 0x4398a4
cmp dword [esp + 0x40], 1
jne 0x4398a2
cmp ecx, eax
jge 0x4398a4
mov eax, ecx
cmp eax, 0xc8
jge 0x4398b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00439660
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.0045f7f4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43a030
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466603
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.0045a394
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.0045fa2a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00460f46
test eax, eax
je 0x43a14c
mov ecx, dword [esp + 0x3c]
call fcn.0045fa57
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 0x43a110
push edi
mov ecx, esi
call fcn.0045d0bb
mov ecx, esi
call fcn.0043a2b0
cmp dword [esp + 0x38], 1
jne 0x43a145
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.0045d1f6
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 0x43cb70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43cba3
push esi
call fcn.0043fc60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43cb9c
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 0x43cc29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43cc12
mov eax, dword [esi + 8]
test eax, eax
je 0x43cbc7
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 0x43cc0e
cmp eax, 2
je 0x43cc12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43cbba
cmp eax, 3
je 0x43cbed
cmp eax, 1
jne 0x43cbba
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 0x43cbba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43cbba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043cc50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43cc38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043cc50
add esp, 4
pop esi
ret

Function at 0x45b18a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45b1c2
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.0045923e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459216
jmp 0x45b1ce
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45c878
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 0x45c8ba
call fcn.00462331
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45c8ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45c8b1
xor eax, eax
jmp 0x45c8c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045c8c8
pop edi
pop esi
pop ebx
ret 4

Function at 0x462861
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 0x46288f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4628ad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004627c7
jmp 0x4628ad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4628ad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004627c7
test edi, edi
mov eax, edi
jne 0x462897
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 1
push edi
mov edi, ecx
jl 0x40374b
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.0040f6f0
add esp, 0xc
cmp ebp, 1
jne 0x4036aa
movzx ecx, byte [esi]
movzx edx, byte [edi + 0x20020]
add ecx, 0x100
shl ecx, 8
add ecx, edi
mov al, byte [edx + ecx]
mov byte [esi], al
pop esi
pop edi
pop ebp
ret 0xc
lea ecx, [ebp - 1]
xor eax, eax
test ecx, ecx
jle 0x4036e0
push ebx
jmp 0x4036c0
movzx edx, byte [eax + esi]
movzx ebx, byte [eax + esi + 1]
add edx, 0x100
shl edx, 8
add edx, edi
mov dl, byte [ebx + edx]
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x4036c0
pop ebx
movzx eax, byte [edi + 0x20020]
movzx edx, byte [esi + ebp - 1]
xor eax, 0x55
add edx, 0x100
add eax, edi
shl edx, 8
mov al, byte [edx + eax]
mov byte [esi + ebp - 1], al
mov eax, ecx
cmp eax, 1
jl 0x403730
jmp 0x403710
movzx edx, byte [eax + esi]
movzx ecx, byte [eax + esi - 1]
add edx, 0x100
shl edx, 8
add ecx, edi
mov cl, byte [edx + ecx]
mov byte [eax + esi], cl
dec eax
cmp eax, 1
jge 0x403710
movzx edx, byte [esi]
movzx eax, byte [edi + 0x20020]
add edx, 0x100
shl edx, 8
add edx, edi
mov cl, byte [eax + edx]
mov byte [esi], cl
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x405e80
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
push ebp
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
xor ebp, ebp
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x405f0c
push ebx
mov ebx, dword [0x41b068]
push esi
lea esi, [ecx + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x405ed4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
test eax, eax
jle 0x405ef8
mov ecx, dword [esi - 4]
push eax
push 0
push 4
push 0x1000
push eax
add ecx, edi
push ecx
call ebx
push eax
call fcn.0040f170
jmp 0x405ef5
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, edi
push edx
call ebx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
add edx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.0040ee00
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
inc ebp
add esi, 0x28
cmp ebp, edx
jl 0x405ea8
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x405f10
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
push edi
xor edx, edx
xor edi, edi
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x405f57
push ebp
mov ebp, dword [0x41b06c]
push esi
lea esi, [ecx + 0x10]
test dword [esi + 0x14], 0x2000000
je 0x405f47
mov eax, dword [esi]
mov ecx, dword [esi - 8]
push 0x4000
push eax
push ecx
call ebp
mov edx, dword [ebx]
movzx eax, word [edx + 6]
inc edi
add esi, 0x28
cmp edi, eax
jl 0x405f30
pop esi
pop ebp
pop edi
ret
Function at 0x406170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, 0x5a4d
cmp word [ebp], ax
je 0x406184
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0x3c]
add esi, ebp
cmp dword [esi], 0x4550
je 0x406197
pop esi
xor eax, eax
pop ebp
ret
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x34]
push ebx
mov ebx, dword [0x41b068]
push edi
push 4
push 0x2000
push ecx
push edx
call ebx
mov edi, eax
test edi, edi
jne 0x4061ce
mov eax, dword [esi + 0x50]
push 4
push 0x2000
push eax
push edi
call ebx
mov edi, eax
test edi, edi
je 0x406275
push 0x14
push 0
call dword [0x41b074]
push eax
call dword [0x41b07c]
mov ebx, eax
xor eax, eax
push 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov ecx, dword [esi + 0x50]
push 0x1000
push ecx
push edi
call dword [0x41b068]
mov edx, dword [esi + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [0x41b068]
mov ecx, dword [ebp + 0x3c]
add ecx, dword [esi + 0x54]
mov dword [esp + 0x14], eax
push ecx
push ebp
push eax
call fcn.0040ee00
mov edx, dword [ebp + 0x3c]
mov eax, dword [esp + 0x20]
push ebx
add eax, edx
push esi
mov dword [ebx], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.00405e80
mov eax, edi
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0x406250
push eax
mov eax, ebx
call fcn.00405f60
add esp, 4
push ebx
call fcn.00405fe0
add esp, 4
test eax, eax
jne 0x40627c
push ebx
call fcn.00406100
push 0x41b2f0
call fcn.0040ffa4
add esp, 8
call fcn.0040ff9f
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret
call fcn.00405f10
mov ecx, dword [ebx]
cmp dword [ecx + 0x28], 0
je 0x406290
mov dword [ebx + 0x10], 1
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4077f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100e09cb
push eax
mov dword fs:[0], esp
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esi], 0x100f25c4
mov dword [esi + 0x14], 0x1000ab50
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x18]
push edi
or edi, 0xffffffff
mov ecx, 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
fldz
fstp dword [esi + 0x64]
mov dword [esi + 0x68], 0x64
fld dword [0x100f1508]
mov byte [esi + 0x6c], bl
fstp dword [esi + 0x84]
mov byte [esi + 0x6d], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov byte [esi + 0x7d], bl
mov byte [esi + 0x7e], bl
mov byte [esi + 0x7f], bl
mov dword [esi + 0x80], ebx
mov dword [esi + 0x98], 0x10002920
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0x9c]
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], eax
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], ecx
mov eax, 3
mov byte [ebp - 4], al
push 0x1000e510
push 0x10006ad0
mov dword [esi + 0xc0], ebx
mov word [esi + 0xbc], bx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], ebx
push 2
push 0x10
lea eax, [esi + 0xcc]
push eax
call 0x42d5d7
fldz
mov byte [esi + 0xf0], bl
fstp dword [esi + 0xec]
mov dword [esi + 0x104], 0x10002920
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov ecx, dword [esi + 0x108]
mov dword [esi + 0x114], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x100], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f9cc
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x41cd94
xchg esp, eax
int 0x41
invalid
Function at 0x40fa00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x41cd90], 0
jne 0x40fa23
call fcn.0040f9cc
push 1
push 0x41cd90
call fcn.00406958
mov eax, edi
test esi, esi
je 0x40fa4e
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x41cd94]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40fa29
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x412b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ebp + 8]
fldz
fstp dword [eax]
xor ecx, ecx
push ebx
push esi
mov ebx, 0x10023830
mov dword [eax + 0x30], ebx
push edi
xor esi, esi
xor edi, edi
mov edx, 0x100237f0
mov dword [eax + 0x40], edx
xor ebx, ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x44], esi
mov dword [eax + 0x38], ecx
mov dword [eax + 0x48], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 0x28], cl
mov byte [eax + 0x1c], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], ecx
mov byte [eax + 0x29], cl
mov dword [eax + 0x24], ecx
mov dword [ebp - 0x10], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x4c], ecx
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x675bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fc18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00670af0
test eax, eax
jne 0x675c5c
push ebp
push 0x544f98
mov ecx, edi
call fcn.00674e70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00670520
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00661d50
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00670ca0
add esp, 4
test eax, eax
je 0x675cff
add esi, 0x18
push esi
call fcn.006626f0
add esi, eax
push esi
call fcn.006626f0
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x676002
jmp dword [ecx*4 + 0x41e040]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00674fb0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.006626f0
add esi, eax
push esi
call fcn.006626f0
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x675d50
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4845e4]
test eax, eax
je 0x675d50
mov eax, 1
jmp 0x675d52
xor eax, eax
cmp ebx, 8
jge 0x675fb7
cmp ebx, 7
ja 0x676002
jmp dword [ebx*4 + 0x41e050]
test eax, eax
jne 0x675fca
mov ecx, dword [esp + 0x10]
push eax
push 0x544f84
call fcn.00674e70
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.00676510
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x52c898
call fcn.00661f50
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x67eaf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x55cf28]
xor edx, edx
cmp eax, edx
jne 0x67eb16
xor eax, eax
mov byte [eax + 0x55ce28], al
inc eax
cmp eax, 0x100
jl 0x67eafe
mov dword [0x55cf28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x55ce28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x67eba7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x67eb7a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x67eb48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x67ec20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x67ec73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x67ec5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6813c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4804a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
add edx, 0x18
mov eax, edx
mov dword [edi], edx
push eax
call fcn.006626f0
mov ebx, dword [edi]
add ebx, eax
mov eax, ebx
mov dword [edi], ebx
push eax
call fcn.006626f0
mov ecx, dword [edi]
add ecx, eax
mov eax, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea esi, [eax + 0xc]
mov eax, dword [0x55cf70]
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [edi], esi
call fcn.006626f0
mov edx, dword [edi]
mov ebp, dword [esp + 0x58]
add eax, 4
add esp, 0xc
add edx, eax
mov eax, edx
mov dword [edi], edx
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x68145a
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x681454
add eax, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0
mov ebx, dword [edi]
add ebx, 0x14
mov dword [edi], ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x55cf70]
inc ecx
mov dword [0x55cf70], ecx
mov ecx, dword [0x54c080]
mov dword [esp + 0x44], ecx
test ebp, ebp
mov dword [esp + 0x38], 0
jne 0x681523
mov eax, dword [esp + 0x40]
test eax, eax
je 0x681523
test byte [esp + 0x14], 1
je 0x681523
cmp dword [ebx], 0
jle 0x6814fd
mov esi, dword [edi]
add esi, 0x18
push esi
call fcn.006626f0
add esi, eax
push esi
call fcn.006626f0
mov edx, dword [esp + 0x24]
add esi, eax
add esp, 8
cmp dword [esi + 4], edx
jle 0x6814fd
add esi, 0xc
push esi
call fcn.006626f0
lea eax, [esi + eax + 4]
add esp, 4
mov dword [eax], 0
add eax, 0x14
mov dword [edi], eax
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x55cf70]
inc ecx
mov dword [0x55cf70], ecx
mov eax, dword [ebx]
test eax, eax
jg 0x6814a9
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call fcn.006c97b5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
test ebp, ebp
mov dword [esp + 0x10], 0x10
jne 0x68153e
test byte [esp + 0x14], 2
je 0x68153e
mov dword [esp + 0x10], 0x11
call 0x8aef76
int3