joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100450b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100450d7
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100450d7
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100450d7
ret
cmp word [ebx + 4], 0x14c
jne 0x100450d7
test word [ebx + 0x16], 2
je 0x100450d7
test word [ebx + 0x16], 0x100
je 0x100450d7
cmp word [ebx + 0x18], 0x10b
jne 0x100450d7
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100450d7
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10045163
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100450f7
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002c042
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100450d7
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10045163
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100450d7
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100450d7
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100450d7
ret
cmp word [ebx + 4], 0x14c
jne 0x100450d7
test word [ebx + 0x16], 2
je 0x100450d7
test word [ebx + 0x16], 0x100
je 0x100450d7
cmp word [ebx + 0x18], 0x10b
jne 0x100450d7
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100450d7
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10045163
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100450f7
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002c042
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100450d7
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1004521a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10045273
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004521a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10045229
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044aecc
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1004527a
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002c0f0
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10045319
add edi, 4
add eax, 2
dec ecx
jne 0x1004525f
call 0x100452c6
loope 0x100452bc
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10045316
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10045327
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100452da
cmp eax, ecx
ja 0x100452da
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045364
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004535a
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c5cf
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10045229
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10045273
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1004521a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10045229
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044aecc
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1004527a
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002c0f0
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10045319
add edi, 4
add eax, 2
dec ecx
jne 0x1004525f
call 0x100452c6
loope 0x100452bc
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10045316
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10045327
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100452da
cmp eax, ecx
ja 0x100452da
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045364
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1004535a
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c5cf
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x9ee1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009ee140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009ee140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009ee140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009ee140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9eebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9eec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa0087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9eec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9eec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100fdeb7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x101d83f8]
add ecx, 0xffffd373
mov dword [0x101d83f4], ecx
mov dword [ebp - 0x10], eax
call fcn.100ff1e7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101d83f4], 0x9dc
mov edi, dword [0x101d83f8]
add edi, 0x21bf
mov dword [0x101d83f8], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101d83f4], 0xffffeeb0
mov dword [0x101d83f8], 0x15d7
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100fe03f
mov eax, 0x15d7
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov edi, edx
add edi, 0xffffecbf
mov dword [0x101d83f4], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x100fdfd5
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
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x100fdf84
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x100fe01a
jmp 0x100fdfde
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffec71
mov dword [0x101d83f8], ecx
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x34]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jb 0x100fdf56
jmp 0x100fe03f
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101d83f4], 0x651
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fe0eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101d83f4], 0x3eb
mov dword [0x101d83f8], 0x840
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x101be7c4]
mov dl, byte [eax + 0x101be795]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x100fe116
lea eax, [ebp - 0x20]
mov dword [0x101d83f8], 0x16248
mov dword [0x101d83f4], 0x4b4
mov dword [ebp - 0x30], eax
call fcn.100fe839
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100fe4a8
cmp eax, 0
sete cl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], cl
xor eax, eax
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x3c], eax
jne 0x100fe235
jmp 0x100fe18b
mov eax, dword [ebp - 0x34]
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 [0x101d83f4]
add ecx, 0x2253
mov dword [0x101d83f4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100fe23d
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [0x101d83f8], 0x13bc
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x3c], ecx
mov dword [0x101d83f4], 0xf7e
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x100fe235
mov eax, dword [ebp - 0x40]
add eax, 0x22b3
mov dword [0x101d83f8], 0x414
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop ebp
ret
Function at 0x100fe34d
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 [0x101d8400], 0
mov byte [0x101d8404], 0
mov dword [0x101d83fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101d83f4], 0x7ed
mov eax, dword [0x101d83fc]
add eax, 1
mov dword [0x101d83fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100fe388
xor eax, eax
mov dword [0x101d83f8], 0x441
mov dword [0x101d83fc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d8408], 0
mov dword [0x101d83f8], 0x2651
mov edx, dword [0x101d8400]
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 [0x101d8408], edi
mov dword [0x101d83f4], 0x103
mov eax, edi
cdq
idiv ecx
mov dword [0x101d8400], edx
mov dword [0x101d83f8], 0xfffff8df
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101d8404], cl
mov dword [0x101d83f8], 0x23a8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x101d8404]
mov edx, dword [0x101d8400]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101d83f4], 0x11a4
mov edx, dword [0x101d83fc]
add edx, 1
mov dword [0x101d83fc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100fe3d1
mov dword [0x101d83f4], 0x12fc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100feed6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101d83f8], 0x1ec2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x101d83f4]
add esi, 0xffffd90d
mov dword [0x101d83f4], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x100fef4a
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x100fef1d
mov eax, dword [ebp - 0x1c]
mov dword [0x101d83f8], 0x1559
mov dword [0x101d83f4], 0xff6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x100fefd2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100fefd2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100fefd2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100fefd2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100fefd2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100fefd2
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x100fefd9
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x100fefd9
mov eax, dword [ebp - 0x24]
add esp, 0x20
pop esi
pop ebp
ret
Function at 0x100ff35c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff521
xor ebx, ebx
mov dword [0x101d83f4], 0x56f
mov dword [0x101d83fc], 0
mov dword [0x101d8400], 0
mov dword [0x101d840c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x100ff4f7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov dword [0x101d83f8], 0x1770
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d83fc], edx
mov ecx, dword [ebp - 0x24]
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 [0x101d8400], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101d8404], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101d83f4]
add edx, 0xffffdfde
mov dword [0x101d83f8], edx
mov cl, byte [0x101d8404]
mov edx, dword [0x101d8400]
mov byte [edi + edx], cl
mov edx, dword [0x101d83f4]
add edx, 0x264e
mov dword [0x101d83f4], edx
mov edx, dword [0x101d83fc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101d8400]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101d840c], ebx
mov dword [0x101d83f4], 0x2274
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x101d8411], ch
mov byte [0x101d8412], cl
xor ch, cl
mov byte [0x101d8410], ch
mov dword [0x101d83f8], 0x2bc2
mov dword [0x101d83f4], 0x422
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x100ff4ea
mov eax, dword [0x101d83fc]
mov ecx, dword [0x101d8400]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
jmp 0x100ff3c7
mov eax, dword [0x101d83f4]
add eax, 0xffffefb2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x101d83f4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100ff507
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x101d83f4]
add eax, 0xfffff5ce
mov dword [0x101d83f8], eax
call fcn.10001087
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100ff67a
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101d83f4], 0x1bb6
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.100febe4
lea ecx, [0x100fe7e2]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], 0x11b000
mov edx, dword [0x101d83e0]
mov dword [esp + 0x84], edx
mov edx, dword [0x101d83e4]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101d83e8]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101d83ec]
mov dword [esp + 0x94], edx
mov dword [0x101d83f8], 0x17d1
mov edx, dword [0x101d83f0]
mov dword [esp + 0x44], edx
mov dword [0x101d83f4], 0x4b6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x100ff5e3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x100ff5f7
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x100ff5c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov dword [0x101d83f4], 0x9dc
mov dword [0x101d83f8], 0x3990
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.100feed6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100ff672
lea eax, [esp + 0x38]
mov dword [0x101d83f4], 0x1644
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100fe0eb
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101d83f8], 0xe1d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x26a3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.026a378f
jae 0x26a370e
xor ecx, ecx
call fcn.026a378f
jae 0x26a373d
xor eax, eax
call fcn.026a378f
jae 0x26a374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.026a378f
adc al, al
jae 0x26a372f
jne 0x26a3779
stosb byte es:[edi], al
jmp 0x26a3711
call fcn.026a379b
sub ecx, ebx
jne 0x26a3756
call fcn.026a3799
jmp 0x26a3775
lodsb al, byte [esi]
shr eax, 1
je 0x26a3783
adc ecx, ecx
jmp 0x26a3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.026a3799
cmp eax, 0x7d00
jae 0x26a3772
cmp ah, 5
jae 0x26a3773
cmp eax, 0x7f
ja 0x26a3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x26a3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x102e2cf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0xa8], 0xffffffff
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esi + 4], eax
cmp eax, edi
je 0x102e40e
push ebx
push edi
push dword [0x10b10b4]
mov dword [ebp - 0xa8], edi
push edi
push eax
mov eax, SHChangeNotifyRegister
push eax
push eax
push eax
push eax
push SHChangeNotifyRegister
push edi
push 0x103435c
push edi
call fcn.010352ab
mov dword [esi + 0x50], eax
cmp eax, edi
je 0x102e386
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
lea ebx, [esi + 0x1c]
push 0x35a
mov dword [ebx], 0x30
mov dword [esi + 0x20], 0xa1
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push edi
push 0x432
push dword [esi + 0x50]
lea eax, [ebp - 0xa4]
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x50]
call fcn.01017de5
push edi
push edi
push 0x101f3f8
mov ebx, 0x101f380
push ebx
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
xor ecx, ecx
cmp eax, edi
sete cl
push 0x1f4
push 0x102e424
push ebx
add ecx, ecx
xor ecx, dword [esi + 0x74]
and ecx, 2
xor dword [esi + 0x74], ecx
call fcn.0101039c
mov dword [esi + 0x60], eax
call dword [sym.imp.UxTheme.dll_BufferedPaintInit]
xor ecx, ecx
cmp eax, edi
sete cl
lea eax, [esi + 8]
push eax
push dword [esi + 4]
shl ecx, 4
xor ecx, dword [esi + 0x74]
and ecx, 0x10
xor dword [esi + 0x74], ecx
call dword [sym.imp.ole32.dll_RegisterDragDrop]
push 0xc
xor eax, eax
lea ecx, [ebp - 0xb4]
push ecx
inc eax
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_SetGestureConfig]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
pop edi
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 4

Function at 0x102f6f5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret