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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
xor eax, eax
mov dword [esi + 0x2c], eax
call fcn.1000106e
mov ecx, 0x10
mov dword [esi + 0x28], eax
mov eax, ecx
call fcn.10171610
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x28]
cmp ecx, 0
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
je 0x10172e3c
mov eax, dword [esi + 0x20]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 0x30]
sub esp, 4
mov ecx, dword [esi + 0x24]
mov dword [esp], ecx
mov dword [esi + 0x1c], eax
call fcn.10171ada
add esp, 4
lea ecx, [esi + 0x30]
mov edx, dword [esi + 0x24]
mov edi, dword [edx]
mov dword [esi + 0x58], edi
mov dword [0x10187bac], 0x1082
mov dword [esi + 0x70], 0x11e200
mov edi, dword [0x10187b94]
mov dword [esi + 0x8c], edi
mov edi, dword [0x10187b98]
add ecx, 0x54
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ecx
lea eax, [0x101728c2]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov edi, dword [0x10187b9c]
mov dword [esi + 0x38], edi
mov edi, dword [0x10187ba0]
mov dword [esi + 0x40], edi
mov edi, dword [0x10187ba4]
mov dword [esi + 0x74], edi
mov dword [0x10187ba8], 0xffffe113
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp word [eax], 0x5a4d
mov dword [esi + 8], eax
jne 0x10172ee5
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esi + 4], ecx
je 0x10172ef7
mov eax, dword [esi + 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esi + 0xc], eax
jmp 0x10172ec6
mov eax, dword [esi + 8]
mov dword [esi + 0x4c], eax
mov dword [0x10187ba8], 0x1516
mov ecx, dword [esi + 4]
mov edx, dword [eax + ecx + 0x50]
mov dword [esi + 0x7c], edx
mov dword [0x10187bac], 0x3a6
call fcn.10172254
xor ecx, ecx
cmp eax, 0
mov dword [esi], ecx
jne 0x10172f5b
lea eax, [esi + 0x30]
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.101720f4
add esp, 8
mov dword [0x10187bac], 0x2491
sub esp, 4
mov ecx, esp
lea edx, [esi + 0x30]
mov dword [ecx], edx
call eax
mov eax, 1
mov dword [esi], eax
mov eax, dword [esi]
mov dword [esi + 0x20], eax
jmp 0x10172e32
Function at 0x41e855
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e4f7

Function at 0x41e860
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e686

Function at 0x41ec5a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c0f0
mov eax, dword [0x4819c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041c46a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ec9c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41edf8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004276f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4842e0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f9f9
mov ecx, dword [esi*4 + 0x4842e0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41edf1
cmp eax, dword [edi + ecx + 0x24]
jne 0x41edf1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41edf1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f9f9
add esp, 0x14
test edx, edx
jl 0x41edf1
jg 0x41ed67
test eax, eax
jb 0x41edf1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41edf1
jl 0x41ed81
cmp dword [ebp - 0x1008], eax
ja 0x41edf1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ed9f
test ebx, ebx
je 0x41edd8
cmp ecx, edi
jae 0x41edd8
mov al, byte [ecx]
cmp al, 0xd
jne 0x41edb9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41edc5
cmp byte [ecx + 1], 0xa
jne 0x41edc5
inc ecx
jmp 0x41edc5
movzx eax, al
movsx eax, byte [eax + 0x481c88]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ed9f
cmp edx, ebx
jne 0x41ed9f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41edf6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b4e1
leave
ret
Function at 0x41ee97
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4842e0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41eed7
cmp byte [ebx], 0xa
jne 0x41eed7
or byte [eax + edi + 0x28], 4
jmp 0x41eedc
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41efda
mov al, byte [edx]
cmp al, 0x1a
je 0x41efbc
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ef0b
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ef30
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ef3a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41eeed
jmp 0x41efda
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41efb7
cmp dword [ebp - 0xc], 0
je 0x41efb7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4842e0]
test byte [eax + edi + 0x28], 0x48
je 0x41ef91
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ef7c
mov byte [esi], dl
jmp 0x41ef8d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4842e0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41efda
cmp byte [ebp - 1], 0xa
jne 0x41efa0
cmp esi, ebx
jne 0x41efa0
mov byte [esi], 0xa
jmp 0x41efd9
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041fa17
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41efda
mov byte [esi], 0xd
jmp 0x41efd9
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4842e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41efd6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41efda
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41efe3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4842e0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f026
cmp word [esi], dx
jne 0x41f026
or byte [edi + eax + 0x28], 4
jmp 0x41f02b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f17e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f15e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f06d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f0a3
cmp eax, edx
jae 0x41f0af
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f045
jmp 0x41f17e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f15a
cmp dword [ebp - 0x14], 0
je 0x41f15a
mov eax, dword [ebx*4 + 0x4842e0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f132
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f0fb
mov word [esi], cx
jmp 0x41f12e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4842e0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4842e0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4842e0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f17e
pop ebx
cmp word [ebp - 4], bx
jne 0x41f143
cmp esi, dword [ebp + 0xc]
jne 0x41f143
mov word [esi], bx
jmp 0x41f17b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041fa17
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f17e
push 0xd
jmp 0x41f177
mov ecx, dword [ebx*4 + 0x4842e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f175
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f17e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4200b0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4819c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4200fb
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042024f
test al, al
jne 0x4200f5
sub edx, 2
cmp edx, edi
jne 0x4200db
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42011d
lea eax, [edi + 2]
cmp edx, eax
je 0x42011d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041fffc
add esp, 0x10
jmp 0x420217
push esi
lea ecx, [ebp - 0x255]
call fcn.0042024f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420160
push dword [ebp - 0x25c]
jmp 0x42010d
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42019d
cmp word [ebp - 0x226], 0
je 0x4201be
cmp word [ebp - 0x226], ax
jne 0x42019d
cmp word [ebp - 0x224], 0
je 0x4201be
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041fffc
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42020a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x420177
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4201f2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x420217
push 0x41fe2c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00425a20
add esp, 0x10
jmp 0x4201e7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4e1
leave
ret

Function at 0x4274f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42751d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42751d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4296fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42977c
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42977b
push ebx
mov ebx, 0x483788
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402703
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402703
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42a5b8
mov byte [edi + esi], al
call fcn.00410a6e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42971e
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405663
pop edi
pop ebp
ret 0x14
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
mov ecx, 0x3c7926fb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x38af7009
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x3a3a2c0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x3a3a410
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x3a3a2e6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3a3a2d2
add dl, dl
jne 0x3a3a2f1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3a3a344
xor eax, eax
add dl, dl
jne 0x3a3a2fe
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x3a3a3e5
add dl, dl
jne 0x3a3a30d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3a3a318
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3a3a323
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3a3a32e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x3a3a33a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x3a3a2dd
mov eax, 1
add dl, dl
jne 0x3a3a352
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3a3a35d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3a3a349
sub eax, ebx
mov ebx, 1
jne 0x3a3a390
mov ecx, 1
add dl, dl
jne 0x3a3a376
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3a3a381
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3a3a36d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3a3a2dd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x3a3a3a7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3a3a3b2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3a3a39e
cmp eax, 0x7d00
jae 0x3a3a3d5
cmp eax, 0x500
jb 0x3a3a3d0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3a3a2dd
cmp eax, 0x7f
ja 0x3a3a3d8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3a3a2dd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x3a3a406
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x3a3a2dd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000c1e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [0x1002eac4], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x1002eac0], ecx
mov edx, dword [ebp + 0x10]
mov dword [0x1002eac8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xffffffffffffffec
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x400000
je 0x1000c25d
mov dword [ebp - 0x18], 1
jmp 0x1000c26c
mov dword [ebp - 4], 0xffffffff
jmp 0x1000c27c
cmp dword [ebp - 0x18], 0
je 0x1000c28b
mov dword [ebp - 0x1c], 0x100224b0
jmp 0x1000c292
mov dword [ebp - 0x1c], 0x100224bc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1000c72d
cmp dword [ebp - 0x14], 0
jne 0x1000c2aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000c773
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100190d6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002c790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10010e4a
mov dword [ebp - 0x14], eax
cmp dword [0x1002ea58], edi
jne 0x100191c7
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10019154
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100192a7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100192a7
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100192a7
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1002ea58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1002ea5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x1002ea60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002ea68], eax
test eax, eax
je 0x100191c4
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002ea64], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100191ec
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100191df
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10019201
push 4
pop eax
jmp 0x100192a9
cmp dword [ebp - 0x14], edi
je 0x10019201
push dword [0x1002ea58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100191e6
mov eax, dword [0x1002ea64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1001925f
cmp dword [0x1002ea68], esi
je 0x1001925f
push eax
call ebx
push dword [0x1002ea68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1001925f
test eax, eax
je 0x1001925f
call ecx
test eax, eax
je 0x10019254
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10019254
test byte [ebp - 8], 1
jne 0x1001925f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1001928f
mov eax, dword [0x1002ea5c]
cmp eax, esi
je 0x1001928c
push eax
call ebx
test eax, eax
je 0x1001928c
call eax
mov edi, eax
test edi, edi
je 0x1001928c
mov eax, dword [0x1002ea60]
cmp eax, esi
je 0x1001928c
push eax
call ebx
test eax, eax
je 0x1001928c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1002ea58]
call ebx
test eax, eax
je 0x100192a7
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x100192a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eff0
leave
ret
Function at 0x1001d8d3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10013ef6
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1001d90b
xor eax, eax
jmp 0x1001d937
cmp esi, dword [ebp - 4]
je 0x1001d934
cmp dword [ebp + 0xc], 0
je 0x1001d934
push dword [edi + 0x9c]
call fcn.1001d4e1
push dword [edi + 0x9c]
mov esi, eax
call fcn.100111ec
pop ecx
pop ecx
cmp esi, eax
je 0x1001d907
xor eax, eax
inc eax
pop edi
pop esi
leave
ret