joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54d045
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x7ac027
call fcn.00648a34
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call fcn.0054d005
and dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esi], vtable.CFtpConnection.0
call fcn.00401aa3
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00401a2f
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x54d0c8
call dword [0x7da60c]
push eax
push dword [esi + 8]
call fcn.0054c48b
push dword [esi + 0xc]
mov ecx, 0x8fd304
push eax
call fcn.0054c0ad
mov eax, esi
call fcn.00648b0c
ret 0x1c

Function at 0x54d0e0
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x7ac027
call fcn.00648a34
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0054d005
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401aa3
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x54d146
push eax
push dword [esi + 8]
call fcn.0054c48b
push dword [esi + 0xc]
mov ecx, 0x8fd304
push eax
call fcn.0054c0ad
mov eax, esi
call fcn.00648b0c
ret 0x18
Function at 0x5d9f99
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x7b185d
call fcn.00648a34
xor edi, edi
cmp dword [0x8c6354], edi
je 0x5da062
cmp dword [0x8c6f40], 0xfffffffe
jne 0x5da04f
cmp dword [ebp + 8], 0xffffffff
je 0x5da062
test byte [0x8ff65c], 1
mov esi, 0x8ff63c
jne 0x5d9ff8
or dword [0x8ff65c], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0054bf93
push 0x7d8c3c
call fcn.0063fb48
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0054bfea
cmp dword [0x8ff638], edi
je 0x5da00c
call fcn.0053b6d3
push edi
push edi
push 0x5d9f41
call fcn.0064a927
add esp, 0xc
mov dword [0x8ff638], eax
cmp eax, edi
jbe 0x5da03c
cmp eax, 0xffffffff
je 0x5da03c
push 0xffffffffffffffff
push eax
call dword [0x7da50c]
mov eax, dword [ebp + 8]
mov dword [0x8c6f40], eax
jmp 0x5da042
mov dword [0x8ff638], edi
push 0x8ff644
call dword [0x7da63c]
jmp 0x5da062
mov eax, dword [ebp + 8]
mov dword [0x8c6f40], eax
cmp eax, 0xffffffff
jne 0x5da062
mov dword [0x8ff638], edi
call fcn.00648b0c
ret
Function at 0x610bc1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.005429bf
call fcn.0040bd25
cmp eax, esi
pop esi
jne 0x610bdd
mov ecx, 0x8fdf10
jmp fcn.0057ab0d
ret

Function at 0x669840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7b8db9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00544896
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CXTPOffice2007Images.0
call fcn.00544c61
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x669896
push 0x80004005
call fcn.00401a41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.005463ff
mov dword [edi], vtable.CXTPOffice2007Images::CBitmapDC.0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x6c]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call fcn.005fecb6
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x28], 3
call fcn.00567a50
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], ebx
call fcn.0053d72d
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.006692e0
lea eax, [esi + 0x64]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.00670340
add esp, 0x10
push ebx
mov dword [esi + 0x60], eax
call dword [0x7daa84]
mov ebp, eax
push ebp
call dword [0x7da30c]
push eax
mov ecx, edi
call fcn.005469b4
push ebp
push ebx
call dword [0x7daa6c]
lea ecx, [esi + 0x34]
push ecx
call dword [0x7da514]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x669d40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x7b8ea8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
mov dword [esp + 0x28], 1
call fcn.004022ab
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
mov byte [esp + 0x2c], 2
call fcn.004022ab
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.00669430
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x669e49
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669de4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669e31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
push ecx
call fcn.0063f5d2
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669e74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669e99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669ec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
Function at 0x669ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7b8ee8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
mov dword [esp + 0x24], 1
call fcn.004022ab
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
mov byte [esp + 0x28], 2
call fcn.004022ab
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add esp, 4
push edi
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00669430
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669f86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x669fae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x7b9821
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.006722b0
lea eax, [esi + 0x58]
push eax
call dword [0x7da510]
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 1
call fcn.006720b0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.006720b0
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.CXTPImageManagerResource::CBitmapDC.0
test eax, eax
je 0x672f4c
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x7da300]
mov ecx, esi
call fcn.00546a33
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x673730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7b990f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPImageManagerIcon.0
push 1
mov dword [esp + 0x18], 8
call fcn.00672b10
lea ecx, [esi + 0x12c]
mov byte [esp + 0x14], 7
call fcn.006732e0
lea ecx, [esi + 0x108]
mov byte [esp + 0x14], 6
call fcn.006732e0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x14], 5
call fcn.006732e0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 4
call fcn.006732e0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 3
call fcn.006732e0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 2
call fcn.006732e0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 1
call fcn.006732e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.006732e0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005448be
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x6759a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x7b9c38
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x80]
test edi, edi
je 0x6759dd
mov eax, dword [edi + 4]
test eax, eax
jne 0x6759e4
xor eax, eax
jmp 0x675b68
mov esi, dword [esp + 0x88]
test esi, esi
jne 0x675a11
cmp dword [esp + 0x84], esi
jne 0x675a11
push eax
call fcn.0053d72d
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00446e37
mov dword [esp + 0x88], eax
mov esi, eax
cmp dword [esp + 0x8c], 0
jne 0x675a71
cmp dword [esp + 0x90], 0
jne 0x675a71
test esi, esi
jle 0x675a71
mov eax, dword [edi + 4]
lea ecx, [esp + 0x2c]
push ecx
push 0
push eax
call fcn.0053d72d
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0046d5bb
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [0x7daa08]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [edi + 4]
push eax
call fcn.0053d72d
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00446e37
xor ecx, ecx
cmp eax, esi
sete cl
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x675b63
mov eax, dword [esp + 0x84]
test eax, eax
je 0x675ac3
cmp dword [esp + 0x14], 0
jne 0x675ac3
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x675b5a
cmp eax, 0xdeadbeaf
je 0x675b5a
mov eax, dword [edi + 4]
push 0
push ebp
push eax
call fcn.0053d72d
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040a609
mov esi, eax
test esi, esi
je 0x6759dd
mov eax, dword [esp + 0x84]
test eax, eax
je 0x675af3
mov edi, dword [eax + ebx*4]
jmp 0x675af5
mov edi, ebx
push 1
push esi
lea ecx, [esp + 0x54]
call fcn.006731e0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], 0
call fcn.00675520
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xffffffff
call fcn.006732e0
push esi
call dword [0x7da9ec]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
inc ebp
inc ebx
cmp ebx, esi
jl 0x675a9b
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x18
Function at 0x675be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7b9c70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.0053d72d
mov esi, dword [esp + 0x30]
mov edi, dword [eax + 0xc]
push esi
push edi
call fcn.006707a0
add esp, 8
test eax, eax
je 0x675c9e
lea ecx, [esp + 0x14]
call fcn.006ac230
push 0x7e5940
push esi
push edi
mov dword [esp + 0x34], 0
call dword [0x7da620]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.006ac170
test eax, eax
jne 0x675c79
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.0040502d
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x34]
test eax, eax
je 0x675c87
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.00546cb2
mov dword [esp + 0x14], vtable.CBitmap.0
lea ecx, [esp + 0x14]
jmp 0x675cfe
call fcn.0053d72d
mov edi, dword [eax + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CBitmap.0
push esi
push edi
mov dword [esp + 0x30], 1
call fcn.00670850
mov ecx, dword [esp + 0x3c]
add esp, 8
test ecx, ecx
je 0x675cd2
mov dword [ecx], eax
test eax, eax
je 0x675ce2
push esi
push edi
call fcn.00671020
add esp, 8
jmp 0x675cf2
push 0x40
push 0
push 0
push 0
push esi
push edi
call dword [0x7daa8c]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CBitmap.0
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.0040502d
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x679970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7ba258
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPMarkupRun.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x6799b9
call fcn.0067b470
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00679870
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x67bfd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7ba358
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CXTPMarkupType.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x67c012
call fcn.0067b470
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0067b410
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x67ccc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
mov esi, ecx
call fcn.00544bfa
movzx ecx, word [edi + 6]
mov ebx, dword [esp + 0x18]
and eax, ecx
mov dword [ebx], eax
xor edx, edx
div dword [esi + 8]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov esi, dword [esi + 4]
test esi, esi
je 0x67cd0f
mov esi, dword [esi + edx*4]
test esi, esi
je 0x67cd0f
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebx]
jne 0x67cd08
push edi
push esi
call fcn.0067bec0
test eax, eax
jne 0x67cd17
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x67ccf6
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc
Function at 0x6802a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0067e4f0
mov ecx, eax
jmp fcn.0067f860
Function at 0x6a7b20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7bbcdd
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x8c8ca0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00544896
xor ebx, ebx
lea edi, [esi + 0x98]
mov dword [esi], vtable.CXTPToolTipContext.0
mov dword [esp + 0x178], ebx
mov dword [edi + 4], ebx
mov dword [edi], vtable.CFont.0
lea ebp, [esi + 0xa0]
mov dword [ebp + 4], ebx
mov dword [ebp], vtable.CFont.0
push ebx
mov byte [esp + 0x17c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [0x7daa0c]
cdq
sub eax, edx
sar eax, 1
push 0x2c
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x64]
push ebx
push eax
call fcn.00644f40
add esp, 0xc
call fcn.0068f3e0
mov ecx, eax
call fcn.00690720
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
or eax, 0xffffffff
push ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 2
call dword [0x7da9f4]
push 0x154
or eax, 0xffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
call fcn.00644f40
add esp, 0xc
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x154
push 0x29
mov dword [esp + 0x28], 0x154
call dword [0x7daa14]
mov dword [esp + 0x104], 0x190
call fcn.006a44d0
mov ecx, eax
call fcn.006a3f10
mov ebx, dword [0x7da0fc]
lea ecx, [esp + 0xf4]
push ecx
mov byte [esp + 0x10f], al
call ebx
push eax
mov ecx, edi
call fcn.00546c86
mov dword [esp + 0x104], 0x2bc
lea edx, [esp + 0xf4]
push edx
call ebx
push eax
mov ecx, ebp
call fcn.00546c86
mov dword [esi + 0xa8], 1
mov eax, esi
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0063e2b3
add esp, 0x168
ret
Function at 0x6c7fb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x6c815a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x6c8008
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x6c801b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x6c802f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x6c8076.3
jmp 0x6c8040
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x6c804c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x6c8051
mov esi, 1
inc eax
cmp eax, edi
jl 0x6c8040
cmp si, cx
je case.0x6c8076.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x6c8076.3
movzx eax, byte [eax + 0x6c8174]
jmp dword [eax*4 + 0x6c8160]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x6c8076.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x6c8090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x6c8076.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x6c80d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x6c8076.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x6c80f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x6c8076.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x6c8120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x6fc6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7beb90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x8c8ca0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8c8ca0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, ecx
mov eax, 0x55
mov edx, eax
mov ecx, 0xaa
mov word [esp + 0x2c], ax
mov eax, ecx
mov word [esp + 0x2e], cx
mov ecx, edx
mov word [esp + 0x30], dx
mov edx, eax
mov word [esp + 0x32], ax
mov eax, ecx
mov word [esp + 0x34], cx
mov ecx, edx
xor ebx, ebx
mov word [esp + 0x36], dx
mov word [esp + 0x38], ax
mov word [esp + 0x3a], cx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
lea edx, [esp + 0x2c]
push edx
push 1
push 1
push 8
push 8
mov dword [esp + 0x5c], ebx
call dword [0x7da178]
push eax
lea ecx, [esp + 0x24]
call fcn.00546c86
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBrush.0
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x4c], 1
call dword [0x7da180]
push eax
lea ecx, [esp + 0x1c]
call fcn.00546c86
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00546d71
mov edx, dword [esi]
push 0xf
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x18], edx
call fcn.006d2f50
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x14
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.006d2f50
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push 0xf00021
sub eax, ecx
push eax
sub edi, edx
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [0x7da17c]
push ebx
mov ecx, esi
call fcn.00546d71
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebp
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
call fcn.00546cde
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
mov dword [esp + 0x18], vtable.CBrush.0
call fcn.0040502d
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.0040502d
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0063e2b3
add esp, 0x38
ret 8