joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467280
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
call fcn.00465cf0
mov eax, dword [0x53dfa4]
cmp byte [eax + 0x48], 0
mov bl, byte [0x542e44]
jne 0x46729f
xor al, al
jmp 0x4672c0
cmp byte [eax + 0x49], 0
jne 0x4672a9
xor al, al
jmp 0x4672c0
cmp dword [eax + 0x9c], 0
jg 0x4672b6
xor al, al
jmp 0x4672c0
cmp byte [eax + 0xa8], 0
sete al
or bl, al
cmp byte [0x542d9c], 0
mov byte [esp + 0x10], bl
je 0x4672e4
mov esi, 0x542d78
call fcn.0040f930
test al, al
jne 0x4672e4
or bl, 1
mov byte [esp + 0x10], bl
cmp byte [0x542dcc], 0
je 0x467302
mov esi, 0x542da8
call fcn.0040f930
test al, al
jne 0x467302
or bl, 1
mov byte [esp + 0x10], bl
cmp byte [0x542dfc], 0
je 0x467320
mov esi, 0x542dd8
call fcn.0040f930
test al, al
jne 0x467320
or bl, 1
mov byte [esp + 0x10], bl
cmp byte [0x53ee40], 0
je 0x467349
or bl, 1
push 2
mov byte [esp + 0x14], bl
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 8
test al, al
je 0x467349
mov esi, 0x53ee28
call fcn.00498f80
cmp byte [0x542e38], 0
je 0x4673f6
cmp byte [0x541ed2], 0
mov bl, byte [0x53ee54]
jne 0x46738e
cmp byte [0x542112], 0
jne 0x46738e
cmp byte [0x542355], 0
jne 0x46738e
cmp byte [0x54237f], 0
jne 0x46738e
cmp byte [0x542abd], 0
mov byte [esp + 0xf], 0
je 0x467393
mov byte [esp + 0xf], 1
mov eax, 0x53d650
call fcn.0041d7e0
or al, byte [esp + 0xf]
or bl, al
mov eax, 0x53dc28
call fcn.0041a180
or bl, al
cmp byte [0x540ac2], 0
jne 0x4673e0
cmp byte [0x540d05], 0
jne 0x4673e0
cmp byte [0x540d2f], 0
jne 0x4673e0
cmp byte [0x54146d], 0
jne 0x4673e0
cmp byte [0x5416d5], 0
jne 0x4673e0
xor al, al
jmp 0x4673e2
mov al, 1
mov cl, byte [0x53c4da]
or cl, al
or bl, cl
or byte [esp + 0x10], bl
mov byte [0x542e38], bl
cmp byte [0x51beaa], 0
pop esi
setne al
sub al, 1
pop ebx
and eax, dword [esp + 8]
add esp, 0xc
ret
Function at 0x48b6f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdb31
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x517b6c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea ecx, [ebp - 0x268]
mov edx, 0x53cad8
mov byte [ebp - 0x229], bl
mov dword [ebp - 4], ebx
call fcn.0048ea80
cmp al, bl
jne 0x48b75b
push 0x4f3a60
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x23c], 0x4e6b10
call fcn.004ae41b
lea ecx, [ebp - 0x274]
mov edx, 0x53cad8
call fcn.0048ea80
cmp al, bl
jne 0x48b78a
push 0x4f3a60
lea ecx, [ebp - 0x238]
push ecx
mov dword [ebp - 0x238], 0x4e92b4
call fcn.004ae41b
lea ecx, [ebp - 0x228]
mov edx, 0x53cad8
call fcn.0048ec20
cmp al, bl
jne 0x48b7b9
push 0x4f3a60
lea edx, [ebp - 0x24c]
push edx
mov dword [ebp - 0x24c], 0x4eb010
call fcn.004ae41b
push 4
mov dword [ebp - method.CSMARTPTR_class_CDLGWND_.virtual_0], vtable.CSMARTPTR_class_CDLGWND_.0
call fcn.004acfc8
add esp, 4
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], ebx
mov dword [eax], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x260]
push 0x53de18
lea ecx, [ebp - 0x248]
call fcn.0040d280
cmp al, bl
jne 0x48b81f
push 0x4f3a60
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 0x229], 1
mov dword [ebp - 0x230], 0x4e86a8
call fcn.004ae41b
push ebx
lea esi, [ebp - 0x258]
call fcn.0048c2f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x240]
mov ecx, esi
push ecx
push edx
push eax
call fcn.00424560
cmp al, bl
jne 0x48b86b
push 0x4f3a60
lea ecx, [ebp - 0x234]
push ecx
mov byte [ebp - 0x229], 1
mov dword [ebp - 0x234], 0x4ea788
call fcn.004ae41b
push 0x200
lea edx, [ebp - 0x21c]
push ebx
push edx
call fcn.004b2fa0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
add esp, 0xc
add ecx, 2
push ecx
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
push ecx
push edx
mov ecx, 0x53cc38
call fcn.0048ffb0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0042d160
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.00426c30
mov al, 1
jmp 0x48b976
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004acfa0
mov esp, ebp
pop ebp
ret
Function at 0x4975b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4b43
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.CSTATICBUFFER.0
mov dword [esi + 0x10], vtable.CENVVAL.0
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x14], vtable.CSMARTPTR_class_IPCMFILE_.0
call fcn.004acfc8
mov dword [esi + 0x18], eax
mov dword [eax], ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebx
add esp, 4
add dword [eax], 1
mov dword [esi + 0x24], vtable.CHEAP.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x499db0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
jne 0x499dbd
xor eax, eax
add esp, 0xc
ret
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 4], eax
jbe 0x499e42
push eax
call fcn.0049e131
mov esi, eax
add esp, 4
test esi, esi
je 0x499e42
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x499e39
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x4ed124
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x499e39
mov eax, dword [esp + 8]
test eax, eax
je 0x499e39
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx + 4], ecx
mov dword [ebx], edx
call fcn.004ad279
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.004ad279
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x4acfa0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x517b6c]
jne 0x4acfaa
repz ret
jmp fcn.004b2e66

Function at 0x4b4899
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 + 0x517de8]
je 0x4b48b4
inc edi
cmp edi, 0x17
jb 0x4b48a5
cmp edi, 0x17
jae 0x4b4a34
push ebp
push 3
call fcn.004beb85
cmp eax, 1
pop ecx
je 0x4b4a00
push 3
call fcn.004beb85
test eax, eax
pop ecx
jne 0x4b48e8
cmp dword [0x5179b0], 1
je 0x4b4a00
cmp ebx, 0xfc
je 0x4b4a33
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x51b8a0
push ebp
call fcn.004b301a
add esp, 0xc
test eax, eax
je 0x4b491e
push esi
push esi
push esi
push esi
push esi
call fcn.004ad35b
add esp, 0x14
push 0x104
mov esi, 0x51b8b9
push esi
push 0
mov byte [0x51b9bd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b4962
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004b301a
add esp, 0xc
test eax, eax
je 0x4b4962
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004ad35b
add esp, 0x14
push esi
call fcn.004ae390
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4b49a7
push esi
call fcn.004ae390
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x51bbb4
push 0x4d5704
sub ecx, eax
push ecx
push eax
call fcn.004b4ce4
add esp, 0x14
test eax, eax
je 0x4b49a7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004ad35b
add esp, 0x14
jmp 0x4b49a9
xor esi, esi
push 0x4d5700
push ebx
push ebp
call fcn.004b7dba
add esp, 0xc
test eax, eax
je 0x4b49c9
push esi
push esi
push esi
push esi
push esi
call fcn.004ad35b
add esp, 0x14
push dword [edi*8 + 0x517dec]
push ebx
push ebp
call fcn.004b7dba
add esp, 0xc
test eax, eax
je 0x4b49eb
push esi
push esi
push esi
push esi
push esi
call fcn.004ad35b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004be9c8
add esp, 0xc
jmp 0x4b4a33
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4b4a33
cmp ebp, 0xffffffff
je 0x4b4a33
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x517dec]
push dword [esi]
call fcn.004ae390
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 0x4be9c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004b41ba
xor ebx, ebx
cmp dword [0x51bd60], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4bea9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4beb7e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dbef0
push edi
call esi
cmp eax, ebx
je 0x4beb7e
push eax
call fcn.004b414c
mov dword [esp], 0x4dbee0
push edi
mov dword [0x51bd60], eax
call esi
push eax
call fcn.004b414c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x51bd64], eax
call esi
push eax
call fcn.004b414c
mov dword [0x51bd68], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004b29d3
test eax, eax
pop ecx
pop ecx
je 0x4bea6c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ad35b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4bea9e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004b414c
cmp eax, ebx
pop ecx
mov dword [0x51bd70], eax
je 0x4bea9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b414c
pop ecx
mov dword [0x51bd6c], eax
mov eax, dword [0x51bd6c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4beb23
cmp dword [0x51bd70], ecx
je 0x4beb23
push eax
call fcn.004b41c3
push dword [0x51bd70]
mov esi, eax
call fcn.004b41c3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4beb23
cmp edi, ebx
je 0x4beb23
call esi
cmp eax, ebx
je 0x4beaf0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4beaf0
test byte [ebp - 0x18], 1
jne 0x4beb23
lea eax, [ebp - 0x10]
push eax
call fcn.004b2a0a
test eax, eax
pop ecx
je 0x4beb0b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ad35b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4beb1a
or dword [ebp + 0x10], 0x200000
jmp 0x4beb5e
or dword [ebp + 0x10], 0x40000
jmp 0x4beb5e
mov eax, dword [0x51bd64]
cmp eax, dword [ebp - 8]
je 0x4beb5e
push eax
call fcn.004b41c3
cmp eax, ebx
pop ecx
je 0x4beb5e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4beb5e
mov eax, dword [0x51bd68]
cmp eax, dword [ebp - 8]
je 0x4beb5e
push eax
call fcn.004b41c3
cmp eax, ebx
pop ecx
je 0x4beb5e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51bd60]
call fcn.004b41c3
cmp eax, ebx
pop ecx
je 0x4beb7e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4beb80
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c2f80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4c3020
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x4c2fd2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x519140]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4c2fb3
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4c2ffb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x519140]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4c2fde
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x102aca80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c6aa0], 0
mov byte [0x102c6aa4], 0
mov dword [0x102c6a94], 0x25ec
mov dword [0x102c6a9c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102acaee
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x102c6a9c], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x102acb3a
mov eax, dword [ebp - 0x1c]
mov dword [0x102c6a98], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c6a98]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x102c6a94], esi
mov esi, dword [0x102c6a9c]
add esi, 1
mov dword [0x102c6a9c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x102acaee
jmp 0x102acac7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x1b14
mov edi, 0xfffff02c
mov ebx, 0x100
mov dword [0x102c6aa8], 0
mov dword [0x102c6a94], eax
mov eax, dword [0x102c6aa0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ecx, edx
mov dword [0x102c6aa8], ecx
mov eax, ecx
cdq
idiv ebx
mov dword [0x102c6aa0], edx
mov dword [0x102c6a94], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov cl, byte [ecx + ebx]
mov byte [0x102c6aa4], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x102c6a94], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x102c6aa4]
mov edx, dword [0x102c6aa0]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x102c6a94], 0x2b4
mov dword [0x102c6a98], 0xfffff6fd
mov edx, dword [0x102c6a9c]
add edx, 1
mov dword [0x102c6a9c], edx
cmp edx, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
jl 0x102acb3a
mov dword [0x102c6a94], 0xffffeb3b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102accd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102c6a9c], 0
mov dword [0x102c6aa0], 0
mov dword [0x102c6aac], 0
mov edi, dword [0x102c6a94]
add edi, 0x3c3
mov dword [0x102c6a94], edi
mov dword [0x102c6a98], 0x5f1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x102acea5
jmp 0x102acd54
mov eax, dword [0x102c6a9c]
mov ecx, dword [0x102c6aa0]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x102acd65
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x102acd65
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102c6a98], 0x1cfd
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102c6a9c], edx
mov dword [0x102c6a94], 0x18db
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102c6aa0], edx
mov dword [0x102c6a98], 0x198a
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102c6aa4], cl
mov dword [0x102c6a94], 0x13a5
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102c6a98], 0x1ce8
mov dword [0x102c6a94], 0x15f
mov cl, byte [0x102c6aa4]
mov edx, dword [0x102c6aa0]
mov byte [edi + edx], cl
mov edx, dword [0x102c6a94]
add edx, 0xffffedd6
mov dword [0x102c6a94], edx
mov edx, dword [0x102c6a9c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c6aa0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102c6aac], ebx
mov dword [0x102c6a94], 0x2cc
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov edx, dword [0x102c6a98]
mov bl, cl
add bl, byte [0x102c6ab1]
mov byte [0x102c6ab0], bl
mov byte [0x102c6ab1], ch
mov byte [0x102c6ab2], cl
xor ch, cl
add edx, 0xffffee6e
mov dword [0x102c6a98], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov byte [edx + esi], ch
mov dword [0x102c6a94], 0x13c3
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x20], esi
jne 0x102acd3b
jmp 0x102acea5
mov dword [0x102c6a94], 0xb60
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102ad6c0
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 [0x102c6a98], 0x1626
mov ecx, dword [0x102c6a94]
add ecx, 0x31
mov dword [0x102c6a94], ecx
mov dword [ebp - 0x10], eax
call fcn.102ad070
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x102c6a94], 0xd6b
mov edx, dword [eax + edx + 0x78]
mov dword [0x102c6a94], 0x12
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ecx + edx + 0x24]
mov dword [0x102c6a98], 0x40a
mov edi, dword [ecx + edx + 0x18]
cmp edi, 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x102ad851
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
jmp 0x102ad763
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
mov byte [ebp - 0x4b], bl
je 0x102ad7ea
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], ch
mov byte [ebp - 0x52], dl
mov al, byte [ebp - 0x51]
mov cl, byte [ebp - 0x52]
and al, cl
test al, 1
mov edx, dword [ebp - 0x50]
mov al, byte [ebp - 0x4a]
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x4b], al
jne 0x102ad77d
mov al, byte [ebp - 0x4b]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
jne 0x102ad81b
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jb 0x102ad763
jmp 0x102ad84a
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
mov dword [0x102c6a98], 0x182a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x18]
add esi, dword [ecx + eax*4]
mov dword [0x102c6a94], 0x274
mov dword [ebp - 0x28], esi
jmp 0x102ad851
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x102ad851
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102ad860
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [0x102c6a98]
add eax, 0x1c78
mov dword [0x102c6a98], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x102c6a98], 0x19
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102ad8d2
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 0x102ad8d2
jmp 0x102ad8e8
xor eax, eax
mov dword [0x102c6a94], 0x10e3
mov dword [ebp - 0x1c], eax
jmp 0x102ad9c0
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 0x102ad8a5
mov eax, dword [ebp - 0x18]
mov dword [0x102c6a98], 0x56e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x102ad8be
mov dword [0x102c6a94], 0x582
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102ad8be
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x61
jne 0x102ad8be
mov dword [0x102c6a94], 0x7df
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102ad8be
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x26], dx
mov ax, word [ebp - 0x26]
cmp ax, 0x64
jne 0x102ad8be
mov dword [0x102c6a94], 0x91c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102ad8be
mov dword [0x102c6a98], 0x153e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x102ad8be
mov eax, 1
mov dword [0x102c6a98], 0x190e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret