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

Disassembly:
push ss
js 0x496364
leave
bound edx, qword [edx + 0x504c3dba]
dec edi
mov ecx, 0x433bef3b
mov cl, 0x22
out dx, eax
cmp eax, dword [ebx + 0x36]
mov cl, 0x22
shr dword [eax + 0x39c27215], 1
dec ebp
stc
or al, 0x8b
pop edi
bound eax, qword [eax + 0x34]
cmc
jl 0x4963f7
sub ebp, ebp
xor dword [ebx + 0x2d549636], ebp
pop eax
stosb byte es:[edi], al
fstp xword [esi + ebp*8]
dec ebx
invalid
sub ebp, esp
movsd dword es:[edi], dword [esi]
rcl dword [0xe455d73f]
sbb byte [ecx + ebx*2 - 0x458d873a], cl
jg 0x496488
push es
mov word [0xc81547d], gs
lodsb al, byte [esi]
add al, 0x6d
and bh, dl
or byte [ebx - 0x7289ad5e], bh
cmc
in al, dx
in eax, 0x1c
cmp ebp, dword [edx]
cmp dl, bh
invalid
mov bl, 0x64
xchg esp, eax
inc esi
sbb dh, byte [ebp - 0x22]
dec ecx
mov al, 0x92
fistp word [ecx - 0x1635e92a]
invalid

Function at 0x4a9b77
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
push esi
push edi
test ebx, ebx
jne 0x4a9b93
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc984], 0xffffffff
jle 0x4a9ba8
mov eax, 0xfffffff6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
lea edi, [ebx + 0x11fb0]
mov eax, 0x4a2d20
mov ecx, 0x62
cmovne eax, edx
lea edx, [ebx + 0x12838]
mov esi, eax
mov dword [ebp - 0x2c], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x12138]
mov edi, 0x40
lea esi, [ebx + 0x9a0]
nop dword [eax]
nop dword [eax + eax]
lea eax, [esi - 0x80]
mov dword [ecx - 0x11e14], esi
mov dword [ecx - 0x11e18], eax
lea ecx, [ecx + 0x18]
mov dword [ecx - 0x14], edx
lea eax, [edx - 0x100]
mov dword [ecx - 0x18], eax
lea eax, [esi + 0x80]
mov dword [ecx - 0x11e28], eax
lea eax, [edx + 0x100]
mov dword [ecx - 0x10], eax
lea eax, [esi + 0x100]
mov dword [ecx - 0x11e24], eax
lea eax, [edx + 0x200]
mov dword [ecx - 0xc], eax
lea eax, [esi + 0x180]
mov dword [ecx - 0x11e20], eax
lea eax, [edx + 0x300]
mov dword [ecx - 8], eax
lea eax, [esi + 0x200]
mov dword [ecx - 0x11e1c], eax
add esi, 0x300
lea eax, [edx + 0x400]
add edx, 0x600
mov dword [ecx - 4], eax
sub edi, 1
jne 0x4a9be7
push dword [ebp - 0x2c]
add ebx, 0x320
xor edx, edx
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.004aee67
mov eax, ebx
mov dword [ebp - 0x20], edi
add esp, 4
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 3
Function at 0x4bafe9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23d0
cmp edx, dword [eax]
je 0x4bb00b
add eax, 8
inc ecx
cmp eax, 0x4c2460
jl 0x4baffc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23d0]
jne 0x4bb139
mov eax, dword [0x4c6d54]
cmp eax, 1
je 0x4bb113
test eax, eax
jne 0x4bb03c
cmp dword [0x4c22fc], 1
je 0x4bb113
cmp edx, 0xfc
je 0x4bb139
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb073
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb9d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbe60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb0b6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbe60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c072c
push edi
call fcn.004bdd30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb9d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb9e0
lea eax, [ebp - 0xa0]
push 0x4c070c
push eax
call fcn.004bb9e0
push dword [esi + 0x4c23d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb9e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bdca4
add esp, 0x2c
pop edi
jmp 0x4bb139
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23d4]
push 0
push eax
push dword [esi]
call fcn.004bbe60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403203
pop dword [ebp - 8]
mov eax, 0x403203
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x37624ca4
sub dword [ebp - 0x18], 0xe9100759
mov dword [ebp - 0x14], 0xd943fc04
sub dword [ebp - 0x14], 0xa710afbf
mov dword [ebp - 0x10], 0xa15eeed0
add dword [ebp - 0x10], 0xaaed555e
mov dword [ebp - 0xc], 0x16858792
add dword [ebp - 0xc], 0xe97a786e
lea eax, [ebp - 0x18]
push eax
mov eax, 0xf039265e
sub eax, 0xeff8a5d2
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x87248a2b
add dword [ebp - 0x18], 0xed4ddf2b
mov dword [ebp - 0x14], 0xfea29017
add dword [ebp - 0x14], 0x42c9d15e
mov dword [ebp - 0x10], 0xc9678ac2
add dword [ebp - 0x10], 0x9a07e1aa
mov dword [ebp - 0xc], 0x956a0d67
add dword [ebp - 0xc], 0x6a95f299
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x9c7a07ff
sub eax, 0x9c39872b
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x345cd
push 0
call eax
mov ecx, 0xba16a7d
sub ecx, 0xba12b6a
mov edi, eax
mov ebx, 0x411000
add ebx, dword [ebp - 8]
mov edx, 0x1482cbb2
add edx, 0x466da169
add dword [ebp - 4], 0x855b543a
mov esi, dword [ebx]
sub dword [ebp - 4], ebx
sub esi, edx
sub dword [ebp - 4], 0x26a5d9e1
mov dword [edi], esi
xor dword [ebp - 4], 0x48982a01
add edi, 0x1e2d25b5
sub edi, 0x1e2d25b1
add ebx, 0xb828b092
sub ebx, 0xb828b08e
loop 0x40331a
add eax, 0x8f2e6595
sub eax, 0x8f2d7676
xor ebx, ebx
add ebx, eax
add eax, 0x277f85f3
sub eax, 0x277f85ee
mov ecx, 0x4f6b9491
sub ecx, 0x4f2b9491
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x41741b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4215e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040ce79
and dword [ebp - 0x14], 0
cmp dword [0x423914], 0
mov dword [ebp - 0x18], eax
jne 0x4174ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417576
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417576
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423914], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x423918], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42391c], eax
call edi
push eax
call esi
mov dword [0x423924], eax
test eax, eax
je 0x4174ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423920], eax
mov eax, dword [0x423920]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417527
cmp dword [0x423924], ecx
je 0x417527
push eax
call esi
push dword [0x423924]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417527
test ebx, ebx
je 0x417527
call edi
test eax, eax
je 0x41751e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41751e
test byte [ebp - 8], 1
jne 0x417527
or dword [ebp + 0x10], 0x200000
jmp 0x41755a
mov eax, dword [0x423918]
cmp eax, dword [ebp - 0x18]
je 0x41755a
push eax
call esi
test eax, eax
je 0x41755a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41755a
mov eax, dword [0x42391c]
cmp eax, dword [ebp - 0x18]
je 0x41755a
push eax
call esi
test eax, eax
je 0x41755a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423914]
call esi
test eax, eax
je 0x417576
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417578
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408f0f
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x412d0e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41f044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b06f
and dword [ebp - 0x14], 0
cmp dword [0x4215d8], 0
mov dword [ebp - 0x18], eax
jne 0x412dc1
push 0x41a314
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412e69
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41a308
push ebx
call edi
test eax, eax
je 0x412e69
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x41a2f8
push ebx
mov dword [0x4215d8], eax
call edi
push eax
call esi
push 0x41a2e4
push ebx
mov dword [0x4215dc], eax
call edi
push eax
call esi
push 0x41a2c8
push ebx
mov dword [0x4215e0], eax
call edi
push eax
call esi
mov dword [0x4215e8], eax
test eax, eax
je 0x412dc1
push 0x41a2b0
push ebx
call edi
push eax
call esi
mov dword [0x4215e4], eax
mov eax, dword [0x4215e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412e1a
cmp dword [0x4215e8], ecx
je 0x412e1a
push eax
call esi
push dword [0x4215e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412e1a
test ebx, ebx
je 0x412e1a
call edi
test eax, eax
je 0x412e11
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412e11
test byte [ebp - 8], 1
jne 0x412e1a
or dword [ebp + 0x10], 0x200000
jmp 0x412e4d
mov eax, dword [0x4215dc]
cmp eax, dword [ebp - 0x18]
je 0x412e4d
push eax
call esi
test eax, eax
je 0x412e4d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412e4d
mov eax, dword [0x4215e0]
cmp eax, dword [ebp - 0x18]
je 0x412e4d
push eax
call esi
test eax, eax
je 0x412e4d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4215d8]
call esi
test eax, eax
je 0x412e69
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412e6b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409013
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10165090
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c6200]
jne 0x1016509a
repz ret
jmp fcn.101661ac

Function at 0x101673ab
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.101643df
and dword [ebp - 4], 0
cmp dword [0x101c772c], 0
mov ebx, eax
jne 0x1016745c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1016750d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1016750d
push eax
call fcn.1016436d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c772c], eax
call esi
push eax
call fcn.1016436d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c7730], eax
call esi
push eax
call fcn.1016436d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c7734], eax
call esi
push eax
call fcn.1016436d
pop ecx
mov dword [0x101c773c], eax
test eax, eax
je 0x1016745c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1016436d
pop ecx
mov dword [0x101c7738], eax
mov eax, dword [0x101c7738]
cmp eax, ebx
je 0x101674b4
cmp dword [0x101c773c], ebx
je 0x101674b4
push eax
call fcn.101643e8
push dword [0x101c773c]
mov esi, eax
call fcn.101643e8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101674b4
test edi, edi
je 0x101674b4
call esi
test eax, eax
je 0x101674ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101674ab
test byte [ebp - 0xc], 1
jne 0x101674b4
or dword [ebp + 0x10], 0x200000
jmp 0x101674ed
mov eax, dword [0x101c7730]
cmp eax, ebx
je 0x101674ed
push eax
call fcn.101643e8
pop ecx
test eax, eax
je 0x101674ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101674ed
mov eax, dword [0x101c7734]
cmp eax, ebx
je 0x101674ed
push eax
call fcn.101643e8
pop ecx
test eax, eax
je 0x101674ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c772c]
call fcn.101643e8
pop ecx
test eax, eax
je 0x1016750d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1016750f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101688db
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 esi, dword [0x101c5a48]
add esi, 0x647
mov dword [0x101c5a44], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101689f6
lea eax, [ebp - 0x24]
mov dword [0x101c5a44], 0x16fa
mov dword [0x101c5a48], 0xec7
mov dword [ebp - 0x34], eax
call fcn.1016874c
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101682b0
mov dword [0x101c5a44], 0x632
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10168a26
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 [0x101c5a44]
add ecx, 0xffffe677
mov dword [0x101c5a44], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10168d9d
xor eax, eax
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 + 0x44], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x54], ecx
mov dword [0x101c5a44], 0x828
add ecx, 0x1b01
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101689ed
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019e182]
mov dh, byte [eax + 0x1019e153]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1016890a
jmp 0x101689f6
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10168a43
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x101c5a44]
add edx, 0xffffda67
mov dword [0x101c5a48], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c5a44], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10168aa3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10168b7e
jmp 0x10168abf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10168b4f
jmp 0x10168b34
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x101c5a44], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10168ba0
jmp 0x10168abf
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x10168b1b
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x101c5a44], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
jl 0x10168aa3
mov eax, dword [ebp - 0x28]
mov dword [0x101c5a48], 0x2ce7
mov dword [0x101c5a44], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10168a8e
jmp 0x10168abf
mov dword [0x101c5a44], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10168ac9
jmp 0x10168abf
mov dword [0x101c5a44], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10168abf
mov dword [0x101c5a48], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10168ae8
jmp 0x10168abf
Function at 0x10168bdf
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 [0x101c5a44], 0x77
mov dword [ebp - 0x10], eax
call fcn.10169522
xor ecx, ecx
mov edx, eax
mov dword [0x101c5a48], 0x265c
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
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 0x10168c2f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101c5a44], 0x16b1
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 0x10168d3f
jmp 0x10168ca0
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10168d26
jmp 0x10168c77
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], eax
jb 0x10168cb2
jmp 0x10168d3f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 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 0x10168c6a
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 0x10168ccc
jmp 0x10168c6a
mov eax, dword [ebp - 0x3c]
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 [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret