joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e240
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10038958
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x14]
push eax
call fcn.1000e180
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebx + 0xb0]
mov dword [esp + 0x44], esi
call fcn.10003330
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x1000e2a4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100203a5
add esp, 4
mov eax, dword [ebx + 0x34]
cmp eax, 5
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
jb 0x1000e2e7
cmp eax, 6
jbe 0x1000e2c7
cmp eax, 8
jne 0x1000e2e7
mov eax, 0x40
mov word [ebx + 0xa2], 0xae
mov word [ebx + 0xa4], ax
mov word [ebx + 0xaa], ax
mov word [ebx + 0x40], ax
mov si, word [ebx + 0xa2]
lea edi, [ebx + 0xcc]
call fcn.1000d950
mov si, word [ebx + 0xa4]
call fcn.1000d950
mov si, word [ebx + 0xa4]
lea edi, [ebx + 0x104]
call fcn.1000d950
mov si, word [ebx + 0xa2]
lea edi, [ebx + 0x120]
call fcn.1000d950
mov si, word [ebx + 0xa4]
call fcn.1000d950
mov si, word [ebx + 0xa2]
lea ebp, [ebx + 0x7c]
mov edi, ebp
call fcn.1000d950
mov si, word [ebx + 0xa4]
call fcn.1000d950
mov si, word [ebx + 0xaa]
call fcn.1000d950
mov si, word [ebx + 0x40]
lea edi, [ebx + 0x60]
call fcn.1000d950
mov si, word [ebx + 0x40]
mov edi, ebp
call fcn.1000d950
cmp dword [ebx + 0x34], 5
jne 0x1000e38f
mov esi, 0x7c
lea edi, [ebx + 0x60]
call fcn.1000d950
mov edi, ebp
call fcn.1000d950
mov eax, dword [ebx + 0x34]
cmp eax, 8
je 0x1000e39c
cmp eax, 6
jne 0x1000e3a3
mov dword [ebx + 0x2c], 5
cmp eax, 8
jne 0x1000e3af
mov dword [ebx + 0x5c], 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x1000e5d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10038988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10048ff0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10003330
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000e630
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100050c0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.10003330
cmp dword [esp + 0x28], 8
jb 0x1000e67b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100203a5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x10014c80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10038f88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
lea esi, [edi + edi + 2]
cmp esi, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], edi
jge 0x10014d87
jmp 0x10014cd0
lea eax, [esi*8]
sub eax, esi
cmp dword [ebx + eax*4 - 4], 8
mov edx, dword [ebx + eax*4 - 8]
lea eax, [ebx + eax*4]
mov dword [esp + 0x14], edx
jb 0x10014cf0
mov ecx, dword [eax - 0x18]
jmp 0x10014cf3
lea ecx, [eax - 0x18]
mov ebp, dword [eax + 0x14]
cmp ebp, edx
mov dword [esp + 0x18], ebp
jae 0x10014d00
mov edx, ebp
cmp dword [eax + 0x18], 8
jb 0x10014d0b
mov eax, dword [eax + 4]
jmp 0x10014d0e
add eax, 4
test edx, edx
jbe 0x10014d3b
mov bp, word [eax]
cmp bp, word [ecx]
jne 0x10014d27
add eax, 2
add ecx, 2
sub edx, 1
jne 0x10014d12
jmp 0x10014d37
mov dx, bp
cmp dx, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x10014d4c
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jb 0x10014d50
xor ecx, ecx
cmp ebp, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x10014d53
sub esi, 1
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebx + edx*4]
sub ecx, edi
push eax
lea ecx, [ebx + ecx*4]
call fcn.10003330
mov ebp, dword [esp + 0x38]
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebp
jl 0x10014cd0
jne 0x10014daf
push 0xffffffffffffffff
lea edx, [ebp*8]
sub edx, ebp
lea ecx, [edi*8]
push 0
lea eax, [ebx + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebx + ecx*4]
call fcn.10003330
lea edi, [ebp - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x60]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], eax
push edx
mov word [ecx + 4], ax
call fcn.10003330
mov eax, dword [esp + 0x38]
push eax
push edi
push ebx
call fcn.10014a90
add esp, 0x28
cmp dword [esp + 0x54], 8
jb 0x10014df8
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100203a5
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x100170d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x10048ff0]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, dword [esp + 0x410]
push edi
mov ecx, esi
xor edi, edi
call fcn.100170b0
cmp eax, 9
jae 0x10017115
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
push ebx
push 0x1003a1fc
push esi
lea ebx, [eax - 9]
call fcn.1001ffab
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0xc], esi
jne 0x1001714c
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
push ebp
push 0
push 0
push 0
call fcn.100174f0
add esp, 0xc
test ebx, ebx
mov ebp, eax
jbe 0x100171a6
mov esi, ebx
sub esi, edi
cmp esi, 0x400
jbe 0x10017172
mov esi, 0x400
mov eax, dword [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.1001f9dd
add esp, 0x10
cmp eax, esi
jb 0x100171a2
push eax
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.100174f0
add edi, esi
add esp, 0xc
cmp edi, ebx
mov ebp, eax
jb 0x10017161
mov esi, dword [esp + 0x10]
push esi
push 9
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.1001f9dd
push esi
mov edi, eax
call fcn.1001f704
add esp, 0x14
cmp edi, 9
je 0x100171ca
or eax, 0xffffffff
jmp 0x100171ea
push 0x10
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x29], 0
call fcn.1002cefa
mov edx, eax
mov eax, ebp
sub eax, edx
add esp, 0xc
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x414]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
Function at 0x1001d6f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
xor eax, eax
mov cl, byte [eax + str._LS_]
mov dl, byte [esi + edi]
add edi, 1
add eax, 1
cmp cl, dl
jne 0x1001d863
cmp eax, 4
jl 0x1001d702
xor eax, eax
cmp byte [esi + edi], al
sete al
test eax, eax
je 0x1001d863
push ebx
mov ebx, dword [ebp + 4]
cmp ebx, 1
mov dword [esp + 0x10], 0
jbe 0x1001d862
cmp byte [esi + 2], 0
lea eax, [esi + 2]
je 0x1001d758
lea esp, [esp]
add eax, 1
cmp byte [eax], 0
jne 0x1001d750
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
je 0x1001d862
jmp 0x1001d770
mov ebp, eax
xor edi, edi
mov cl, byte [edi + str._LS_]
mov dl, byte [esi + ebp]
add ebp, 1
add edi, 1
cmp cl, dl
jne 0x1001d798
cmp edi, 4
jl 0x1001d774
xor ecx, ecx
cmp byte [esi + ebp], cl
sete cl
test ecx, ecx
jne 0x1001d7fd
mov ebp, eax
xor edi, edi
lea esp, [esp]
mov cl, byte [edi + str.Odradek1]
mov dl, byte [esi + ebp]
add ebp, 1
add edi, 1
cmp cl, dl
jne 0x1001d7cc
cmp edi, 9
jl 0x1001d7a0
xor ecx, ecx
cmp byte [esi + ebp], cl
sete cl
test ecx, ecx
je 0x1001d7cc
mov dword [esp + 0x10], 1
cmp eax, ebx
jae 0x1001d805
cmp byte [esi + eax + 1], 0
lea eax, [esi + eax + 1]
je 0x1001d7e8
jmp 0x1001d7e0
add eax, 1
cmp byte [eax], 0
jne 0x1001d7e0
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
jne 0x1001d770
jmp 0x1001d829
test eax, eax
je 0x1001d829
cmp eax, ebx
jb 0x1001d809
xor eax, eax
jmp 0x1001d829
cmp byte [esi + eax + 1], 0
lea eax, [esi + eax + 1]
je 0x1001d81c
add eax, 1
cmp byte [eax], 0
jne 0x1001d814
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
cmp dword [esp + 0x10], 0
je 0x1001d862
test eax, eax
je 0x1001d862
cmp eax, ebx
mov dl, 0x44
ja 0x1001d862
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
lea esi, [ecx + eax]
mov cl, byte [esi]
mov bl, cl
xor bl, dl
rol cl, 1
mov dl, cl
mov ecx, dword [esp + 0x18]
add eax, 1
mov byte [esi], bl
cmp eax, dword [ecx + 4]
jbe 0x1001d840
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x1001de40
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov ebx, eax
jne 0x1001de52
pop ebp
or eax, 0xffffffff
pop ebx
ret
cmp dword [edi + 0xc], 0
je 0x1001de7c
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
sub ecx, eax
cmp ecx, ebx
jb 0x1001de4c
mov edx, dword [edi + 0x14]
push ebx
add edx, eax
push edx
push ebp
call fcn.1002cefa
add dword [edi + 0x1c], ebx
add esp, 0xc
pop ebp
xor eax, eax
pop ebx
ret
test ebx, ebx
push esi
jbe 0x1001dec0
cmp ebx, 0x4000
mov esi, 0x4000
ja 0x1001de90
mov esi, ebx
sub ebx, esi
cmp dword [edi + 8], 0
je 0x1001dea7
mov eax, dword [edi + 4]
push eax
push esi
push 1
push ebp
call fcn.10001060
jmp 0x1001deb3
mov ecx, dword [edi]
push ecx
push esi
push 1
push ebp
call fcn.1001f9dd
add esp, 0x10
cmp esi, eax
jne 0x1001dec6
add ebp, esi
test ebx, ebx
ja 0x1001de81
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x1001e380
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
cmp dword [ebp + 8], 0
je 0x1001e3a1
mov eax, dword [ebp + 4]
push eax
push 0x24
lea ecx, [ebp + 0x20]
push 1
push ecx
call fcn.10001060
jmp 0x1001e3e0
cmp dword [ebp + 0xc], 0
je 0x1001e3cf
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
sub eax, edx
cmp eax, 0x24
jb 0x1001e4d8
mov esi, dword [ebp + 0x14]
add esi, edx
lea edi, [ebp + 0x20]
mov ecx, 9
add edx, 0x24
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x1c], edx
jmp 0x1001e3ec
mov edx, dword [ebp]
push edx
push 0x24
lea eax, [ebp + 0x20]
push 1
push eax
call fcn.1001f9dd
add esp, 0x10
cmp eax, 0x24
jne 0x1001e4d8
cmp dword [ebp + 0x10], 0
je 0x1001e40d
mov ecx, dword [ebp + 0x30]
push ecx
call fcn.1001f530
mov edx, dword [ebp + 0x34]
push edx
mov dword [ebp + 0x30], eax
call fcn.1001f530
add esp, 8
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x34]
sub eax, 0
je 0x1001e42a
sub eax, 1
je 0x1001e42a
sub eax, 1
jne 0x1001e4a7
mov edi, 2
jmp 0x1001e42f
mov edi, 1
cmp dword [ebp + 0x10], 0
je 0x1001e455
test edi, edi
jle 0x1001e455
lea esi, [ebp + 0x38]
lea esp, [esp]
mov eax, dword [esi]
push eax
call fcn.1001f530
mov dword [esi], eax
add esp, 4
add esi, 4
sub edi, 1
jne 0x1001e440
cmp dword [ebp + 0x44], 0
mov dword [esp + 0x14], 0
jl 0x1001e4a7
lea esi, [ebp + 0x48]
lea ecx, [ebp + 0x20]
xor edi, edi
mov eax, esi
sub ecx, esi
nop
mov dl, byte [eax]
mov bl, byte [ecx + eax]
add eax, 1
cmp dl, bl
jne 0x1001e494
add edi, 1
cmp edi, 0x10
jl 0x1001e470
mov eax, dword [ebp + 0x30]
cmp eax, dword [esi + 0x10]
jne 0x1001e494
mov ecx, dword [ebp + 0x34]
cmp ecx, dword [esi + 0x14]
je 0x1001e4af
mov eax, dword [esp + 0x14]
add eax, 1
add esi, 0x2c
cmp eax, dword [ebp + 0x44]
mov dword [esp + 0x14], eax
jle 0x1001e466
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x14]
imul eax, eax, 0x2c
lea edx, [eax + ebp + 0x48]
push edx
mov eax, ebp
call fcn.1001ded0
add esp, 4
neg eax
sbb eax, eax
inc eax
jne 0x1001e388
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
ret

Function at 0x1001fed8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10048ff0]
jne 0x1001fee2
repz ret
jmp fcn.10026229

Function at 0x10020a4e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10020a7b
call fcn.100229cb
mov dword [eax], esi
call fcn.100229b8
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.1002cefa
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10020a57
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10020aaa
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.100229de
pop ecx
call fcn.100229b8
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10020ad1
test al, 1
je 0x10020ad1
test byte [esp + 0xc], 2
je 0x10020ad1
call fcn.100229cb
mov dword [eax], 5
call fcn.100229b8
mov dword [eax], 0xd
jmp 0x10020aa1
xor eax, eax
pop esi
ret
Function at 0x1002cefa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1002cf09
pop dword [ebp - 0x40]
mov eax, 0x1002cf09
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3b27b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4e55
mov edx, eax
mov esi, 0x10051000
add esi, dword [ebp - 0x40]
mov ebx, 0x9830144d
sub ebx, 0xed95fd98
xor dword [ebp - 0x24], 0x797ab5f9
mov edi, dword [esi]
xor dword [ebp - 0x14], eax
sub edi, ebx
sub dword [ebp - 0x34], eax
mov dword [edx], edi
xor dword [ebp - 0x24], 0x9ddb7ad8
add edx, 0xe4e0471f
add edx, 0x1b1fb8e5
add esi, 4
loop 0x1002cf52
add eax, 0x12c27
xor ebx, ebx
add ebx, eax
add eax, 0x34aae5a0
add eax, 0xcb551a65
mov ecx, 0x1f8eb06d
sub ecx, 0xf8eb06d
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10009d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10009d5f
pop dword [ebp - 0x18]
mov eax, 0xa8dc30a7
add eax, 0x67246cb8
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x13a04a96
sub dword [ebp - 0x28], 0xc54e054b
mov dword [ebp - 0x24], 0x68db597
sub dword [ebp - 0x24], 0xd45a6952
mov dword [ebp - 0x20], 0x3188fd6f
add dword [ebp - 0x20], 0x1ac346bf
mov dword [ebp - 0x1c], 0xcb0c3f85
add dword [ebp - 0x1c], 0x34f3c07b
lea eax, [ebp - 0x28]
push eax
mov eax, 0xafbdd3b1
add eax, 0x6042fccf
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc0c26911
sub dword [ebp - 0x28], 0x4c4fffbb
mov dword [ebp - 0x24], 0x90c4f24f
add dword [ebp - 0x24], 0xb0a76f26
mov dword [ebp - 0x20], 0xe8b4bf3
add dword [ebp - 0x20], 0x54e42079
mov dword [ebp - 0x1c], 0xc88032c8
sub dword [ebp - 0x1c], 0xc88032c8
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x36c9a
push 0
call eax
mov ecx, 0x27639007
add ecx, 0xd89cb21c
xor edx, edx
add edx, eax
mov edi, 0x367943a0
sub edi, 0x26778fa0
add edi, dword [ebp - 0x18]
mov esi, 0xc17b39f1
add esi, 0x68b26918
mov ebx, dword [edi]
mov dword [ebp - 4], 0xdea66dee
xor ebx, esi
xor dword [ebp - 4], 0x5df3c800
mov dword [edx], ebx
add edx, 0x29ee42a8
sub edx, 0x29ee42a4
add edi, 0xc39e7710
add edi, 0x3c6188f4
loop 0x10009e7e
add eax, 0x7a5ae5e5
sub eax, 0x7a59ea86
mov ebx, eax
add eax, 5
mov ecx, 0x86c34ba3
add ecx, 0x893cb45d
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10010f8
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
jmp section..htext

Function at 0x1009376
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
je 0x100df61
jmp 0x100931a
ret 4
sbb eax, dword [esp + 4]
jne 0x10093da
lea esi, [ebx]
jmp 0x100944c
pop eax
cmp byte [edi], 1
ja 0x100931d
xor eax, 0x2f546820
jmp 0x10092b8
push 0
pop eax
imul eax, eax, 0xf
jmp 0x100938c
mov edx, ebx
jmp 0x100937d
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x10093d4
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
jmp 0x1009306
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
jmp 0x1009266
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
pop ecx
lodsd eax, dword [esi]
inc ecx
jmp 0x1009242
lea edi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
push ebx
jmp 0x10093ab
ret
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x506e30
jmp 0x4013c3
mov eax, 0x4c67c4
call fcn.00495d60
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014e3
mov eax, dword [0x502808]
lea ecx, [esi + 0xa4]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x502808]
mov dword [esi + 0xb4], eax
push 1
mov dword [esi], 0x4cd7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov dword [esi + 0x2c], 2
push 0x64
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], eax
pop eax
push 0x506e2c
mov byte [ebp - 4], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], 5
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0x3e8
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], 0xc0
mov dword [esi + 0x88], 0x6c
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], ebx
mov dword [esi + 0xa0], ebx
call fcn.004b106d
push 0x506e2c
lea ecx, [esi + 0xb4]
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 7
call fcn.004b106d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40bc9f
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c7544
call fcn.00495d60
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x506f78
push str.DataFile_Types
mov ecx, esi
call fcn.004c3cd6
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40bcd5
xor eax, eax
jmp 0x40be1d
mov eax, dword [0x502808]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40bded
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ede74
push eax
call fcn.004ae807
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c3d88
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b101d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b0ed6
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c3d88
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b101d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b0ed6
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c3d1c
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40bdc6
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40bdc6
cmp eax, 0xffffffff
je 0x40bdc6
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040bf0a
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40bd11
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0ed6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b0ed6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0ed6
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40d6d1
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4d0228
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00495d80
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040da45
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4