joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005cfa4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005cfc6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005cfc6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005cfc6
ret
cmp word [ebx + 4], 0x14c
jne 0x1005cfc6
test word [ebx + 0x16], 2
je 0x1005cfc6
test word [ebx + 0x16], 0x100
je 0x1005cfc6
cmp word [ebx + 0x18], 0x10b
jne 0x1005cfc6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005cfc6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005d052
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005cfe6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10043f31
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005cfc6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1005d052
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005cfc6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005cfc6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005cfc6
ret
cmp word [ebx + 4], 0x14c
jne 0x1005cfc6
test word [ebx + 0x16], 2
je 0x1005cfc6
test word [ebx + 0x16], 0x100
je 0x1005cfc6
cmp word [ebx + 0x18], 0x10b
jne 0x1005cfc6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005cfc6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005d052
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005cfe6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10043f31
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005cfc6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1005d109
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1005d162
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1005d109
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1005d118
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 0x10462dbb
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 0x1005d169
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.10043fdf
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1005d208
add edi, 4
add eax, 2
dec ecx
jne 0x1005d14e
call 0x1005d1b5
loope 0x1005d1ab
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1005d205
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 0x1005d216
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 0x1005d1c9
cmp eax, ecx
ja 0x1005d1c9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1005d253
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1005d249
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100444be
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1005d118
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1005d162
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1005d109
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1005d118
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 0x10462dbb
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 0x1005d169
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.10043fdf
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1005d208
add edi, 4
add eax, 2
dec ecx
jne 0x1005d14e
call 0x1005d1b5
loope 0x1005d1ab
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1005d205
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 0x1005d216
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 0x1005d1c9
cmp eax, ecx
ja 0x1005d1c9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1005d253
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1005d249
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100444be
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x43b670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
jmp 0x43b68a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43b691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43b680
mov eax, 1
add ebx, ebx
jne 0x43b6a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43b698
jne 0x43b6b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b698
xor ecx, ecx
sub eax, 3
jb 0x43b6c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43b73a
mov ebp, eax
add ebx, ebx
jne 0x43b6d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43b6e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43b704
inc ecx
add ebx, ebx
jne 0x43b6f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43b6e5
jne 0x43b701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43b6e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43b724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43b715
jmp 0x43b686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43b724
add edi, ecx
jmp 0x43b686
pop esi
mov edi, esi
mov ecx, 0x6ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43b742
cmp byte [edi], 0x11
jne 0x43b742
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43b747
lea edi, [esi + 0x39000]
mov eax, dword [edi]
or eax, eax
je 0x43b7bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3df7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e044]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43b774
mov ecx, edi
jns 0x43b7a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e048]
or eax, eax
je 0x43b7b9
mov dword [ebx], eax
add ebx, 4
jmp 0x43b791
call dword [esi + 0x3e058]
mov ebp, dword [esi + 0x3e04c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43b7f3
sub esp, 0xffffff80
jmp 0x40a7d8
Function at 0x1001a473
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a4b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a4b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a4b2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a4b2
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a4b2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d12f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d1cc
push ebx
push esi
call fcn.1001d0f8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d08c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d179
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d1cb
push edi
push eax
call fcn.1001e0ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d199
call fcn.1001bbd4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d1ca
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d08c
add esp, 0x20
test eax, eax
jne 0x1001d1b8
push edi
call fcn.1001bbd4
jmp 0x1001d1c0
push ebx
call fcn.1001bbd4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001d439
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cc8
push 0x10024cc0
push str.FlsAlloc
push 0x1f
call fcn.1001d355
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d46d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
jmp 0x1001d473
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d4b7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cd8
push 0x10024cd0
push str.FlsGetValue
push 0x21
call fcn.1001d355
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d4ee
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001d4f6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ce0
push 0x10024cd8
push str.FlsSetValue
push 0x22
call fcn.1001d355
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d530
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10022bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10022bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10022bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100f035e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c5428]
jne 0x100f0368
repz ret
jmp fcn.100fd012

Function at 0x1010166f
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.100ed7f6
and dword [ebp - 4], 0
cmp dword [0x101c6638], 0
mov ebx, eax
jne 0x10101720
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101017d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101017d1
push eax
call fcn.100ed784
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c6638], eax
call esi
push eax
call fcn.100ed784
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c663c], eax
call esi
push eax
call fcn.100ed784
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c6640], eax
call esi
push eax
call fcn.100ed784
pop ecx
mov dword [0x101c6648], eax
test eax, eax
je 0x10101720
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100ed784
pop ecx
mov dword [0x101c6644], eax
mov eax, dword [0x101c6644]
cmp eax, ebx
je 0x10101778
cmp dword [0x101c6648], ebx
je 0x10101778
push eax
call fcn.100ed7ff
push dword [0x101c6648]
mov esi, eax
call fcn.100ed7ff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10101778
test edi, edi
je 0x10101778
call esi
test eax, eax
je 0x1010176f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1010176f
test byte [ebp - 0xc], 1
jne 0x10101778
or dword [ebp + 0x10], 0x200000
jmp 0x101017b1
mov eax, dword [0x101c663c]
cmp eax, ebx
je 0x101017b1
push eax
call fcn.100ed7ff
pop ecx
test eax, eax
je 0x101017b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101017b1
mov eax, dword [0x101c6640]
cmp eax, ebx
je 0x101017b1
push eax
call fcn.100ed7ff
pop ecx
test eax, eax
je 0x101017b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c6638]
call fcn.100ed7ff
pop ecx
test eax, eax
je 0x101017d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101017d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10104c2f
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 ecx, dword [0x101c478c]
add ecx, 0x205c
mov dword [0x101c4788], ecx
mov dword [0x101c478c], 0x879
mov dword [ebp - 0x10], eax
call fcn.1010600a
xor ecx, ecx
mov edx, eax
mov dword [0x101c4788], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x101c478c], 0x2416
mov dword [0x101c4788], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101c4788], 0x254a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10104da2
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x46], cl
je 0x10104d38
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10104ce7
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10104d75
jmp 0x10104d41
xor eax, eax
mov dword [0x101c4788], 0x150d
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10104ccd
jmp 0x10104da2
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x101c478c], 0x2552
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 [0x101c4788], 0xfffff15b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10104e4a
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 [0x101c4788], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101b65e4]
mov dl, byte [eax + 0x101b65b5]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10104e6c
lea eax, [ebp - 0x24]
mov dword [0x101c478c], 0x1bbe
mov dword [0x101c4788], 0x14
mov dword [ebp - 0x34], eax
call fcn.101055b4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1010523b
mov dword [0x101c4788], 0xeeb
mov dword [0x101c478c], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10104f92
mov eax, dword [ebp - 0x38]
mov dword [0x101c4788], 0x2578
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10104f9a
xor eax, eax
mov dword [0x101c478c], 0x145b
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 + 0x30], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x54], ecx
mov esi, dword [0x101c478c]
add esi, 0xffffec67
mov dword [0x101c4788], esi
add ecx, 0x24c3
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10104f89
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 0x101050b5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101c4794], 0
mov byte [0x101c4798], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101c478c], 0x2449
mov dword [0x101c4788], 0x109e
mov dword [0x101c4790], 0
mov dword [ebp - 0x1c], eax
jmp 0x10105123
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1d78
mov dword [0x101c4790], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1010516f
mov eax, dword [ebp - 0x1c]
mov dword [0x101c478c], 0x206
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c4788]
mov esi, eax
add esi, 0xfffff9d0
mov dword [0x101c4788], esi
mov esi, dword [0x101c4790]
add esi, 1
mov dword [0x101c4790], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10105123
jmp 0x10105106
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x3a46
mov esi, 0x100
mov dword [0x101c479c], 0
mov edi, dword [0x101c4794]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101c479c], ebx
mov dword [0x101c478c], ecx
mov dword [0x101c4788], 0xe04
mov eax, ebx
cdq
idiv esi
mov dword [0x101c4794], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
mov byte [0x101c4798], cl
mov dword [0x101c478c], 0x18fd
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c4798]
mov edx, dword [0x101c4794]
mov byte [ebx + edx], cl
mov dword [0x101c4788], 0x169e
mov edx, dword [0x101c4790]
add edx, 1
mov dword [0x101c4790], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x1010516f
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10105c84
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x101c478c], 0x2455
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101c478c], 0x15ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10105ce1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x10105dbd
jmp 0x10105ded
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10105d0e
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10105ce1
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [0x101c4788]
add edx, 0xffffed2c
mov dword [0x101c4788], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x10105ded
xor eax, eax
mov dword [0x101c4788], 0x2d1a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x10105ded
xor eax, eax
mov dword [0x101c4788], 0x6a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x10105ded
xor eax, eax
mov dword [0x101c4788], 0x468
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x10105ded
xor eax, eax
mov dword [0x101c4788], 0xffffe829
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x10105cc4
jmp 0x10105ded
xor eax, eax
mov dword [0x101c478c], 0x401
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10105ded
mov eax, 1
mov dword [0x101c4788], 0x2389
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret