joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42421a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x424264
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x42420b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x42421a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x829ebd
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x42426b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0040b0e1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x42430a
add edi, 4
add eax, 2
dec ecx
jne 0x424250
call 0x4242b7
loope 0x4242ad
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x424307
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x424318
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4242cb
cmp eax, ecx
ja 0x4242cb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x424355
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x42434b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040b5c0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x2e01e54b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x2e01e55a
pop dword [ebp - 0x18]
mov eax, 0xec8045ad
sub eax, 0xbe7e6053
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x67d4d067
add dword [ebp - 0x28], 0xe67d74e4
mov dword [ebp - 0x24], 0x707b40f5
add dword [ebp - 0x24], 0xc1b80b50
mov dword [ebp - 0x20], 0x60d0b6db
add dword [ebp - 0x20], 0xeb7b8d53
mov dword [ebp - 0x1c], 0xbeca70e7
add dword [ebp - 0x1c], 0x41358f19
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4229fe43
sub eax, 0x1426dd7b
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x8e4e1190
add dword [ebp - 0x28], 0xe62457c6
mov dword [ebp - 0x24], 0x4b409b9e
sub dword [ebp - 0x24], 0x9d43a29
mov dword [ebp - 0x20], 0xaea80328
sub dword [ebp - 0x20], 0x4b3896bc
mov dword [ebp - 0x1c], 0x39ac53ae
sub dword [ebp - 0x1c], 0x39ac53ae
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3e9a7
push 0
call eax
mov ecx, 0xb0864e78
add ecx, 0x4f79efe3
xor edx, edx
add edx, eax
mov ebx, 0x3321a2f1
sub ebx, 0x51c34f1
add ebx, dword [ebp - 0x18]
mov edi, 0x2b6f19c6
add edi, 0xc02fdf1d
add dword [ebp - 0x10], 0x50479018
mov esi, dword [ebx]
add dword [ebp - 0x14], esi
sub esi, edi
add dword [ebp - 4], ebx
mov dword [edx], esi
xor dword [ebp - 8], eax
add edx, 4
add ebx, 0x10867846
add ebx, 0xef7987be
loop 0x2e01e679
add eax, 0xa575e661
sub eax, 0xa574fa22
xor ebx, ebx
add ebx, eax
add eax, 0x67a4e054
add eax, 0x985b1fb1
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10297d77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102bce50]
jne 0x10297d81
repz ret
jmp fcn.10299a4c

Function at 0x1029b013
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.10296bc4
and dword [ebp - 4], 0
cmp dword [0x102bde0c], 0
mov ebx, eax
jne 0x1029b0c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1029b175
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1029b175
push eax
call fcn.10296b52
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102bde0c], eax
call esi
push eax
call fcn.10296b52
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102bde10], eax
call esi
push eax
call fcn.10296b52
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102bde14], eax
call esi
push eax
call fcn.10296b52
pop ecx
mov dword [0x102bde1c], eax
test eax, eax
je 0x1029b0c4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10296b52
pop ecx
mov dword [0x102bde18], eax
mov eax, dword [0x102bde18]
cmp eax, ebx
je 0x1029b11c
cmp dword [0x102bde1c], ebx
je 0x1029b11c
push eax
call fcn.10296bcd
push dword [0x102bde1c]
mov esi, eax
call fcn.10296bcd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1029b11c
test edi, edi
je 0x1029b11c
call esi
test eax, eax
je 0x1029b113
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1029b113
test byte [ebp - 0xc], 1
jne 0x1029b11c
or dword [ebp + 0x10], 0x200000
jmp 0x1029b155
mov eax, dword [0x102bde10]
cmp eax, ebx
je 0x1029b155
push eax
call fcn.10296bcd
pop ecx
test eax, eax
je 0x1029b155
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1029b155
mov eax, dword [0x102bde14]
cmp eax, ebx
je 0x1029b155
push eax
call fcn.10296bcd
pop ecx
test eax, eax
je 0x1029b155
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102bde0c]
call fcn.10296bcd
pop ecx
test eax, eax
je 0x1029b175
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1029b177
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1029bf30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1029bf67
jmp 0x1029bf9a
mov eax, dword [ebp - 0x18]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x102bc3dc], 0xffffc994
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x1029bf67
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
je 0x1029bf67
jmp 0x1029bfed
mov dword [0x102bc3dc], 0x25ed
mov dword [0x102bc3d8], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x102bc3d8], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x102bc3dc], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x29], dl
mov dword [ebp - 0x20], esi
jmp 0x1029bf84
mov dword [0x102bc3d8], 0xe77
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x29]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], esi
jne 0x1029c025
jmp 0x1029c03b
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
jmp 0x1029bf67
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx]
mov dword [0x102bc3d8], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
je 0x1029bf84
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x1029c0a5
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x4d], bl
jne 0x1029c0e7
mov dword [0x102bc3d8], 0x667
mov eax, dword [ebp - 0x48]
add eax, 1
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
mov dword [ebp - 0x44], eax
jb 0x1029c071
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
jne 0x1029bf72
jmp 0x1029bf84
Function at 0x1029c52b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102bc3e4], 0
mov byte [0x102bc3e8], 0
mov dword [0x102bc3d8], 0x1f87
mov dword [0x102bc3e0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1029c59f
xor eax, eax
mov dword [0x102bc3d8], 0xd51
mov dword [0x102bc3e0], 0
mov dword [ebp - 0x20], eax
jmp 0x1029c5c7
mov dword [0x102bc3d8], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102bc3e0]
add eax, 1
mov dword [0x102bc3e0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1029c59f
jmp 0x1029c572
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102bc3ec], 0
mov dword [0x102bc3d8], 0x17de
mov edi, dword [0x102bc3e4]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102bc3ec], esi
mov dword [0x102bc3dc], 0x51e
mov dword [0x102bc3d8], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x102bc3e4], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102bc3e8], cl
mov dword [0x102bc3d8], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x102bc3d8]
add esi, 0x1ff7
mov dword [0x102bc3dc], esi
mov cl, byte [0x102bc3e8]
mov esi, dword [0x102bc3e4]
mov byte [ebx + esi], cl
mov dword [0x102bc3d8], 0x5e6
mov esi, dword [0x102bc3dc]
add esi, 0xfffffd1a
mov dword [0x102bc3dc], esi
mov esi, dword [0x102bc3e0]
add esi, 1
mov dword [0x102bc3e0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1029c5c7
jmp 0x1029c58d
Function at 0x1029c6ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x102bc3d8], 0xeb4
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x255
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x1029c6e9
mov eax, dword [ebp - 0x140]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1029f593]
mov dh, byte [eax + 0x1029f564]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x140], ecx
jne 0x1029c74a
lea eax, [ebp - 0x2c]
mov dword [0x102bc3d8], 0xf0b
mov dword [ebp - 0x144], eax
call fcn.1029d4eb
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1029c25f
mov ecx, eax
mov dword [0x102bc3f8], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x102bc3dc]
add edx, 0xffffd942
mov dword [0x102bc3d8], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0xb4
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add edx, ebx
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.1029ca2c
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x255
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1029c7f7
lea eax, [0x1029f572]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x102bc3dc], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1029c52b
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.1029d014
xor eax, eax
mov dword [0x102bc3d8], 0x1e27
mov ecx, dword [ebp - 0x148]
add ecx, 0x10e93e
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x116e00
mov ecx, dword [ebp - 0x148]
add ecx, 0xe9974
mov dword [edx + 8], ecx
mov ecx, dword [0x102bc3d8]
add ecx, 0xffffe53e
mov dword [0x102bc3d8], ecx
mov dword [edx + 0xc], 0x1ff0
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029cab8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102bc3dc], 0x26de
mov dword [ebp - 0x10], eax
call fcn.1029c0fd
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x102bc3dc], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1029cb08
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102bc3d8], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1029cc22
jmp 0x1029cb53
mov al, byte [ebp - 0x31]
test al, 1
jne 0x1029cbff
jmp 0x1029cbd5
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x1029cb43
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x1029cb7f
jmp 0x1029cb43
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x1029cb65
jmp 0x1029cc22
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102bc3d8], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029cc74
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102bc3d8], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1029cd12
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1029cdc2
jmp 0x1029cdbb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x61
je 0x1029cd7a
jmp 0x1029cdbb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x64
je 0x1029cd9a
jmp 0x1029cdbb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1029cd49
mov dword [0x102bc3d8], 0x9f6
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
jl 0x1029cd12
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1029cdbb
mov dword [0x102bc3d8], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1029ccca
jmp 0x1029cdbb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x1029ccf0
jmp 0x1029cdbb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x6c
je 0x1029ccaa
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1029cdc2
mov eax, dword [ebp - 0x18]
add esp, 0x30
pop ebp
ret
Function at 0x1029cdca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1029f593]
mov dl, byte [eax + 0x1029f564]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1029cde2
lea eax, [ebp - 0x24]
mov dword [0x102bc3d8], 0x1372
mov dword [ebp - 0x34], eax
call fcn.1029d4eb
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1029c25f
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1029cef2
mov eax, dword [ebp - 0x38]
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 ecx, dword [0x102bc3d8]
add ecx, 0xffffdbc9
mov dword [0x102bc3d8], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1029c401
xor eax, eax
mov ecx, dword [0x102bc3d8]
add ecx, 0xffffe005
mov dword [0x102bc3dc], ecx
mov ecx, dword [ebp - 0x3c]
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 + 8], ecx
mov dword [0x102bc3d8], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
add ecx, 0x208a
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1029cee9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1029d014
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102bc3e0], 0
mov dword [0x102bc3e4], 0
mov dword [0x102bc3f0], 0
mov ebx, dword [0x102bc3dc]
add ebx, 0xfffff338
mov dword [0x102bc3d8], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1029d192
jmp 0x1029d098
mov eax, dword [0x102bc3e0]
mov ecx, dword [0x102bc3e4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov dword [0x102bc3d8], 0x20d1
mov edi, eax
add edi, 1
mov dword [0x102bc3dc], 0x7e7
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x102bc3e0], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102bc3e4], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102bc3e8], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102bc3e8]
mov edx, dword [0x102bc3e4]
mov byte [ebx + edx], cl
mov dword [0x102bc3dc], 0x2664
mov edx, dword [0x102bc3e0]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102bc3e4]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102bc3f0], ecx
mov dword [0x102bc3d8], 0x1fb1
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov byte [0x102bc3f5], ch
mov byte [0x102bc3f6], cl
xor ch, cl
mov byte [0x102bc3f4], ch
mov dword [0x102bc3d8], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x102bc3dc], 0x13d3
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x1029d081
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029d2ce
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x1029d41f
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102bc3d8], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.1029c6ba
lea ecx, [0x1029cc2d]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x78], 0x116e00
mov edx, dword [0x102bc3c4]
mov dword [esp + 0x64], edx
mov edx, dword [0x102bc3c8]
mov dword [esp + 0x50], edx
mov edx, dword [0x102bc3cc]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102bc3d0]
mov dword [esp + 0x84], edx
mov edx, dword [0x102bc3d4]
mov dword [esp + 0x38], edx
mov dword [0x102bc3dc], 0x4bf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x1029d3af
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x1029d41f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [0x102bc3dc], 0xe73
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.1029cc74
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x1029d3e6
jmp 0x1029d370
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1029d3d2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1029d37d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x1029d3af
lea eax, [esp + 0x38]
mov dword [0x102bc3dc], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1029cdca
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x1029d370
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret