joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433b40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480c18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433b79
inc eax
mov dword [esi + 0x10], eax
jmp 0x433c8c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x433b8d
mov eax, 0xffffffc7
jmp 0x433c8e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x433b9e
cmp dword [esi + 8], eax
jne 0x433b8d
cmp dword [esi + 8], eax
jne 0x433bb7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433bb7
mov eax, 0xffffffc7
jmp 0x433c8e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x433bcb
push eax
mov ecx, ebx
call fcn.00433370
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402390
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x433bfc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004023b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432ae0
test eax, eax
mov dword [esp + 0x38], eax
je 0x433c2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50b350
call fcn.00402590
mov eax, dword [esp + 0x38]
jmp 0x433c8e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004339a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433c73
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004339c0
mov esi, eax
test esi, esi
jne 0x433ca3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004339a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433c45
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50b350
call fcn.00402590
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50b350
call fcn.00402590
mov eax, esi
jmp 0x433c8e

Function at 0x436dc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436e20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436e20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436e20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436e20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43c4a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00479e21
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043be40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00479d4f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00476613
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00476613
push 1
push 0
push 0
mov ecx, esi
call fcn.004765bb
push 1
push 0
push 1
mov ecx, esi
call fcn.004765bb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00479e93
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43c620
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00479e21
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043be40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00479d4f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43c6e4
cmp dword [esp + 0x40], 1
jne 0x43c6e2
cmp ecx, eax
jge 0x43c6e4
mov eax, ecx
cmp eax, 0xc8
jge 0x43c6f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043c4a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00479e93
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ce60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4812d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00474a34
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047a0c9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047b5e5
test eax, eax
je 0x43cf7c
mov ecx, dword [esp + 0x3c]
call fcn.0047a0f6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43cf40
push edi
mov ecx, esi
call fcn.00477763
mov ecx, esi
call fcn.0043d0e0
cmp dword [esp + 0x38], 1
jne 0x43cf75
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047789e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f990
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f9c3
push esi
call fcn.00442aa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f9bc
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 0x43fa49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fa32
mov eax, dword [esi + 8]
test eax, eax
je 0x43f9e7
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 0x43fa2e
cmp eax, 2
je 0x43fa32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f9da
cmp eax, 3
je 0x43fa0d
cmp eax, 1
jne 0x43f9da
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 0x43f9da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f9da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fa70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fa58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fa70
add esp, 4
pop esi
ret

Function at 0x44db20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x53c900]
xor edx, edx
cmp eax, edx
jne 0x44db46
xor eax, eax
mov byte [eax + 0x53c800], al
inc eax
cmp eax, 0x100
jl 0x44db2e
mov dword [0x53c900], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x53c800
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44dbd7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44dbaa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x44db78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44dc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44dca3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44dc8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48176e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00454f40
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x50f12c
call fcn.004731c3
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4546b3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004731c3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4546ac
push 0
mov ecx, eax
call fcn.0044b750
mov dword [esi + 0xc], eax
jmp 0x4546b5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4546b5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x475829
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475861
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.004738dd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004738b5
jmp 0x47586d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x476f1b
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 0x476f5d
call fcn.0047c9d5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x476f5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x476f54
xor eax, eax
jmp 0x476f65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00476f6b
pop edi
pop esi
pop ebx
ret 4
Function at 0x47cf05
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 0x47cf33
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47cf51
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ce6b
jmp 0x47cf51
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47cf51
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ce6b
test edi, edi
mov eax, edi
jne 0x47cf3b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1008dea
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x5e
or cl, ch
cmp al, 0x2a
push ebx
and bh, byte [0x3d57764a]
mov ah, bl
mov dword [0x3dab8c07], edi
and bl, byte [edx - 0x1093c230]
out dx, eax
clc
cmp eax, 0x3e1234a4
jo 0x1008e04
xor al, 0x12
jo 0x1008e04
inc ecx
adc eax, 0xb433e42
pop esp
das
cmp byte [edi + 0x3e], dh
lds edi, [edi + 0x615c3e89]
mov dword [esi], edi
pop esp
popal
cwde
xchg dword ds:[eax - 0x59], esi
add al, 0xdc
mov dh, 0x3e
mov esp, 0xe73ec691
jle 0x1008dd5
xor byte ds:[eax - 0x4e1cc11a], dl
jecxz 0x1008db7
idiv byte [esi]
or eax, 0x793f0368
imul ecx, dword [ebx], 0x3f
bound ebx, qword [ecx + 0x13]
aas
sub ch, byte [eax]
sbb edi, dword [edi]
aas
aas
mov esi, ecx
and bh, byte [edi]
cmpsb byte [esi], byte es:[edi]
inc ebx
sub bh, byte [edi]
xor dword [edi + 0x31], edi
aas
jle 0x1008e9f
cmp byte [edi], bh
cdq
sub edi, dword [edi]
aas
pop esp
pop dword [ebp + 0x3f]
jg 0x1008dd1
dec ebx
aas
movsd dword es:[edi], dword [esi]
push edi
sbb bl, byte [ebx + edi*2 + 0x3f]
cdq
js 0x1008eeb
aas
invalid
aas
add byte [eax], al
cmp byte [edi], 5
invalid
or al, 0x78
cmp byte [edx], dh
or dword [ebx], 0x3a
jbe 0x1008e68
sar dword [edx], 0xe2
retf
invalid
inc edi
iretd
Function at 0x100becb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x101a094]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], eax
call fcn.01008904
mov ecx, esi
call fcn.01009e41
cmp eax, 4
lea eax, [ebp - 0x1d0]
mov ecx, esi
push eax
jne 0x100bf8b
push 0
call fcn.0100b621
mov esi, eax
test esi, esi
jl 0x100c21d
lea ecx, [ebp - 0x1d0]
call fcn.010089be
cmp eax, 3
jl 0x100bf84
mov eax, dword [ebp - 0x1d0]
cmp word [eax], 0x5c
jne 0x100bf84
cmp word [eax + 2], 0x5c
jne 0x100bf84
push 2
pop edi
lea ecx, [ebp - 0x1d0]
call fcn.010089be
cmp eax, edi
jl 0x100bf92
mov eax, dword [ebp - 0x1d0]
cmp word [eax + edi*2], 0x5c
lea ecx, [ebp - 0x1d0]
je 0x100bf6c
inc edi
call fcn.010089be
cmp edi, eax
jle 0x100bf4d
jmp 0x100bf92
and word [eax + edi*2], 0
mov eax, dword [ebp - 0x1d0]
push 0xffffffffffffffff
add eax, 4
push eax
call fcn.01008eee
jmp 0x100bf90
mov esi, 0x80070057
jmp 0x100bf92
call fcn.0100957d
mov esi, eax
test esi, esi
jl 0x100c21d
and dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x1c4]
push eax
push 0
lea ecx, [ebp - 0x1d0]
call fcn.01008af2
mov esi, eax
test esi, esi
jl 0x100c21d
push dword [ebp - 0x1c4]
call fcn.0100866a
test eax, eax
pop ecx
mov dword [ebp - 0x1d4], eax
je 0x100bfec
lea ecx, [ebp - 0x1c4]
push ecx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.01008af2
mov esi, eax
jmp 0x100bff1
mov esi, 0x8007000e
test esi, esi
jl 0x100c208
push ebx
mov ebx, dword [reloc.KERNEL32.dll_lstrcatW]
push 0x10026b4
call ebx
test eax, eax
mov dword [ebp - 0x1c4], eax
je 0x100c1e5
mov esi, dword [reloc.KERNEL32.dll_FreeLibrary]
push 0x10026a4
push eax
call esi
push 0x1002694
push dword [ebp - 0x1c4]
mov edi, eax
call esi
push 0x1002684
push dword [ebp - 0x1c4]
mov dword [ebp - 0x1dc], eax
call esi
test edi, edi
mov dword [ebp - 0x1e0], eax
je 0x100c1b5
cmp dword [ebp - 0x1dc], 0
je 0x100c1b5
test eax, eax
je 0x100c1b5
call edi
test eax, eax
mov dword [ebp - 0x1d8], eax
je 0x100c1b5
push 0x100266c
call ebx
mov edi, eax
test edi, edi
mov dword [ebp - 0x1e4], edi
je 0x100c185
push 0x100265c
push edi
call esi
push 0x1002650
push edi
mov ebx, eax
call esi
push 0x1002644
push edi
mov dword [ebp - 8], eax
call esi
test ebx, ebx
mov dword [ebp - 0x1e8], eax
je 0x100c155
cmp dword [ebp - 8], 0
je 0x100c155
test eax, eax
je 0x100c155
and word [ebp - 0x1c0], 0
push 0x63
pop ecx
xor eax, eax
lea edi, [ebp - 0x1be]
push ebx
stosd dword es:[edi], eax
mov esi, dword [reloc.msvcrt.dll_S]
call esi
test eax, eax
jg 0x100c197
call esi
mov esi, eax
jmp 0x100c1a7
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov esi, dword [reloc.msvcrt.dll_S]
call esi
test eax, eax
jg 0x100c1c7
call esi
mov esi, eax
jmp 0x100c1d7
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov esi, dword [reloc.msvcrt.dll_S]
call esi
test eax, eax
jg 0x100c1f7
call esi
mov esi, eax
jmp 0x100c207
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
Function at 0x100caae
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
call fcn.0100c23d
push dword [ebp + 8]
lea esi, [edi + 0x2c]
push esi
mov ecx, edi
call fcn.0100c5ad
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100cb4a
cmp byte [ebp + 0xc], 0
je 0x100cb46
mov ecx, edi
call fcn.0100c25a
lea ecx, [ebp - 0x10]
call fcn.01008904
lea ecx, [ebp - 0x6c]
call fcn.0100a82c
push dword [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.0100bc4b
push ebx
push 0x1001728
lea ecx, [ebp - 0x6c]
call fcn.0100ab0e
mov esi, eax
test esi, esi
jl 0x100cb32
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.0100b621
mov esi, eax
test esi, esi
jl 0x100cb32
push dword [ebp - 0x10]
call fcn.0100c9b3
mov esi, eax
lea ecx, [ebp - 0x6c]
call fcn.010080af
lea ecx, [ebp - 0x10]
call fcn.01008e9a
mov eax, esi
jmp 0x100cbb2
xor edi, edi
jmp 0x100cba8
push ebx
mov ecx, esi
call fcn.0100c300
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x208]
mov ecx, 0x101cae8
mov edi, eax
call fcn.0100bc8c
cmp edi, eax
mov ecx, esi
push ebx
jb 0x100cb9d
call fcn.0100c300
push eax
call fcn.0100c9b3
mov edi, eax
test edi, edi
jge 0x100cba8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ecx, esi
mov edi, eax
call fcn.0100c300
mov dword [eax + 0x208], edi
push ebx
mov ecx, esi
call fcn.0100c300
mov edi, dword [eax + 0x20c]
mov ecx, dword [ebp - 4]
call fcn.0100c25a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100e3ad
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101a094]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x118]
push eax
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x100e3fd
cmp dword [ebp - 0x108], 2
jne 0x100e3fd
cmp dword [ebp - 0x114], 5
ja 0x100e3fb
jne 0x100e3fd
cmp dword [ebp - 0x110], ebx
jbe 0x100e3fd
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
call fcn.0100829a
leave
ret
Function at 0x100fd69
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
cmp dword [0x101dad8], 0
mov eax, dword [0x101a094]
mov dword [ebp - 4], eax
jne 0x100fe57
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_CPPhotoshop_ICC_profile]
test eax, eax
je 0x100fe4c
xor eax, eax
cmp dword [ebp - 0x88], 2
push esi
sete al
test eax, eax
mov dword [0x101c2e8], eax
je 0x100fe1a
push 0x1005874
call dword [sym.imp.KERNEL32.dll_profile]
mov edi, eax
test edi, edi
je 0x100fe4b
mov esi, dword [reloc.KERNEL32.dll_FreeLibrary]
push 0x1005858
push edi
call esi
test eax, eax
mov dword [0x101dac4], eax
je 0x100fdfe
mov dword [0x101c2e4], 0x4000
push 0x100584c
push edi
call esi
push 0x1005834
push edi
mov dword [0x101dac8], eax
call esi
mov dword [0x101dacc], eax
jmp 0x100fe4b
push 0x1005828
call dword [sym.imp.KERNEL32.dll_w_lBa_f_HL]
mov edi, eax
test edi, edi
je 0x100fe4b
mov esi, dword [reloc.KERNEL32.dll_FreeLibrary]
push 0x1005818
push edi
call esi
push 0x1005808
push edi
mov dword [0x101dabc], eax
call esi
mov dword [0x101dac0], eax
pop esi
mov dword [0x101dad8], 1
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [0x101c2e8]
call fcn.0100829a
leave
ret

Function at 0x1010960
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x10109ad
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x1010984
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x1010ba5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x1010bf2
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x1010bc9
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0xaf9cdd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00af9cdd
ret