joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fb53
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp esi, 2
jb 0x45fbed
push ebp
mov ebp, esi
shr ebp, 1
mov ebx, dword [edi]
sub esi, 2
mov edx, dword [edi + 4]
movzx eax, cx
shr ebx, 0x10
xor ebx, eax
mov eax, edx
shr eax, 0x18
mov ecx, ebx
shr ecx, 8
mov cx, word [ecx*2 + 0x50c6b0]
xor cx, word [eax*2 + 0x50beb0]
movzx eax, byte [edi + 5]
xor cx, word [eax*2 + 0x50bab0]
movzx eax, byte [edi + 6]
xor cx, word [eax*2 + 0x50bcb0]
movzx eax, byte [edi + 1]
xor cx, word [eax*2 + 0x50c2b0]
movzx eax, bl
xor cx, word [eax*2 + 0x50c4b0]
mov eax, dword [edi]
add edi, 8
movzx eax, al
xor cx, word [eax*2 + 0x50c0b0]
movzx eax, dl
xor cx, word [eax*2 + 0x50b8b0]
movzx ecx, cx
sub ebp, 1
jne 0x45fb70
pop ebp
test esi, esi
je 0x45fc2f
mov ebx, dword [edi]
mov edx, ebx
movzx eax, cx
shr edx, 0x10
xor edx, eax
movzx eax, byte [edi + 1]
mov ecx, edx
shr ecx, 8
mov cx, word [ecx*2 + 0x50beb0]
xor cx, word [eax*2 + 0x50bab0]
movzx eax, dl
xor cx, word [eax*2 + 0x50bcb0]
movzx eax, bl
xor cx, word [eax*2 + 0x50b8b0]
movzx ecx, cx
pop edi
pop esi
mov ax, cx
pop ebx
ret

Function at 0x45fc36
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor al, al
test edx, edx
je 0x45fc5a
push esi
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
movzx eax, al
xor ecx, eax
inc esi
mov al, byte [ecx + 0x50c8b0]
sub edx, 1
jne 0x45fc45
pop esi
ret
Function at 0x495db0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x495f5f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x495f5f
push esi
mov esi, dword [esp + 0x24]
push edi
test esi, esi
je 0x495de6
mov eax, dword [esi + 4]
test eax, eax
je 0x495df6
push dword [esi]
push 0x18
call eax
add esp, 8
jmp 0x495df0
push 0x18
call fcn.004b31f0
add esp, 4
mov edi, eax
test edi, edi
jne 0x495e00
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
lea eax, [edi + 8]
mov dword [edi], ebx
test eax, eax
je 0x495e60
test esi, esi
je 0x495e45
cmp dword [esi], 0
jne 0x495e2b
cmp dword [esi + 0xc], 0
jne 0x495e31
cmp dword [esi + 4], 0
jne 0x495e2b
cmp dword [esi + 8], 0
je 0x495e45
cmp dword [esi + 0xc], 0
je 0x495e60
cmp dword [esi + 4], 0
jne 0x495e3d
cmp dword [esi + 8], 0
je 0x495e60
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
jmp 0x495e60
mov dword [eax], 0
mov dword [eax + 4], 0x462390
mov dword [eax + 8], 0x4623a0
mov dword [eax + 0xc], 0x462320
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x496070
push dword [esp + 0x2c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [ebp], ecx
test ecx, ecx
jne 0x495ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00492790
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x495f58
test esi, esi
je 0x495eb5
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x495ebe
push dword [esi]
push edi
call ecx
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.004b31fb
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
mov eax, dword [esp + 0x18]
add eax, 5
cmp eax, 6
ja case.0x495ed1.2
jmp dword [eax*4 + 0x495f68]
mov eax, 0xfffffff1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
or eax, 0xffffffff
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0xf
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
xor eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop ebp
mov eax, 0xfffffffe
pop ebx
ret

Function at 0x49f910
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x49f930
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x49f930
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49f930
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4b2553
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x530b24], 0
push ebx
push esi
mov esi, 0x530b2c
jne 0x4b257f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x530b44], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x530b24], 1
push dword [0x530b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4b261c
push 0x14
push 8
push dword [0x52d078]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4b2646
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x530b28]
test eax, eax
je 0x4b25c1
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x530b28], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4b264b
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x530b44]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x52d078]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b2646
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x4b2af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b2b1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b2b1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4c9725
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004b29b0
mov eax, dword [0x5297f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041e203
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4c9767
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4c98c3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004b2c00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x52e178]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00420ed4
mov ecx, dword [esi*4 + 0x52e178]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4c98bc
cmp eax, dword [ecx + edi + 0x24]
jne 0x4c98bc
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c98bc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00420ed4
add esp, 0x14
test edx, edx
jl 0x4c98bc
jg 0x4c9832
test eax, eax
jb 0x4c98bc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4c98bc
jl 0x4c984c
cmp dword [ebp - 0x1008], eax
ja 0x4c98bc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4c986a
test ebx, ebx
je 0x4c98a3
cmp ecx, edi
jae 0x4c98a3
mov al, byte [ecx]
cmp al, 0xd
jne 0x4c9884
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4c9890
cmp byte [ecx + 1], 0xa
jne 0x4c9890
inc ecx
jmp 0x4c9890
movzx eax, al
movsx eax, byte [eax + 0x529f48]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4c986a
cmp edx, ebx
jne 0x4c986a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4c98c1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040becf
leave
ret
Function at 0x4dc911
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5297f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x516450
push esi
call fcn.00417f22
pop ecx
pop ecx
test eax, eax
jne 0x4dc93f
xor al, al
jmp 0x4dc9bc
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004dc5a4
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4dc979
push dword [ebp - 0x210]
call fcn.004b31fb
xor al, al
jmp 0x4dc9ba
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4dc97f
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4dc99f
push edx
call fcn.004dc848
pop ecx
test al, al
je 0x4dc96a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4dc9ad
mov bl, 1
push dword [ebp - 0x210]
call fcn.004b31fb
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040becf
leave
ret

Function at 0x4e8ff3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5297f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4e9036
call fcn.00412848
mov dword [eax], 0xf
call fcn.0041285b
mov dword [eax], 0xd
call fcn.0041124d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040becf
leave
ret
test eax, eax
jne 0x4e903d
inc eax
jmp 0x4e902a
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4e9028
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4e902a
Function at 0x4e95be
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004e942d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4e972d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4e972d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4e96e2
jg 0x4e961a
test eax, eax
je 0x4e96d8
push 1
push 0x1000
call fcn.00411571
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e963d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4e96cf
push 0x8000
push ebx
call fcn.0040c618
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4e9666
jg 0x4e9661
cmp ecx, 0x1000
jb 0x4e9666
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041ee84
add esp, 0x10
cmp eax, 0xffffffff
je 0x4e96ab
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4e9661
jl 0x4e9692
test ecx, ecx
jne 0x4e9653
push dword [ebp - 0xc]
push ebx
call fcn.0040c618
push esi
call fcn.0040fff0
add esp, 0xc
xor ebx, ebx
jmp 0x4e973b
cmp byte [edi + 0x24], 0
je 0x4e96c2
cmp dword [edi + 0x20], 5
jne 0x4e96c2
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4e96cd
mov ebx, dword [edi + 0x18]
jmp 0x4e96cf
xor ebx, ebx
push esi
call fcn.0040fff0
pop ecx
jmp 0x4e973b
test ecx, ecx
jg 0x4e96a4
jl 0x4e96e2
test eax, eax
jae 0x4e96a4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00420ef2
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4e9702
cmp byte [edi + 0x1c], 0
je 0x4e96a4
jmp 0x4e9733
push ebx
call fcn.00412e62
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4e96a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4e973b
cmp byte [edi + 0x1c], 0
je 0x4e9738
mov ebx, dword [edi + 0x18]
jmp 0x4e973b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00420ef2
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1023bbf6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10269d50]
jne 0x1023bc00
repz ret
jmp fcn.1023eb06

Function at 0x102401bf
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.1023bcfc
and dword [ebp - 4], 0
cmp dword [0x1026b95c], 0
mov ebx, eax
jne 0x10240270
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10240321
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10240321
push eax
call fcn.1023bc8a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1026b95c], eax
call esi
push eax
call fcn.1023bc8a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1026b960], eax
call esi
push eax
call fcn.1023bc8a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1026b964], eax
call esi
push eax
call fcn.1023bc8a
pop ecx
mov dword [0x1026b96c], eax
test eax, eax
je 0x10240270
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1023bc8a
pop ecx
mov dword [0x1026b968], eax
mov eax, dword [0x1026b968]
cmp eax, ebx
je 0x102402c8
cmp dword [0x1026b96c], ebx
je 0x102402c8
push eax
call fcn.1023bd05
push dword [0x1026b96c]
mov esi, eax
call fcn.1023bd05
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x102402c8
test edi, edi
je 0x102402c8
call esi
test eax, eax
je 0x102402bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x102402bf
test byte [ebp - 0xc], 1
jne 0x102402c8
or dword [ebp + 0x10], 0x200000
jmp 0x10240301
mov eax, dword [0x1026b960]
cmp eax, ebx
je 0x10240301
push eax
call fcn.1023bd05
pop ecx
test eax, eax
je 0x10240301
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10240301
mov eax, dword [0x1026b964]
cmp eax, ebx
je 0x10240301
push eax
call fcn.1023bd05
pop ecx
test eax, eax
je 0x10240301
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1026b95c]
call fcn.1023bd05
pop ecx
test eax, eax
je 0x10240321
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10240323
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x102414d2
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 edi, dword [0x102697cc]
add edi, 0x2307
mov dword [0x102697c8], edi
mov dword [0x102697d4], 0
mov byte [0x102697d8], 0
mov dword [0x102697cc], 0x1492
mov dword [0x102697d0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x102697cc], 0x11fa
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102697c8], 0xfffff39e
mov eax, dword [0x102697d0]
add eax, 1
mov dword [0x102697d0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10241529
xor eax, eax
mov dword [0x102697d0], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102697dc], 0
mov dword [0x102697c8], 0x113b
mov edx, dword [0x102697d4]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102697dc], edi
mov dword [0x102697cc], 0x977
mov eax, edi
cdq
idiv ecx
mov dword [0x102697d4], edx
mov dword [0x102697c8], 0x182
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102697d8], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102697d8]
mov edx, dword [0x102697d4]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102697cc], 0x1ee0
mov edx, dword [0x102697d0]
add edx, 1
mov dword [0x102697d0], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10241572
mov dword [0x102697cc], 0x5b8
mov eax, dword [0x102697c8]
add eax, 0x1964
mov dword [0x102697c8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10241ac2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x102697c8], 0x2289
mov dword [ebp - 0x10], eax
call fcn.1024109b
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x10241b04
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
mov ecx, eax
add ecx, 0x20
mov edx, dword [ebp - 0x14]
add edx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx]
mov dword [0x102697c8], 0x5d8
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x102697cc], 0xa39
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x10241c44
jmp 0x10241baa
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10241bee
jmp 0x10241bc2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10241b63
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x10241b8e
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x10241b63
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10241c21
jmp 0x10241bf7
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
jb 0x10241b8e
jmp 0x10241c44
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x102697c8], 0xf
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10241ca8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [0x102697cc], 0x4f5
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [0x102697c8], 0x650
mov ecx, dword [ebp - 4]
add ecx, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x10241d76
mov dword [0x102697c8], 0x1419
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x64
je 0x10241e0c
jmp 0x10241e4a
mov eax, dword [ebp - 0x20]
add eax, 0xffffff23
mov dword [0x102697c8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10241ddf
jmp 0x10241e4a
mov eax, 0xab6
mov dword [0x102697cc], 0xab6
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
jge 0x10241d95
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov dword [ebp - 0x24], eax
jne 0x10241d4b
mov eax, dword [0x102697cc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, eax
add edx, 0xffffde47
mov dword [0x102697cc], edx
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
jne 0x10241e4a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x2d], dl
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x10241d26
jmp 0x10241e4a
mov dword [0x102697c8], 0xe50
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x64
je 0x10241cf6
jmp 0x10241e4a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10241e4a
mov dword [0x102697cc], 0x7a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x35], dl
mov eax, 1
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x3c], eax
jne 0x10241e59
jmp 0x10241e4a
xor eax, eax
mov dword [0x102697cc], 0x1280
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x3c
pop ebp
ret