joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409680
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push str._DEBUG:
push eax
call fcn.004583c5
xor esi, esi
add esp, 8
cmp eax, esi
je 0x4097a0
add eax, 7
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dl, byte [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0
call fcn.00457ee6
add esp, 4
cmp eax, esi
mov dword [0x4a353c], eax
je 0x4097a0
push 0x4097b0
call fcn.00458a5c
push 0x4097d0
call fcn.00444f10
add esp, 8
call fcn.00444e40
mov ecx, dword [0x4a353c]
cmp ecx, esi
mov ebx, dword [0x4823a4]
je 0x409716
push esi
push eax
push 0xa000
push ecx
call ebx
push esi
push esi
push 0xa005
mov dword [0x4a3540], esi
call fcn.00444e40
push eax
call ebx
mov eax, dword [0x4a353c]
cmp eax, esi
je 0x40973e
push esi
push esi
push 0xa002
push eax
call ebx
cmp dword [0x4a3540], esi
jne 0x40978f
mov edi, dword [0x482128]
mov ebp, dword [0x482268]
call fcn.00444fe0
test eax, eax
jne 0x409786
push 1
call edi
mov ecx, esi
inc esi
cmp ecx, 0x2710
jl 0x409786
push 0x14
call fcn.00444e50
push eax
push 0x488a90
call fcn.00444e40
push eax
call ebp
cmp eax, 6
jne 0x4097a8
xor esi, esi
mov eax, dword [0x4a3540]
test eax, eax
je 0x409752
push 0
push 0
push 0xa00d
call fcn.00444e40
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.00458675
nop
mov eax, dword [0x4a353c]
test eax, eax
je 0x4097c9
push 0
push 0
push 0xa001
push eax
call dword [0x4823a4]
ret
Function at 0x41fd00
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx]
inc ecx
push esi
mov esi, ecx
cmp esi, 0x100
mov dword [edx], ecx
jl 0x41fd28
push 0x48a1dc
call fcn.00445090
add esp, 4
push 0xffffffffffffffff
call fcn.00458675
xor eax, eax
push edi
lea edi, [esi + esi*8]
lea esi, [esi + edi*2]
mov ecx, 0x13
lea edi, [edx + esi*4 + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x1c]
mov dword [edx + eax*4 + 0x30], ecx
lea eax, [edx + eax*4]
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 + 0x30]
lea eax, [edx + eax*4]
mov dword [eax + 0x2c], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x24]
lea eax, [edx + eax*4]
mov dword [eax + 0x28], ecx
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*4 - 0x14]
lea eax, [edx + eax*4]
mov dword [eax + 0x38], ecx
cmp edx, dword [0x581b48]
pop edi
jne 0x41fda0
mov eax, dword [edx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ecx, [edx + eax*4 + 0x28]
mov dword [0x581b44], ecx
pop esi
ret
Function at 0x444fe0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x482344]
push 1
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x44503b
mov ebx, dword [0x482340]
cmp dword [esp + 0x10], 0x12
je 0x445044
lea ecx, [esp + 0xc]
push ecx
call ebx
cmp dword [esp + 0x10], 0xc119
je 0x445027
lea edx, [esp + 0xc]
push edx
call dword [0x48233c]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
inc esi
call edi
test eax, eax
jne 0x445004
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00458675
nop
nop

Function at 0x445090
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x4450a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00457790
mov eax, dword [0x57db90]
add esp, 0x18
test eax, eax
pop esi
je 0x4450ea
call eax
call fcn.00444e40
push eax
call dword [0x482264]
lea eax, [esp + 0x10]
push eax
call fcn.00452fd0
add esp, 4
push 0x40015
call fcn.00444e50
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00444e40
push eax
call dword [0x482268]
cmp eax, 2
jne 0x445136
mov eax, dword [0x57db94]
test eax, eax
je 0x44512f
call eax
push 0xffffffffffffffff
call fcn.00458675
add esp, 0x410
ret

Function at 0x445140
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x445157
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00457790
mov eax, dword [0x57db90]
add esp, 0x18
test eax, eax
pop esi
je 0x44519a
call eax
call fcn.00444e40
push eax
call dword [0x482264]
lea eax, [esp + 0x10]
push eax
call fcn.00452fd0
add esp, 4
push 0x40010
call fcn.00444e50
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00444e40
push eax
call dword [0x482268]
cmp eax, 2
jne 0x4451e6
mov eax, dword [0x57db94]
test eax, eax
je 0x4451df
call eax
push 0xffffffffffffffff
call fcn.00458675
add esp, 0x410
ret
Function at 0x4451f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x410
push esi
lea eax, [esp + 0x418]
lea ecx, [esp + 4]
mov edx, 4
mov esi, dword [eax + 4]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x445207
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00457790
mov eax, dword [0x57db8c]
add esp, 0x18
test eax, eax
pop esi
je 0x44524a
call eax
call fcn.00444e40
push eax
call dword [0x482264]
lea eax, [esp + 0x10]
push eax
call fcn.00452fd0
add esp, 4
push 0x40030
call fcn.00444e50
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00444e40
push eax
call dword [0x482268]
cmp eax, 2
jne 0x445296
mov eax, dword [0x57db94]
test eax, eax
je 0x44528f
call eax
push 0xffffffffffffffff
call fcn.00458675
add esp, 0x410
ret
Function at 0x449170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [0x57e540]
or eax, 0xffffffff
test ecx, ecx
jne 0x4491d2
push ebx
xor edi, edi
mov esi, 0x57e140
mov edx, edi
mov ebx, 8
test dl, 1
je 0x4491b0
shr edx, 1
xor edx, 0xedb88320
jmp 0x4491b2
shr edx, 1
dec ebx
jne 0x4491a1
mov dword [esi], edx
add esi, 4
inc edi
cmp esi, 0x57e540
jl 0x44919a
mov esi, dword [esp + 0x14]
mov dword [0x57e540], 1
pop ebx
xor edx, edx
test ebp, ebp
jle 0x4491f8
xor ecx, ecx
mov cl, byte [edx + esi]
mov edi, eax
and edi, 0xff
shr eax, 8
xor ecx, edi
mov ecx, dword [ecx*4 + 0x57e140]
xor eax, ecx
inc edx
cmp edx, ebp
jl 0x4491d8
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x449200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [0x57e540]
test eax, eax
push esi
jne 0x449242
xor edx, edx
mov ecx, 0x57e140
mov eax, edx
mov esi, 8
test al, 1
je 0x449225
shr eax, 1
xor eax, 0xedb88320
jmp 0x449227
shr eax, 1
dec esi
jne 0x449218
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x57e540
jl 0x449211
mov dword [0x57e540], 1
mov esi, dword [esp + 0xc]
cmp esi, 0x400
mov eax, dword [esp + 8]
jb 0x44927c
mov edx, esi
shr edx, 0xa
mov ecx, edx
neg ecx
shl ecx, 0xa
push edi
add esi, ecx
mov ecx, 0x57e140
mov edi, dword [ecx]
xor dword [eax], edi
add ecx, 4
add eax, 4
cmp ecx, 0x57e540
jb 0x449266
dec edx
jne 0x449261
pop edi
test esi, esi
jle 0x449290
mov ecx, 0x57e140
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x449287
pop esi
ret

Function at 0x4492a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, esi
repne scasb al, byte es:[edi]
mov eax, dword [0x57e540]
not ecx
dec ecx
or edx, 0xffffffff
test eax, eax
mov ebp, ecx
jne 0x4492ff
push ebx
xor edi, edi
mov esi, 0x57e140
mov eax, edi
mov ebx, 8
test al, 1
je 0x4492dd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4492df
shr eax, 1
dec ebx
jne 0x4492d0
mov dword [esi], eax
add esi, 4
inc edi
cmp esi, 0x57e540
jl 0x4492c9
mov esi, dword [esp + 0x14]
mov dword [0x57e540], 1
pop ebx
xor eax, eax
test ebp, ebp
jle 0x449325
xor ecx, ecx
mov cl, byte [eax + esi]
mov edi, edx
and edi, 0xff
shr edx, 8
xor ecx, edi
mov ecx, dword [ecx*4 + 0x57e140]
xor edx, ecx
inc eax
cmp eax, ebp
jl 0x449305
not edx
mov esi, edx
mov ecx, esi
and ecx, 0xff
xor edx, edx
mov eax, 0x57dd40
lea edi, [edx + ecx]
and edi, 0x800000ff
jns 0x44934b
dec edi
or edi, 0xffffff00
inc edi
mov edi, dword [edi*4 + 0x57e140]
xor edi, esi
mov dword [eax], edi
add eax, 4
inc edx
cmp eax, 0x57e140
jl 0x449338
pop edi
pop esi
pop ebp
ret
Function at 0x449370
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x400
jb 0x4493ab
mov edx, esi
shr edx, 0xa
mov ecx, edx
neg ecx
shl ecx, 0xa
push edi
add esi, ecx
mov ecx, 0x57dd40
mov edi, dword [ecx]
xor dword [eax], edi
add ecx, 4
add eax, 4
cmp ecx, 0x57e140
jb 0x449395
dec edx
jne 0x449390
pop edi
test esi, esi
jle 0x4493bf
mov ecx, 0x57dd40
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4493b6
pop esi
ret
Function at 0x453480
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.InitDDS
call fcn.00445330
mov eax, dword [0x57edd0]
xor edi, edi
add esp, 4
cmp eax, edi
jne 0x4534eb
push 0x4535e0
call fcn.00458a5c
add esp, 4
push 0x57eda8
call dword [0x4821d4]
lea eax, [esp + 8]
push eax
push edi
push edi
push 0x453740
push edi
push edi
call fcn.00459ec2
add esp, 0x18
mov esi, eax
push 1
push esi
call dword [0x482208]
push esi
call dword [0x482134]
mov dword [0x57edc4], edi
mov dword [0x57edd0], 1
push ebx
mov ebx, dword [0x4821d0]
push 0x57eda8
call ebx
mov eax, dword [0x57edc4]
cmp eax, edi
je 0x453595
push ebp
mov ebp, dword [eax + 0x6a8]
mov edi, dword [eax + 0x620]
push 0x57eda8
call ebx
test edi, edi
je 0x45356a
push 0x57eda8
call ebx
mov esi, dword [0x57edc4]
test esi, esi
je 0x453541
cmp dword [esi + 0x620], edi
je 0x453559
mov esi, dword [esi + 0x6a8]
test esi, esi
jne 0x45352f
push 0x57eda8
call dword [0x4821cc]
push 0x57eda8
call dword [0x4821cc]
jmp 0x453588
mov edi, dword [0x4821cc]
push 0x57eda8
call edi
test esi, esi
jne 0x453577
push 0x57eda8
call dword [0x4821cc]
jmp 0x453588
push 0x57eda8
mov dword [esi + 0x650], 0
call edi
test ebp, ebp
mov eax, ebp
jne 0x453507
xor edi, edi
pop ebp
push 0x57eda8
call dword [0x4821cc]
cmp dword [0x57edc4], edi
pop ebx
je 0x4535bb
mov esi, dword [0x482128]
push 0x32
call esi
cmp dword [0x57edc4], edi
jne 0x4535af
push str.EndDDS
mov dword [0x57edc8], edi
mov dword [0x57edcc], edi
call fcn.00445330
add esp, 4
pop edi
pop esi
pop ecx
ret
Function at 0x1019446e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b1720]
jne 0x10194478
repz ret
jmp fcn.1019538c

Function at 0x1019658b
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.10193824
and dword [ebp - 4], 0
cmp dword [0x101b34fc], 0
mov ebx, eax
jne 0x1019663c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101966ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101966ed
push eax
call fcn.101937b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b34fc], eax
call esi
push eax
call fcn.101937b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b3500], eax
call esi
push eax
call fcn.101937b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b3504], eax
call esi
push eax
call fcn.101937b2
pop ecx
mov dword [0x101b350c], eax
test eax, eax
je 0x1019663c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101937b2
pop ecx
mov dword [0x101b3508], eax
mov eax, dword [0x101b3508]
cmp eax, ebx
je 0x10196694
cmp dword [0x101b350c], ebx
je 0x10196694
push eax
call fcn.1019382d
push dword [0x101b350c]
mov esi, eax
call fcn.1019382d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10196694
test edi, edi
je 0x10196694
call esi
test eax, eax
je 0x1019668b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1019668b
test byte [ebp - 0xc], 1
jne 0x10196694
or dword [ebp + 0x10], 0x200000
jmp 0x101966cd
mov eax, dword [0x101b3500]
cmp eax, ebx
je 0x101966cd
push eax
call fcn.1019382d
pop ecx
test eax, eax
je 0x101966cd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101966cd
mov eax, dword [0x101b3504]
cmp eax, ebx
je 0x101966cd
push eax
call fcn.1019382d
pop ecx
test eax, eax
je 0x101966cd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b34fc]
call fcn.1019382d
pop ecx
test eax, eax
je 0x101966ed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101966ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10197a39
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 esi, 0x11f9
xor edi, edi
mov dword [0x101b0f70], 0
mov byte [0x101b0f74], 0
mov dword [0x101b0f64], 0x1887
mov dword [0x101b0f6c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x10197a9a
mov dword [0x101b0f64], 0x3b1
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x41f
mov dword [0x101b0f68], ecx
mov ecx, eax
mov bl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov dword [0x101b0f64], 0xaad
mov eax, dword [0x101b0f6c]
add eax, 1
mov dword [0x101b0f6c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
jl 0x10197a9a
xor eax, eax
mov dword [0x101b0f64], 0xfffff035
mov dword [0x101b0f6c], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x101b0f78], 0
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101b0f68]
mov ebx, edi
add ebx, 0x1f68
mov dword [0x101b0f64], ebx
mov ebx, dword [0x101b0f70]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101b0f78], ecx
add edi, 0xfffffb7b
mov dword [0x101b0f68], edi
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101b0f70], edx
mov dword [0x101b0f64], 0xb5f
mov edi, dword [ebp - 0x28]
mov cl, byte [esi + edi]
mov byte [0x101b0f74], cl
mov dword [0x101b0f68], 0x148d
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov edx, dword [0x101b0f64]
add edx, 0xfffffb13
mov dword [0x101b0f68], edx
mov cl, byte [0x101b0f74]
mov edx, dword [0x101b0f70]
mov byte [esi + edx], cl
mov dword [0x101b0f64], 0x106c
mov edx, dword [0x101b0f6c]
add edx, 1
mov dword [0x101b0f6c], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x10197af4
jmp 0x10197a88
Function at 0x10197cc3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x101b0f64], 0x15fa
mov dword [0x101b0f68], 0xfffffb3e
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x10197d07
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019a1dc]
mov dh, byte [eax + 0x1019a1ad]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x10197d07
mov dword [0x101b0f68], 0x10bc
mov dword [0x101b0f64], 0x1c28
call fcn.1019831d
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101975a0
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
je 0x10197cfe
mov dword [0x101b0f68], 0x6ae
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101b0f64], 0x1d1e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10198730
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov dword [0x101b0f68], 0x1af1
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x18], ecx
mov dword [0x101b0f64], 0x1860
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10197cfe
mov dword [0x101b0f68], 0xb20
mov eax, dword [ebp - 0x40]
add eax, 0x2160
mov dword [ebp - 0x38], eax
jmp 0x10197cfe
Function at 0x1019845d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x101b0f68], 0x968
mov dword [ebp - 0x10], eax
call fcn.10198984
xor ecx, ecx
mov edx, eax
mov dword [0x101b0f68], 0x15f9
mov esi, dword [eax + 0x3c]
mov dword [0x101b0f64], 0xfffff591
mov dword [0x101b0f68], 0x58
mov esi, dword [eax + esi + 0x78]
mov dword [0x101b0f68], 0xfffffbf7
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101b0f64], 0x38ca
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101985bf
jmp 0x1019852b
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jae 0x101985bf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x1019853f
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x10198592
jmp 0x101984de
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jmp 0x10198506
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x3d], cl
je 0x10198522
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1019853f
jmp 0x10198522
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov dword [0x101b0f64], 0x2457
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101b0f68], 0x163f
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101985ca
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101b0f64], 0x24f2
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, 0x13da
xor edx, edx
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x101b0f64], 0x13da
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1019867c
mov dword [0x101b0f64], 0xfffffa1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101986de
jmp 0x10198718
mov dword [0x101b0f68], 0x47
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101986c9
jmp 0x10198718
mov eax, dword [ebp - 0x20]
add eax, 0xfffffe00
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [0x101b0f64], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jge 0x10198698
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], esi
jne 0x10198653
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10198718
mov dword [0x101b0f64], 0x5bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10198635
jmp 0x10198718
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10198613
jmp 0x10198718
mov dword [0x101b0f68], 0x519
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10198718
mov eax, 1
mov dword [0x101b0f64], 0x24bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x10198727
xor eax, eax
mov dword [0x101b0f64], 0x1321
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x10198b29
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x93e
xor ebx, ebx
mov dword [0x101b0f6c], 0
mov dword [0x101b0f70], 0
mov dword [0x101b0f7c], 0
mov dword [0x101b0f64], 0x1b7a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10198cb4
jmp 0x10198bad
mov eax, dword [0x101b0f6c]
mov ecx, dword [0x101b0f70]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x109d
mov edi, 0x100
mov ebx, edx
add ebx, 1
mov dword [0x101b0f64], 0xcd7
add eax, 1
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101b0f6c], edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x38]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101b0f70], edx
mov dword [0x101b0f64], 0x1a1e
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x101b0f74], cl
mov dword [0x101b0f68], 0xfffff974
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101b0f74]
mov edx, dword [0x101b0f70]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x101b0f64], 0x6cf
mov edx, dword [0x101b0f6c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101b0f70]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x101b0f64], 0x257e
and ecx, 0xff
mov dword [0x101b0f7c], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
xor cl, byte [edx + edi]
mov byte [0x101b0f80], cl
mov dword [0x101b0f68], 0x16d0
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], cl
mov dword [0x101b0f64], 0x22d9
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x10198b96
mov eax, dword [ebp - 0x2c]
mov dword [0x101b0f64], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret