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

Disassembly:
push 0xffffffffffffffff
push 0x560628
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 [0x56361c]
push 0
lea ecx, [esp + 0x20]
call fcn.00557040
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a0a70
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.00556f6e
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.00553758
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.00553758
push 1
push 0
push 0
mov ecx, esi
call fcn.00553700
push 1
push 0
push 1
mov ecx, esi
call fcn.00553700
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005570b2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a1250
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x560628
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.00557040
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a0a70
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.00556f6e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x56361c]
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 0x4a1314
cmp dword [esp + 0x40], 1
jne 0x4a1312
cmp ecx, eax
jge 0x4a1314
mov eax, ecx
cmp eax, 0xc8
jge 0x4a1320
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a10d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x563618]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005570b2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a45e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a4613
push esi
call fcn.004a75d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a460c
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 0x4a4699
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a4682
mov eax, dword [esi + 8]
test eax, eax
je 0x4a4637
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 0x4a467e
cmp eax, 2
je 0x4a4682
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a462a
cmp eax, 3
je 0x4a465d
cmp eax, 1
jne 0x4a462a
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 0x4a462a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a462a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a46c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a46a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a46c0
add esp, 4
pop esi
ret
Function at 0x4ba320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5611e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004b9e20
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.004b9e90
push 0
mov ecx, esi
call fcn.004ba2a0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x4ba458
lea ecx, [esp + 0xc]
call fcn.0048e9b0
cmp eax, 1
jae 0x4ba3a7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b9e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4ba3f4
push 0
lea ecx, [esp + 0x10]
call fcn.0049a560
push eax
push edi
mov ecx, 0x72775c
call fcn.004b9a50
test eax, eax
jne 0x4ba3fc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b9e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.004b9e90
push edi
mov ecx, 0x72775c
call fcn.004b99b0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.0048e9a0
push eax
call dword [0x5632e8]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4ba458
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [0x5631d8]
test eax, eax
mov dword [esi + 4], eax
je 0x4ba458
push 0
push 0
push 0
push 2
push eax
call dword [0x5631d4]
test eax, eax
mov dword [esi + 8], eax
jne 0x4ba488
push 1
mov ecx, esi
call fcn.004ba2a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b9e40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.004b9e40
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4bdeb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x561328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004be2b0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x7337e4
call fcn.0052e338
mov ecx, dword [0x6bf67c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004bb640
mov esi, 0x6bf6d4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4bdf57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4bdf4e
cmp al, 0xff
je 0x4bdf4e
dec al
mov byte [ecx], al
jmp 0x4bdf57
push ecx
call fcn.0055021b
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0054bc80
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4bdf9d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4bdf94
cmp al, 0xff
je 0x4bdf94
dec al
mov byte [ecx], al
jmp 0x4bdf9d
push ecx
call fcn.0055021b
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0052e3bf
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4d5110
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4d5143
push esi
call fcn.004da0b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4d513c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4d51c9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d51b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4d5167
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4d51ae
cmp eax, 2
je 0x4d51b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d515a
cmp eax, 3
je 0x4d518d
cmp eax, 1
jne 0x4d515a
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 0x4d515a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4d515a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004d5200
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4d51e9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004d5200
add esp, 4
pop esi
ret
Function at 0x51f8c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
mov ecx, dword [esp + 0x104]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
xor edi, edi
mov edx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov eax, dword [ecx]
add ecx, 4
mov ebp, dword [esp + eax*4 + 0x54]
lea eax, [esp + eax*4 + 0x54]
inc ebp
dec edx
mov dword [eax], ebp
jne 0x51f92b
cmp dword [esp + 0x54], esi
Function at 0x5237e6
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x6a]
cmp eax, 0x106
jae 0x52374b
push esi
call fcn.00523560
mov eax, dword [esi + 0x6a]
add esp, 4
cmp eax, 0x106
jae 0x523743
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x523a33
test eax, eax
je 0x5239c7
cmp eax, 3
jb 0x523791
mov eax, dword [esi + 0x3e]
mov ecx, dword [esi + 0x4e]
mov edx, dword [esi + 0x62]
mov edi, dword [esi + 0x2e]
shl eax, cl
xor ecx, ecx
mov cl, byte [edi + edx + 2]
mov edi, dword [esi + 0x4a]
xor eax, ecx
mov ecx, dword [esi + 0x3a]
and eax, edi
xor edi, edi
mov dword [esi + 0x3e], eax
mov di, word [ecx + eax*2]
mov eax, dword [esi + 0x2a]
mov ecx, dword [esi + 0x36]
and eax, edx
mov word [ecx + eax*2], di
mov edx, dword [esi + 0x3e]
mov eax, dword [esi + 0x3a]
mov cx, word [esi + 0x62]
mov word [eax + edx*2], cx
test edi, edi
je 0x5237b9
mov edx, dword [esi + 0x62]
mov eax, dword [esi + 0x22]
inc esi
and ch, byte [ebx]
xlatb
inc esi
and ch, byte [ebx]
xlatb
sub eax, 0x106
cmp edx, eax
ja 0x5237b9
cmp dword [esi + 0x7e], 2
je 0x5237b9
push edi
push esi
call fcn.00523a40
add al, byte [eax]
add byte [ebx + 0x468908c4], al
push esi
mov eax, dword [esi + 0x56]
cmp eax, 3
jb 0x523911
mov edx, dword [esi + 0x1693]
mov ebp, dword [esi + 0x1697]
mov cl, al
mov ax, word [esi + 0x62]
sub ax, word [esi + 0x66]
sub cl, 3
mov byte [esp + 0x14], cl
mov word [ebp + edx*2], ax
add byte [ebx + 0x168b96], cl
add byte [ebx + 0x1693ae], cl
add byte [0xffff], al
mov byte [edx + ebp], cl
mov edx, dword [esi + 0x1693]
mov ecx, dword [esp + 0x14]
inc edx
mov dword [esi + 0x1693], edx
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x6c1694]
xchg ecx, eax
xchg esp, eax
push ss
insb byte es:[edi], dx
add byte [esi - 1], ah
test byte [esi + 0x48e], dl
cmp ax, 0x100
lea ecx, [esi + edx*4 + 0x48e]
jae 0x523840
and eax, 0xffff
xor ecx, ecx
mov cl, byte [eax + 0x6c1494]
mov eax, ecx
jmp 0x523852
and eax, 0xffff
shr eax, 7
pop es
xor edx, edx
mov dl, byte [eax + 0x6c1594]
mov eax, edx
inc word [esi + eax*4 + 0x97e]
mov eax, dword [esi + 0x168f]
mov edx, dword [esi + 0x1693]
dec eax
xor ecx, ecx
cmp edx, eax
mov eax, dword [esi + 0x56]
mov edx, dword [esi + 0x76]
sete cl
mov ebp, ecx
mov ecx, dword [esi + 0x6a]
sub ecx, eax
cmp eax, edx
mov dword [esi + 0x6a], ecx
ja 0x5238e0
cmp ecx, 3
jb 0x5238e0
dec eax
mov dword [esi + 0x56], eax
mov ecx, dword [esi + 0x62]
mov edx, dword [esi + 0x2e]
add ecx, eax
xor eax, eax
add edx, ecx
mov dword [esi + 0x62], ecx
mov ecx, dword [esi + 0x4e]
mov dword [esi + 0x56], 0
mov al, byte [edx]
mov dword [esi + 0x3e], eax
shl eax, cl
xor ecx, ecx
mov cl, byte [edx + 1]
xor eax, ecx
mov ecx, dword [esi + 0x4a]
and eax, ecx
mov dword [esi + 0x3e], eax
jmp 0x52397f
mov edx, dword [esi + 0x62]
mov eax, dword [esi + 0x2e]
Function at 0x52d9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
mov ecx, dword [esp + 0x104]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
xor edi, edi
mov edx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov esp, 0x8024
add byte [ecx + 0x8424bc], cl
add byte [eax], al

Function at 0x52dc7d
Capabilities:
Encode data using xor

Disassembly:
ja 0x52de79
mov edi, dword [esp + 0x130]
mov dword [ebp], edx
mov edx, dword [esp + 0x18]
lea eax, [edi + eax*8]
mov edi, dword [esp + 0x18]
test edx, edx
lea edi, [esp + edi*4 + 0xd4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
mov dword [edi], eax
je 0x52dceb
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x38]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x100
ret

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

Disassembly:
movsb byte es:[edi], byte [esi]
sar bh, 1
inc dword [ebx + 0x448908c4]
and al, 0x14
test eax, eax
jne 0x5343d2
push 0x6fa9e0
push edi
jmp 0x534645
lea ecx, [esp + 0x20]
push ecx
push 0x142
push edi
call fcn.00531a10
lea edx, [esp + 0x28]
push edx
push 0x143
push edi
invalid
push ds
salc
Function at 0x53af6e
Capabilities:
Enumerate pe sections

Disassembly:
add cl, al
sti
adc byte [ebx], al
fmul dword [ebx - 0x7524cc15]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
invalid

Function at 0x53af74
Capabilities:
Enumerate pe sections

Disassembly:
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
invalid
mov ebp, dword [edi + edx*4]
add ebp, eax

Function at 0x53af7a
Capabilities:
Enumerate pe sections

Disassembly:
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
invalid
mov ebp, dword [edi + edx*4]
add ebp, eax

Function at 0x53af8c
Capabilities:
Enumerate pe sections

Disassembly:
or byte [ebx], cl
fmul dword [ebx - 0x3ee7dbbc]
sbb cl, al

Function at 0x53af9e
Capabilities:
Enumerate pe sections

Disassembly:
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
test esi, esi
jbe 0x53b2a6
call 0x4de6fd6
sub dword [ebx + 0xb10246c], ecx
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x4c]

Function at 0x53afa4
Capabilities:
Enumerate pe sections

Disassembly:
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x4c]
Function at 0x4010e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret
Function at 0x489b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006e7a8
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.00484a70
test eax, eax
jne 0x489bdc
push ebp
push 0x10087f60
mov ecx, edi
call fcn.00488df0
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.004845f0
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004790a0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00484c20
add esp, 4
test eax, eax
je 0x489c7f
add esi, 0x18
push esi
call fcn.00479af0
add esi, eax
push esi
call fcn.00479af0
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x489f82
jmp dword [ecx*4 + 0x1001c530]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00488f30
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.00479af0
add esi, eax
push esi
call fcn.00479af0
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x489cd0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x100723e4]
test eax, eax
je 0x489cd0
mov eax, 1
jmp 0x489cd2
xor eax, eax
cmp ebx, 8
jge 0x489f37
cmp ebx, 7
ja 0x489f82
jmp dword [ebx*4 + 0x1001c540]
test eax, eax
jne 0x489f4a
mov ecx, dword [esp + 0x10]
push eax
push 0x10087f4c
call fcn.00488df0
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.0048a490
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], 0x10074ce0
call fcn.004792a0
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 0x492b10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1009e8e0]
xor edx, edx
cmp eax, edx
jne 0x492b36
xor eax, eax
mov byte [eax + 0x1009e7e0], al
inc eax
cmp eax, 0x100
jl 0x492b1e
mov dword [0x1009e8e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1009e7e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x492bc7
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 0x492b9a
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 0x492b68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x492c40
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 0x492c93
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 0x492c7a
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 0x496f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x497151
cmp eax, 8
jg 0x497151
cmp dword [esp + 0x8c], 2
jl 0x497151
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x497151
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x497151
mov eax, dword [esp + 0x80]
test eax, eax
je 0x496fb7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x49713a
mov ebp, dword [0x100725ec]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x496fe9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x497121
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x497009
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x100725dc]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x497048
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x100725e0]
lea ecx, [esp + 0x28]
push ecx
call dword [0x10072420]
test eax, eax
jne 0x497108
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00496540
cmp eax, 1
jne 0x497132
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00496df0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x496ffd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x49713a
jmp 0x496fd4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00496140
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c