joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1620
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x523bb4]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x4b169b
test edx, edx
mov esi, dword [0xa3ee28]
jne 0x4b1675
mov ecx, dword [ebx + 0xc]
mov eax, ebx
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x1c]
mov edx, esi
test ecx, ecx
jne 0x4b1665
call fcn.004b0f90
cmp eax, 7
je 0x4b166c
nop
lea esi, [esi]
call sub.msvcrt.dll_abort
call fcn.004b1280
jmp 0x4b1656
mov eax, esi
nop
call fcn.004b1130
mov esi, dword [0xa3ee24]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
jmp 0x4b163e
call fcn.004b1070
mov edx, dword [0x523bb4]
jmp 0x4b1634

Function at 0x4b16b0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4b16e2
mov dword [esp], ebx
call fcn.004b1470
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add esp, 0x2c
ret
mov edx, dword [0x523bb4]
test edx, edx
js 0x4b1750
test edx, edx
mov esi, dword [0xa3ee28]
jne 0x4b1720
lea edx, [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x1c], esi
call fcn.004b1280
cmp eax, 7
je 0x4b1710
call sub.msvcrt.dll_abort
nop
lea eax, [esp + 0x1c]
call fcn.004b1130
lea esi, [esi]
mov esi, dword [0xa3ee24]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4b16f6
call fcn.004b1070
mov edx, dword [0x523bb4]
jmp 0x4b16ec

Function at 0x4b1ca0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 0x1c
ret

Function at 0x4b1ce0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4b1d05
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x1017f789
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 [0x101bfb3c], 0x169c
mov dword [0x101bfb48], 0
mov byte [0x101bfb4c], 0
mov edi, dword [0x101bfb40]
add edi, 0xfffff725
mov dword [0x101bfb40], edi
mov dword [0x101bfb44], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1017f8a6
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 [0x101bfb50], 0
mov dword [0x101bfb40], 0x1c19
mov edi, dword [0x101bfb48]
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 [0x101bfb50], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101bfb48], edx
mov dword [0x101bfb3c], 0x5d9
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101bfb4c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101bfb3c], 0x138b
mov cl, byte [0x101bfb4c]
mov esi, dword [0x101bfb48]
mov byte [ebx + esi], cl
mov esi, dword [0x101bfb44]
add esi, 1
mov dword [0x101bfb44], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1017f7e5
jmp 0x1017f8d8
mov dword [0x101bfb44], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1017f7e5
mov eax, dword [ebp - 0x1c]
mov dword [0x101bfb3c], 0x798
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101bfb44]
add eax, 1
mov dword [0x101bfb44], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1017f8a6
jmp 0x1017f892
mov dword [0x101bfb40], 0x870
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1017f8ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x101bfb40], 0x243e
mov dword [0x101bfb3c], 0x1928
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, sym.UEM__Ordinal_1048711
imul esi, eax, 0x7c
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0x7c
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x7f6
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x1017f923
mov dword [0x101bfb40], 0x908
xor eax, eax
mov dword [0x101bfb3c], 0x24bf
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x10181215]
mov dl, byte [eax + 0x101811e6]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x1017f998
lea eax, [ebp - 0x12c]
mov dword [0x101bfb40], 0x2260
mov dword [0x101bfb3c], 0xe94
mov dword [ebp - 0x144], eax
call fcn.10180a3b
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.1017f4e3
mov ecx, eax
mov dword [0x101bfb58], 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, 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, sym.UEM__Ordinal_1048711
imul esi, eax, 0x7c
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0x7c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x7c
add edx, ebx
add edx, 4
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.1017ff5a
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x7f6
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1017fa3f
lea eax, [0x101811f4]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x148]
add esi, 0x13e90d
mov dword [0x101bfb3c], 0x349
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
call fcn.1017f789
mov eax, dword [ebp - 0x168]
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.1017fd5b
add byte [eax], al
Function at 0x1017fba1
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 [0x101bfb3c], 0x24bf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1017fc06
lea eax, [ebp - 0x24]
mov dword [0x101bfb40], 0x2260
mov dword [0x101bfb3c], 0xe4d
mov dword [ebp - 0x34], eax
call fcn.10180a3b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1017f4e3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, 0
je 0x1017fcd6
jmp 0x1017fc2e
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10181215]
mov dl, byte [eax + 0x101811e6]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x1017fbc5
jmp 0x1017fc06
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 dword [0x101bfb40], 0x909
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1017f666
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101bfb3c], 0x1fc8
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x101bfb40], 0x3e4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
add ecx, 0x1e01
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1017fccd
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 0x1017fd5b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
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 [0x101bfb44], 0
mov dword [0x101bfb48], 0
mov dword [0x101bfb54], 0
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 0x1017feb2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101bfb44], edx
mov dword [0x101bfb3c], 0x8c6
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101bfb48], edx
mov dword [0x101bfb3c], 0x135e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101bfb4c], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101bfb4c]
mov edx, dword [0x101bfb48]
mov byte [ebx + edx], cl
mov edx, dword [0x101bfb44]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101bfb48]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101bfb54], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101bfb40], 0x18e3
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101bfb3c], 0x1318
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1017feb2
mov eax, dword [0x101bfb44]
mov ecx, dword [0x101bfb48]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1017fdb4
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101802af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101bfb3c], 0x1f05
mov dword [ebp - 0x10], eax
call fcn.1017f378
xor ecx, ecx
mov dword [0x101bfb3c], 0x260c
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101bfb3c], 0x18d2
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101bfb3c], 0x2627
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101bfb40], 0x10b1
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
jne 0x10180332
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [0x101bfb3c], 0x1f05
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 0x101803b8
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x46]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x10180366
mov al, byte [ebp - 0x46]
test al, 1
jne 0x101803f9
jmp 0x101803c1
mov eax, dword [ebp - 0x38]
add eax, 1
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
xor eax, eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
jb 0x10180342
jmp 0x10180327
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
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 [ebp - 0x28], edi
jmp 0x10180327
Function at 0x10180417
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101bfb40], 0x14f6
mov edx, dword [0x101bfb3c]
add edx, 0xca
mov dword [0x101bfb3c], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1017f8ea
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov dword [0x101bfb40], 0x446
mov dword [esp + 0x50], 0x155e00
mov ecx, dword [0x101bfb28]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x101bfb2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x101bfb30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x101807cc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov edx, dword [0x101bfb34]
mov dword [esp + 0x68], edx
mov edx, dword [0x101bfb38]
mov dword [esp + 0x8c], edx
mov dword [0x101bfb3c], 0x3e1
mov dword [esp + 0x18], eax
jmp 0x10180514
lea eax, [esp + 0x38]
mov dword [0x101bfb3c], 0x87b
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1017fba1
mov dword [0x101bfb3c], 0x168d
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101bfb3c], 0x2b9
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10180546
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0xc], ecx
mov byte [esp + 0xb], dl
mov al, byte [esp + 0xb]
test al, 1
jne 0x1018055a
jmp 0x10180546
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x10180514
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [0x101bfb3c], 0x18d2
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], edx
mov dword [0x101bfb40], 0x891
call fcn.10180648
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x101804c4
jmp 0x1018050c
Function at 0x10180648
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x101bfb3c]
add ecx, 0x1b54
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [0x101bfb3c], ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x101bfb40]
mov edi, esi
add edi, 0x2414
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
jmp 0x101806e4
mov eax, 0x70a
mov ecx, dword [ebp - 0x2c]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], ecx
jl 0x101806e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [0x101bfb3c], ecx
mov ecx, dword [ebp - 0x20]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x38], eax
je 0x10180702
jmp 0x101807c2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp word [ecx + eax*2], 0
mov edx, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esi
je 0x101806c4
jmp 0x101806a3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101807c2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff5
mov dword [0x101bfb3c], 0x20a6
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
cmp word [eax + ecx*2], 0x61
jne 0x101807c2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101807c2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff7
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0x64
jne 0x101807c2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101807c2
mov eax, 0x1f12
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffe957
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x41], bl
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x101807aa
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x101bfb3c], eax
mov al, byte [ebp - 0x41]
and al, 1
movzx eax, al
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10014470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006dce9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10088014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov ecx, 0x1008aaf0
mov dword [ebp - 0x38], edi
call fcn.10014310
mov ecx, eax
mov dword [edi + 0xc], eax
call fcn.1002d770
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi], vtable.CAntimalwareProvider.1.0
mov dword [edi + 4], vtable.CAntimalwareProvider.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 7
mov word [edi + 0x14], ax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 7
mov word [edi + 0x2c], ax
mov dword [edi + 0x44], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], 7
mov word [edi + 0x44], ax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10028d70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
call fcn.10026cb0
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x14]
call fcn.10025e00
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x10014570
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014566
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100145fd
push edx
push ecx
call fcn.10045702
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
test eax, eax
je 0x10014582
call esi
mov edx, eax
jmp 0x10014587
mov edx, 0x1007f99c
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10014590
sub eax, esi
lea ecx, [edi + 0x2c]
sar eax, 1
push eax
push edx
call fcn.10002e70
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100145df
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100145d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100145fd
push edx
push ecx
call fcn.10045702
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100456c4
mov esp, ebp
pop ebp
ret
call fcn.100503fe
int3
Function at 0x10024430
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x203c
call fcn.10046900
mov eax, dword [0x10088014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x203c], eax
lea esi, [ebp - 0x2038]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push eax
lea eax, [ebp - 0x34]
push 0x1007f67c
push eax
call fcn.10024410
mov al, byte [ebp - 0x34]
add esp, 0x10
test al, al
je 0x10024492
lea ecx, [ebp - 0x34]
mov edx, esi
sub ecx, edx
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x10024488
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100244ab
mov al, byte [ecx]
test al, al
je 0x100244ab
sub ecx, esi
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x100244a1
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x3a]
test eax, eax
mov ecx, 0x1007f9c8
cmovne ecx, eax
lea eax, [ebp + 0x18]
push eax
push ecx
push ecx
mov dword [ebp + 0x14], ecx
sub edi, esi
push 0xffffffffffffffff
mov edx, edi
mov ecx, esi
call fcn.10001170
add esp, 0x10
cmp eax, edi
cmova eax, edi
cmp dword [ebp + 0xc], 8
mov word [esi + eax], 0xa
mov esi, dword [ebp - 0x203c]
mov eax, dword [esi]
mov ebx, dword [eax]
jne 0x100244f8
cmp dword [esi + 8], 2
je 0x100244f8
or ebx, 2
mov edx, esi
lea ecx, [ebp - 0x2038]
call fcn.10027b10
mov edi, eax
test bl, 1
je 0x10024519
lea eax, [ebp - 0x2038]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x1002452d
push edi
lea eax, [ebp - 0x2038]
mov ecx, esi
push eax
call fcn.10024b00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100456c4
mov esp, ebp
pop ebp
ret