joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f802
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x476850]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44f842
cmp byte [ebx], 0xa
jne 0x44f842
or byte [edi + eax + 0x28], 4
jmp 0x44f847
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x44f946
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44f929
inc eax
cmp dl, 0xd
je 0x44f873
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x44f899
cmp eax, ecx
jae 0x44f8a7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x44f85b
jmp 0x44f946
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44f924
cmp dword [ebp - 0x10], 0
je 0x44f924
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x476850]
test byte [eax + edi + 0x28], 0x48
je 0x44f8fe
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44f8e9
mov byte [esi], dl
jmp 0x44f8fa
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x476850]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44f946
cmp byte [ebp - 1], 0xa
jne 0x44f90d
cmp esi, ebx
jne 0x44f90d
mov byte [esi], 0xa
jmp 0x44f945
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00450388
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44f946
mov byte [esi], 0xd
jmp 0x44f945
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x476850]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44f943
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44f946
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44f94f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x476850]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44f995
cmp word [ebx], dx
jne 0x44f995
or byte [eax + edi + 0x28], 4
jmp 0x44f99a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x44fafd
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x44fadd
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44f9db
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44fa11
cmp eax, edx
jae 0x44fa1f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x44f9b6
jmp 0x44fafd
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44fad8
cmp dword [ebp - 0x18], 0
je 0x44fad8
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x476850]
test byte [eax + edi + 0x28], 0x48
je 0x44faae
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x44fa72
mov word [esi], cx
jmp 0x44faa9
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x476850]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x476850]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x476850]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x44fafd
pop eax
cmp word [ebp - 4], ax
jne 0x44fabe
cmp esi, ebx
jne 0x44fabe
mov word [esi], ax
jmp 0x44fafa
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00450388
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44fafd
push 0xd
pop eax
jmp 0x44fab9
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x476850]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44faf7
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x44fafd
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x454375
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 0x454412
push ebx
push esi
call fcn.0045433e
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.004529b6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4543bf
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454411
push edi
push eax
call fcn.0044adf5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4543df
call fcn.0044adbb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454410
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004529b6
add esp, 0x20
test eax, eax
jne 0x4543fe
push edi
call fcn.0044adbb
jmp 0x454406
push ebx
call fcn.0044adbb
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 0x454415
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x454426
pop esi
ret
push ebx
push edi
push esi
call fcn.0045433e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044adf5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45444e
push ebx
push esi
push edi
call fcn.00437650
add esp, 0xc
push 0
call fcn.0044adbb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x45481e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00454463

Function at 0x456a7d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044c207
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x456aec
cmp esi, dword [ebp - 4]
je 0x456ae7
cmp dword [ebp + 0xc], 0
je 0x456ae7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x456ac4
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004565cf
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x456aee
xor eax, eax
inc eax
jmp 0x456aee
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x456b53
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x474010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0044c207
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044c207
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x456bca
cmp word [ecx], dx
je 0x456bca
mov eax, dword [0x4645bc]
push edi
dec eax
push eax
push 0x4644a8
call fcn.00456af2
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x456c3d
cmp word [eax], dx
je 0x456c3d
mov eax, dword [edi]
test eax, eax
je 0x456bee
cmp word [eax], dx
je 0x456bee
lea eax, [ebp - 0x10]
push eax
call fcn.004564d5
jmp 0x456bf7
lea eax, [ebp - 0x10]
push eax
call fcn.00456570
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x456c67
mov eax, dword [0x4644a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x464198
call fcn.00456af2
add esp, 0xc
test al, al
je 0x456c67
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x456c32
cmp word [eax], di
je 0x456c32
lea eax, [ebp - 0x10]
push eax
call fcn.004564d5
pop ecx
jmp 0x456c69
lea eax, [ebp - 0x10]
push eax
call fcn.00456570
jmp 0x456c2f
mov eax, dword [edi]
test eax, eax
je 0x456c54
cmp word [eax], dx
je 0x456c54
lea eax, [ebp - 0x10]
push eax
call fcn.0045648a
pop ecx
jmp 0x456c67
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x456d32
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00456977
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x456d32
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x456d32
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x456d32
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x456cbf
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0044d9e4
test ebx, ebx
je 0x456d2d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0044d9e4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x456d32
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x456d32
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0045a42e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x456d34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436030
leave
ret
Function at 0x45b1a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45b1cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45b1cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x710c75
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x7109ec
and edx, edx
call fcn.00710caa
mov edx, ecx
add edx, ecx
mov edx, 0xb37f9c69
xor dword [edi], esi
sub ecx, 1
inc edi
or edx, ecx
add ecx, edx
add edx, 0xb3db92e4
cmp edi, eax
jne fcn.00710c75
sub ecx, ecx
ret
Function at 0x1000b165
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003eb80]
jne 0x1000b16f
repz ret
jmp fcn.1000ea2c

Function at 0x1001a73f
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.1000dd00
and dword [ebp - 4], 0
cmp dword [0x10041348], 0
mov ebx, eax
jne 0x1001a7f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001a8a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001a8a1
push eax
call fcn.1000dc8e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10041348], eax
call esi
push eax
call fcn.1000dc8e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004134c], eax
call esi
push eax
call fcn.1000dc8e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10041350], eax
call esi
push eax
call fcn.1000dc8e
pop ecx
mov dword [0x10041358], eax
test eax, eax
je 0x1001a7f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000dc8e
pop ecx
mov dword [0x10041354], eax
mov eax, dword [0x10041354]
cmp eax, ebx
je 0x1001a848
cmp dword [0x10041358], ebx
je 0x1001a848
push eax
call fcn.1000dd09
push dword [0x10041358]
mov esi, eax
call fcn.1000dd09
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001a848
test edi, edi
je 0x1001a848
call esi
test eax, eax
je 0x1001a83f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001a83f
test byte [ebp - 0xc], 1
jne 0x1001a848
or dword [ebp + 0x10], 0x200000
jmp 0x1001a881
mov eax, dword [0x1004134c]
cmp eax, ebx
je 0x1001a881
push eax
call fcn.1000dd09
pop ecx
test eax, eax
je 0x1001a881
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001a881
mov eax, dword [0x10041350]
cmp eax, ebx
je 0x1001a881
push eax
call fcn.1000dd09
pop ecx
test eax, eax
je 0x1001a881
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10041348]
call fcn.1000dd09
pop ecx
test eax, eax
je 0x1001a8a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001a8a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001d221
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1001d3a5
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x40
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x74
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edx
call fcn.1001d761
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
add edx, 1
cmp edx, 0x2d7
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
je 0x1001d415
jmp 0x1001d24b
mov eax, dword [ebp - 0x154]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1001f4cc]
mov dh, byte [eax + 0x1001f49d]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x154], ecx
jne 0x1001d2f5
lea eax, [ebp - 0x12c]
mov dword [0x1003eb1c], 0x14aa
mov dword [ebp - 0x158], eax
call fcn.1001dec1
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.1001e06e
mov ecx, eax
mov dword [0x1003eb38], eax
mov eax, esp
mov edx, dword [ebp - 0x15c]
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 dword [0x1003eb1c], 0xa
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x1001d24b
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x74
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x2d7
mov ecx, edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x1001d3a5
xor eax, eax
mov dword [0x1003eb1c], 0x2000
mov dword [ebp - 0x154], eax
jmp 0x1001d2f5
lea eax, str.m_M
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x1003eb18]
add esi, 0xffffd95d
mov dword [0x1003eb1c], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1001db74
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x15c]
mov dword [esp + 0xc], edx
call fcn.1001dd5c
xor eax, eax
mov dword [0x1003eb1c], 0xe94
mov ecx, dword [ebp - 0x144]
add ecx, 0xd3121
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x117200
mov ecx, dword [ebp - 0x144]
add ecx, 0xadb80
mov dword [edx + 8], ecx
mov dword [0x1003eb18], 0xf18
mov dword [edx + 0xc], 0x1f50
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001d4d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1001d5a5
jmp 0x1001d637
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
jne 0x1001d581
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
jne 0x1001d581
lea eax, [esp + 0x28]
add eax, 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov dword [0x1003eb1c], 0x1467
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x58], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1001e3ae
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1003eb1c], 0xc9f
mov dword [esp + 0x10], eax
jmp 0x1001d598
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x1001d4f8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1001d637
lea eax, [esp + 0x38]
mov dword [0x1003eb1c], 0x32
mov dword [esp + 0xc], eax
call fcn.1001d7c1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1001d598
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1001d221
lea ecx, [0x1001d641]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x38], 0x117200
mov edx, dword [0x1003eb04]
mov dword [esp + 0x74], edx
mov edx, dword [0x1003eb08]
mov dword [esp + 0x40], edx
mov edx, dword [0x1003eb0c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1003eb10]
mov dword [esp + 0x84], edx
mov edx, dword [0x1003eb14]
mov dword [esp + 0x6c], edx
mov dword [0x1003eb18], 0x1e4d
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
jmp 0x1001d4f8
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1001d7c1
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov dword [0x1003eb18], 0x1eeb
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1003eb18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1001d86c
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1680
mov dword [0x1003eb18], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
jne 0x1001d83d
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
je 0x1001d8d9
mov eax, dword [ebp - 0x28]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff319
mov dword [0x1003eb18], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
je 0x1001d802
jmp 0x1001d83d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xfffff3a4
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edi
je 0x1001d8b0
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], eax
jl 0x1001d86c
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov dword [0x1003eb18], edx
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1001d847
jmp 0x1001d83d
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xc3f
mov dword [0x1003eb1c], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
jne 0x1001d83d
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
jne 0x1001d83d
xor eax, eax
mov dword [0x1003eb1c], 0xc31
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
jne 0x1001d83d
mov eax, 1
mov dword [0x1003eb18], 0xd6f
mov dword [ebp - 0x28], eax
jmp 0x1001d83d
Function at 0x1001d951
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov ecx, dword [0x1003eb18]
add ecx, 0xffffe9b9
mov dword [0x1003eb18], ecx
mov dword [ebp - 0x10], eax
call fcn.1001e1c9
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 0x1001d99f
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 esi, dword [0x1003eb18]
mov edi, esi
add edi, 0x13d1
mov dword [0x1003eb18], edi
mov edi, dword [edx + eax + 0x24]
mov dword [0x1003eb1c], 0x1ae9
mov ebx, dword [edx + eax + 0x18]
cmp ebx, 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x1001dafc
jmp 0x1001da95
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x1001da67
jmp 0x1001daef
mov eax, dword [ebp - 0x30]
add eax, 0x24d2
mov ecx, dword [ebp - 0x48]
mov dx, word [ecx]
mov esi, dword [ebp - 0x30]
add esi, 0x6e8
movzx edi, dx
mov dword [0x1003eb1c], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
add eax, dword [eax + ebx + 0x1c]
mov eax, dword [eax + edi*4]
mov dword [0x1003eb18], esi
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x28], esi
jmp 0x1001dafc
mov eax, dword [ebp - 0x44]
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 - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x1001daef
jmp 0x1001d9fb
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
jmp 0x1001dad0
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x38]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], eax
jae 0x1001dafc
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edx
jmp 0x1001da67
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1001da28
jmp 0x1001daa7
mov eax, dword [ebp - 0x28]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret