joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100129c0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x100129cd
xor eax, eax
pop edi
ret
cmp dword [0x100593ac], 0
push esi
je 0x100129e0
cmp dword [0x100593b8], 0
jg 0x100129f5
push 0x44
call fcn.10041469
mov esi, eax
add esp, 4
test esi, esi
jne 0x100129fa
call fcn.10008ea0
pop esi
xor eax, eax
pop edi
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
call fcn.1000d490
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
call fcn.100128a0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
call fcn.10019660
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
call fcn.1000d490
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
call fcn.10019660
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
call fcn.1000d490
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
call fcn.100129c0
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
call fcn.10019660
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call fcn.10019660
mov dword [esi + 0x2c], eax
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
add esp, 0x24
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop edi
ret

Function at 0x10012c00
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
cmp dword [0x100593bc], 0
push ebp
mov ebp, 1
jne 0x10012c33
add dword [0x100593b8], ebp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x100593b8], ebp
cmp eax, 0xffffffff
mov dword [0x100592a0], eax
je 0x10012c43
mov dword [0x100593bc], ebp
jmp 0x10012c38
mov eax, dword [0x100592a0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10012c48
mov eax, 0x10050120
cmp byte [eax + 4], 0
je 0x10012cc1
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jl 0x10012cc0
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x68]
xor ecx, ecx
test edx, edx
push edi
mov edi, dword [esp + 0x1c]
jle 0x10012c82
mov eax, dword [esi + 0x6c]
lea ecx, [ecx]
cmp dword [eax], ebx
jne 0x10012c79
cmp dword [eax + 4], edi
je 0x10012cc3
add ecx, ebp
add eax, 0x10
cmp ecx, edx
jl 0x10012c70
lea eax, [edx + 1]
shl eax, 4
push eax
mov eax, dword [esi + 0x6c]
push eax
call fcn.10010930
add esp, 8
test eax, eax
mov dword [esi + 0x6c], eax
je 0x10012cbe
mov edx, dword [esi + 0x68]
mov ecx, edx
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x24]
add edx, ebp
mov dword [esi + 0x68], edx
mov dl, byte [esp + 0x20]
mov dword [ecx], ebx
mov dword [ecx + 4], edi
mov byte [ecx + 8], dl
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp byte [eax + 8], 0
jne 0x10012cda
cmp byte [esp + 0x20], 0
jne 0x10012cda
pop edi
pop esi
xor ecx, ecx
pop ebx
mov byte [eax + 8], cl
pop ebp
ret
pop edi
pop esi
mov ecx, ebp
pop ebx
mov byte [eax + 8], cl
pop ebp
ret
Function at 0x100217a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x40]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x28], edi
call fcn.1001f850
add esp, 0x14
test eax, eax
jne 0x10021906
mov ecx, dword [esi + 0x44]
movzx eax, byte [esi + 8]
add eax, ecx
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov ch, byte [eax + 5]
push ebx
movzx ebx, word [edi + 0x16]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x44]
mov cl, byte [eax + 6]
push ebp
mov dword [esp + 0x10], edx
movzx edx, word [esi + 0xe]
mov ebp, ecx
movzx ecx, word [esi + 0x14]
lea edx, [edx + ecx*2]
movzx ecx, byte [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.10041060
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ebx, ebp
push ebx
lea edx, [ecx + ebp]
push edx
add eax, ebp
push eax
call fcn.10041060
push esi
mov ebx, edi
call fcn.10004cc0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x100218f6
movzx ecx, byte [esi + 2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [edi + 0x18]
push eax
call fcn.10041060
mov al, byte [esi + 2]
add esp, 0xc
test al, al
mov byte [edi + 2], al
je 0x10021869
mov word [edi + 0x12], bx
mov ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
and edx, 0xfffffff7
push edx
call fcn.10004e20
movzx eax, byte [esi + 8]
mov ecx, dword [esi + 0x44]
lea eax, [eax + ecx + 8]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x20]
add esp, 4
mov byte [eax + 2], dl
cmp byte [ecx + 0x12], 0
je 0x100218eb
mov ebx, dword [esi + 0x4c]
mov eax, dword [edi + 0x4c]
push 5
call fcn.1001e5a0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100218f6
xor esi, esi
cmp word [edi + 0x14], si
jbe 0x100218eb
lea esp, [esp]
mov eax, esi
call fcn.10004960
call fcn.1001e7a0
test eax, eax
jne 0x10021904
movzx eax, word [edi + 0x14]
add esi, 1
cmp esi, eax
jl 0x100218d0
push edi
call fcn.100208d0
add esp, 4
mov ebx, eax
mov ecx, dword [edi + 0x48]
push ecx
call fcn.10017750
add esp, 4
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10032230
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
cmp dword [0x100593bc], 0
push esi
mov esi, 1
jne 0x10032263
add dword [0x100593b8], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x100593b8], esi
cmp eax, 0xffffffff
mov dword [0x100592a0], eax
je 0x10032273
mov dword [0x100593bc], esi
jmp 0x10032268
mov eax, dword [0x100592a0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10032278
mov eax, 0x10050120
cmp byte [eax + 4], 0
je 0x10032292
mov eax, dword [esp + 8]
push str.Cannot_use_virtual_tables_in_shared_cache_mode
push eax
call fcn.10017590
add esp, 8
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push 0
push esi
push 0
push 0
push ecx
push edx
push edi
call fcn.1002dc60
mov esi, dword [edi + 0xa4]
add esp, 0x1c
test esi, esi
je 0x10032366
cmp dword [edi + 0x18], 0
jne 0x10032366
mov eax, dword [esi + 0x4c]
mov ecx, dword [edi]
push ebx
push ebp
push eax
push ecx
call fcn.10006be0
mov ebx, dword [esp + 0x28]
push ebx
mov ebp, eax
mov byte [esi + 0x39], 1
mov dword [esi + 0x44], 0
call fcn.1000da10
push eax
call fcn.10015f10
mov edx, dword [edi]
mov eax, dword [edx + 4]
lea ebp, [ebp + ebp*2]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov ecx, dword [eax + ebp]
push ecx
call fcn.1000ad00
push eax
call fcn.10015f10
mov edx, dword [esi]
push edx
call fcn.1000ad00
push eax
call fcn.10015f10
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + 0x90]
shr eax, 1
sub eax, dword [ecx]
and edx, 1
add eax, dword [ebx]
add esp, 0x20
add eax, eax
xor eax, edx
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10032364
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + ebp]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
push eax
push 0x1d
push edi
call fcn.1001a2e0
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x100408e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10058040]
jne 0x100408f1
repz ret
jmp fcn.10043160

Function at 0x10046fab
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10058c78]
je 0x10046fc6
inc edi
cmp edi, 0x17
jb 0x10046fb7
cmp edi, 0x17
jae 0x10047146
push ebp
push 3
call fcn.1004a8e6
cmp eax, 1
pop ecx
je 0x10047112
push 3
call fcn.1004a8e6
test eax, eax
pop ecx
jne 0x10046ffa
cmp dword [0x100593ec], 1
je 0x10047112
cmp ebx, 0xfc
je 0x10047145
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100599c8
push ebp
call fcn.10049435
add esp, 0xc
test eax, eax
je 0x10047030
push esi
push esi
push esi
push esi
push esi
call fcn.10042fc1
add esp, 0x14
push 0x104
mov esi, 0x100599e1
push esi
push 0
mov byte [0x10059ae5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10047074
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10049435
add esp, 0xc
test eax, eax
je 0x10047074
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10042fc1
add esp, 0x14
push esi
call fcn.10048d40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100470b9
push esi
call fcn.10048d40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10059cdc
push 0x100564a4
sub ecx, eax
push ecx
push eax
call fcn.10049812
add esp, 0x14
test eax, eax
je 0x100470b9
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10042fc1
add esp, 0x14
jmp 0x100470bb
xor esi, esi
push 0x100564a0
push ebx
push ebp
call fcn.10049e50
add esp, 0xc
test eax, eax
je 0x100470db
push esi
push esi
push esi
push esi
push esi
call fcn.10042fc1
add esp, 0x14
push dword [edi*8 + 0x10058c7c]
push ebx
push ebp
call fcn.10049e50
add esp, 0xc
test eax, eax
je 0x100470fd
push esi
push esi
push esi
push esi
push esi
call fcn.10042fc1
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1004a729
add esp, 0xc
jmp 0x10047145
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10047145
cmp ebp, 0xffffffff
je 0x10047145
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10058c7c]
push dword [esi]
call fcn.10048d40
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1004a729
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10045310
xor ebx, ebx
cmp dword [0x10059e38], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1004a7ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1004a8df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1004a8df
push eax
call fcn.100452a2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10059e38], eax
call esi
push eax
call fcn.100452a2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10059e3c], eax
call esi
push eax
call fcn.100452a2
mov dword [0x10059e40], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10046d58
test eax, eax
pop ecx
pop ecx
je 0x1004a7cd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10042fc1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1004a7ff
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100452a2
cmp eax, ebx
pop ecx
mov dword [0x10059e48], eax
je 0x1004a7ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100452a2
pop ecx
mov dword [0x10059e44], eax
mov eax, dword [0x10059e44]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1004a884
cmp dword [0x10059e48], ecx
je 0x1004a884
push eax
call fcn.10045319
push dword [0x10059e48]
mov esi, eax
call fcn.10045319
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1004a884
cmp edi, ebx
je 0x1004a884
call esi
cmp eax, ebx
je 0x1004a851
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1004a851
test byte [ebp - 0x18], 1
jne 0x1004a884
lea eax, [ebp - 0x10]
push eax
call fcn.10046d8f
test eax, eax
pop ecx
je 0x1004a86c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10042fc1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1004a87b
or dword [ebp + 0x10], 0x200000
jmp 0x1004a8bf
or dword [ebp + 0x10], 0x40000
jmp 0x1004a8bf
mov eax, dword [0x10059e3c]
cmp eax, dword [ebp - 8]
je 0x1004a8bf
push eax
call fcn.10045319
cmp eax, ebx
pop ecx
je 0x1004a8bf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1004a8bf
mov eax, dword [0x10059e40]
cmp eax, dword [ebp - 8]
je 0x1004a8bf
push eax
call fcn.10045319
cmp eax, ebx
pop ecx
je 0x1004a8bf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10059e38]
call fcn.10045319
cmp eax, ebx
pop ecx
je 0x1004a8df
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1004a8e1
xor eax, eax
pop edi
pop esi
pop ebx
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 0x1000a451
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000a451]
mov dword [0x102db3a0], 0x1060
mov ecx, dword [0x102db39c]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x1000a4b6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1000a4b6
mov eax, dword [ebp - 0x14]
mov dword [0x102db3a0], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000a484

Function at 0x1000a4e3
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 [0x102db39c], 0x13a8
mov dword [0x102db3a8], 0
mov byte [0x102db3ac], 0
mov edi, dword [0x102db3a0]
add edi, 0xffffea5b
mov dword [0x102db3a0], edi
mov dword [0x102db3a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000a544
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102db3a0]
add eax, 0xfffff29d
mov dword [0x102db39c], eax
mov eax, dword [0x102db3a4]
add eax, 1
mov dword [0x102db3a4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a544
xor eax, eax
mov dword [0x102db39c], 0x119a
mov dword [0x102db3a4], 0
mov dword [ebp - 0x20], eax
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 [0x102db3b0], 0
mov dword [0x102db39c], 0x21a0
mov edi, dword [0x102db3a8]
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 [0x102db3b0], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102db3a8], edx
mov dword [0x102db3a0], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102db3ac], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102db39c], 0x18ab
mov cl, byte [0x102db3ac]
mov esi, dword [0x102db3a8]
mov byte [ebx + esi], cl
mov esi, dword [0x102db3a4]
add esi, 1
mov dword [0x102db3a4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000a592
jmp 0x1000a53c
Function at 0x1000a6d3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102d469f]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102db3a0], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000a642
mov eax, dword [0x102db39c]
add eax, 0x23bd
mov dword [0x102db39c], eax
call fcn.1000afeb
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a19a
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000a7f9
mov eax, dword [ebp - 0x3c]
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 [0x102db39c], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a349
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102db3a0], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x1c], ecx
mov dword [0x102db39c], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a7f9
mov eax, dword [ebp - 0x44]
add eax, 0x15fc
mov ecx, dword [0x102db3a0]
add ecx, 0xffffec01
mov dword [0x102db3a0], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000a8a4
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 [0x102db39c], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000b3ac
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 0x1000a8ea
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 [0x102db3a0], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102db39c], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000aa18
jmp 0x1000a95f
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], eax
jb 0x1000a97a
jmp 0x1000aa18
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
jmp 0x1000a97a
mov al, byte [ebp - 0x45]
test al, 1
jne 0x1000a9f5
jmp 0x1000a936
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x102db39c], 0xacb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x45], cl
je 0x1000a971
mov al, byte [ebp - 0x55]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x54]
add edx, 1
mov ah, byte [ebp - 0x45]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x50], edx
jne 0x1000a99e
jmp 0x1000a971
mov eax, dword [ebp - 0x38]
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 [0x102db39c], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b10b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102db3a0], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102db39c], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102db39c]
add edx, 0xfffffa13
mov dword [0x102db39c], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102db3a0], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000b197
mov eax, 1
mov dword [0x102db39c], 0x26a1
mov dword [ebp - 0x14], eax
jmp 0x1000b2b2
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x1000b1b3
jmp 0x1000b214
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1000b241
jmp 0x1000b226
mov eax, 0x1137
mov dword [0x102db39c], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x1000b1fd
jmp 0x1000b214
mov eax, 0xffffee12
mov dword [0x102db39c], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b292
jmp 0x1000b214
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b26b
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x102db3a0], eax
mov dword [ebp - 0x14], ecx
jmp 0x1000b2b2
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1000b197
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x102db39c], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1000b17e
jmp 0x1000b214
mov eax, 0xfffff83a
mov dword [0x102db39c], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b1d6
jmp 0x1000b214
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b167
jmp 0x1000b214
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret