joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448670
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4486a3
push esi
call fcn.00456a30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44869c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x448729
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448712
mov eax, dword [esi + 8]
test eax, eax
je 0x4486c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44870e
cmp eax, 2
je 0x448712
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4486ba
cmp eax, 3
je 0x4486ed
cmp eax, 1
jne 0x4486ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4486ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4486ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448750
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448738
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448750
add esp, 4
pop esi
ret

Function at 0x448fd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448ff1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448ff1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448ff1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4676e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x467783
test eax, eax
jbe 0x467783
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x467783
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46772e
xor esi, esi
jmp 0x467734
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46775f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00469630
add esi, eax
push esi
mov ebx, esi
call fcn.00469630
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x467740
pop ebp
test edi, edi
pop edi
jne 0x467783
test ebx, ebx
je 0x467783
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046cf60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4678e5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4679fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4679fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047db1f
mov esi, eax
test esi, esi
je 0x4679fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4679fd
mov ecx, esi
call fcn.00467870
cmp edi, eax
jge 0x4679fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x467983
mov dword [esp + 0x34], 1
jmp 0x4679de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4679fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00466e20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47e4c3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47e4fb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047c577
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047c54f
jmp 0x47e507
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47fbba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47fbfc
call fcn.004856b2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47fbfc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47fbf3
xor eax, eax
jmp 0x47fc04
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047fc0a
pop edi
pop esi
pop ebx
ret 4
Function at 0x485be2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x485c10
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x485c2e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485b48
jmp 0x485c2e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x485c2e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485b48
test edi, edi
mov eax, edi
jne 0x485c18
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x596780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
jmp 0x59679a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5967a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596790
mov eax, 1
add ebx, ebx
jne 0x5967b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5967c4
jne 0x5967e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5967e3
dec eax
add ebx, ebx
jne 0x5967d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5967a8
add ebx, ebx
jne 0x5967df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x596835
xor ecx, ecx
sub eax, 3
jb 0x5967fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59686a
sar eax, 1
mov ebp, eax
jmp 0x596806
add ebx, ebx
jne 0x596806
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5967d4
inc ecx
add ebx, ebx
jne 0x596814
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5967d4
add ebx, ebx
jne 0x596821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x596816
jne 0x596832
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x596816
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x596854
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x596846
jmp 0x596796
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x596854
add edi, ecx
jmp 0x596796
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x596872
cmp byte [edi], 0x11
jne 0x596872
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x596877
lea edi, [esi + 0x18f000]
mov eax, dword [edi]
or eax, eax
je 0x5968ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19c784]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c928]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5968a4
mov ecx, edi
jns 0x5968d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19c930]
or eax, eax
je 0x5968e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5968c1
call dword [esi + 0x19c92c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x596920
cmp al, 0xef
ja 0x596913
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5968f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x596902
mov ebp, dword [esi + 0x19c934]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x596954
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x102d5bae
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x102d5d86
jmp 0x102d5c5c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x102d5d86
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2a], dx
mov word [ebp - 0x2c], di
jb 0x102d5c2d
mov ax, word [ebp - 0x2a]
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x2d], bl
jne 0x102d5d62
jmp 0x102d5d42
mov dword [0x102f5bf0], 0x25ed
mov dword [0x102f5bec], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x102f5bec], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x102f5bf0], 0xffffd3cf
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x34]
add edx, 0x14
mov esi, edx
mov byte [ebp - 0x35], cl
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x102d5d86
mov dword [0x102f5bec], 0xe77
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x35]
and bh, bl
test bh, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x48], esi
jne 0x102d5be9
mov eax, dword [ebp - 0x44]
mov cx, word [eax]
mov dword [0x102f5bec], 0x26b6
shr cx, 1
movzx edx, cx
mov word [ebp - 0x4a], cx
mov dword [ebp - 0x50], edx
xor eax, eax
mov cx, word [ebp - 0x4a]
cmp cx, 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], edx
je 0x102d5cb3
jmp 0x102d5bf9
mov dword [0x102f5bec], 0x667
mov eax, dword [ebp - 0x28]
add eax, 1
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
mov dword [ebp - 0x20], eax
jb 0x102d5bf9
mov al, byte [ebp - 0x2d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
jne 0x102d5d74
jmp 0x102d5cb3
mov dword [0x102f5bf0], 0xffffc994
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
jmp 0x102d5d86
mov eax, dword [ebp - 0x18]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102d61da
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 [0x102f5bf8], 0
mov byte [0x102f5bfc], 0
mov dword [0x102f5bec], 0x1f87
mov dword [0x102f5bf4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102d623c
mov dword [0x102f5bec], 0xd51
xor eax, eax
mov dword [0x102f5bf4], 0
mov dword [ebp - 0x20], eax
jmp 0x102d6264
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f5bf4]
add eax, 1
mov dword [0x102f5bf4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102d623c
jmp 0x102d6221
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102f5c00], 0
mov dword [0x102f5bec], 0x17de
mov edx, dword [0x102f5bf8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102f5c00], edi
mov dword [0x102f5bf0], 0x51e
mov dword [0x102f5bec], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x102f5bf8], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102f5bfc], cl
mov dword [0x102f5bec], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x102f5bec]
add ecx, 0x1ff7
mov dword [0x102f5bf0], ecx
mov cl, byte [0x102f5bfc]
mov edx, dword [0x102f5bf8]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102f5bec], 0x5e6
mov edx, dword [0x102f5bf0]
add edx, 0xfffffd1a
mov dword [0x102f5bf0], edx
mov edx, dword [0x102f5bf4]
add edx, 1
mov dword [0x102f5bf4], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x102d6264
mov dword [0x102f5bec], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102d67b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x102f5bf0], 0x26de
mov dword [ebp - 0x10], eax
call fcn.102d5d91
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov esi, ecx
add esi, edx
mov dword [0x102f5bf0], 0xe73
cmp dword [eax + edx], 0x4550
sete bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov cl, byte [ebp - 0x11]
test cl, 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
jne 0x102d680e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov dword [0x102f5bec], 0x16bd
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
je 0x102d6948
jmp 0x102d68da
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], eax
jb 0x102d68ec
jmp 0x102d6948
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov al, byte [ebp - 0x55]
test al, 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
jne 0x102d68af
jmp 0x102d6908
mov eax, dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [ebp - 0x60]
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 dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x102d6908
jmp 0x102d687a
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edx
jmp 0x102d68af
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x102d6914
jmp 0x102d684c
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x68]
add eax, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x64]
add edx, dword [eax + esi*4]
mov dword [0x102f5bec], 0x22a3
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102d699a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
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 [0x102f5bec], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102d6a27
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x16], dx
mov eax, 1
mov cx, word [ebp - 0x16]
cmp cx, 0x6c
mov dword [ebp - 0x1c], eax
je 0x102d6ab8
jmp 0x102d6ab1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x102d6a9e
jmp 0x102d6ab1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x102d69d0
jmp 0x102d6ab1
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 0x102d6a5e
mov dword [0x102f5bec], 0x9f6
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 0x102d6a27
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x102d6ab1
mov dword [0x102f5bec], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102d6ab1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x102d69fb
jmp 0x102d6ab1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x102d6a13
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x102d6ab8
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
Function at 0x102d6ac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x102d6b12
lea eax, [ebp - 0x28]
mov dword [0x102f5bec], 0x1372
mov dword [ebp - 0x38], eax
call fcn.102d71ed
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.102d5f05
cmp eax, 0
mov dword [ebp - 0x3c], eax
jne 0x102d6b3e
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102d8528]
mov dh, byte [eax + 0x102d84f9]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
je 0x102d6adb
jmp 0x102d6b12
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 ecx, dword [0x102f5bec]
add ecx, 0xffffdbc9
mov dword [0x102f5bec], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.102d60cc
mov eax, dword [0x102f5bec]
add eax, 0xffffe005
mov dword [0x102f5bf0], eax
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x48], edx
mov dword [0x102f5bec], 0x19c4
mov esi, dword [ebp - 0x40]
mov dword [ecx + 0x14], esi
add esi, 0x1afe
mov edi, dword [ebp - 0x40]
cmp edi, 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
je 0x102d6bef
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret