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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4f6f95
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4f6f9c
cmp ebx, dword [eax + 4]
jae 0x4f6f9c
xor eax, eax
jmp 0x4f718c
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4f6fad
xor eax, eax
inc eax
jmp 0x4f718b
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4f6fc3
cmp ecx, edx
jae 0x4f7108
cmp dword [eax + 4], 0
je 0x4f6fcc
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4f6fb4
cmp dword [ebp + 8], 0
je 0x4f6fee
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4f7108
cmp eax, esi
jae 0x4f7108
mov eax, dword [0x6b54b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4f7013
cmp dword [esi*4 + 0x6b54b8], edi
je 0x4f710c
inc esi
cmp esi, eax
jl 0x4f7001
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4f7188
cmp dword [ebp - 8], 0x1000000
jne 0x4f7188
test byte [ebp - 0xc], 0xcc
je 0x4f7091
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4f7188
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4f7188
cmp word [eax + 0x18], 0x10b
jne 0x4f7188
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4f7188
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4f7091
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4f7091
test byte [ecx + 0x27], 0x80
jne 0x4f7108
push 1
push 0x6b54f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4f6fa5
mov ecx, dword [0x6b54b0]
test ecx, ecx
mov edx, ecx
jle 0x4f70c5
lea eax, [ecx*4 + 0x6b54b4]
cmp dword [eax], edi
je 0x4f70c5
dec edx
sub eax, 4
test edx, edx
jg 0x4f70b9
test edx, edx
jne 0x4f70f6
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4f70d2
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4f70ea
lea eax, [edx*4 + 0x6b54b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4f70d8
cmp ecx, 0x10
jge 0x4f70f6
inc ecx
mov dword [0x6b54b0], ecx
push 0
push 0x6b54f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4f6fa5
xor eax, eax
jmp 0x4f718b
test esi, esi
jle 0x4f6fa5
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x6b54f8
call ebx
test eax, eax
jne 0x4f6fa5
cmp dword [esi*4 + 0x6b54b8], edi
je 0x4f7162
mov eax, dword [0x6b54b0]
lea esi, [eax - 1]
test esi, esi
jl 0x4f7150
cmp dword [esi*4 + 0x6b54b8], edi
je 0x4f714c
dec esi
jns 0x4f7140
test esi, esi
jge 0x4f7160
cmp eax, 0x10
jge 0x4f715b
inc eax
mov dword [0x6b54b0], eax
lea esi, [eax - 1]
jmp 0x4f7162
je 0x4f717a
xor ecx, ecx
test esi, esi
jl 0x4f717a
lea eax, [ecx*4 + 0x6b54b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4f7168
push 0
push 0x6b54f8
call ebx
jmp 0x4f6fa5
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f957d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x4f9751
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x6b5ce0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x4f9751
test cl, 0x48
je 0x4f95e8
cmp byte [eax + 5], 0xa
je 0x4f95e8
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f963a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x4f9622
call fcn.004f1786
mov dword [eax], 9
call fcn.004f178f
mov dword [eax], esi
jmp 0x4f9632
cmp eax, 0x6d
je 0x4f9751
push eax
call fcn.004f1798
pop ecx
or eax, 0xffffffff
jmp 0x4f9753
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x4f974c
test eax, eax
je 0x4f9661
cmp byte [ebx], 0xa
jne 0x4f9661
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4f966a
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x4f9746
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x4f9736
cmp al, 0xd
je 0x4f969c
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x4f9728
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4f96b6
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4f96b1
add dword [ebp + 0x10], 2
jmp 0x4f970a
mov dword [ebp + 0x10], eax
jmp 0x4f9724
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f96de
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4f9724
cmp dword [ebp - 0xc], 0
je 0x4f9724
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4f96ff
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4f970a
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x4f9727
cmp ebx, dword [ebp + 0xc]
jne 0x4f970f
cmp byte [ebp - 1], 0xa
jne 0x4f970f
mov byte [ebx], 0xa
jmp 0x4f9727
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004f8864
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x4f9728
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4f9680
jmp 0x4f9746
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x4f9746
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x4f9753
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fe4f2
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x534898
call fcn.004f4080
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x6b569c], edi
jne 0x4fe536
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fe521
mov dword [0x6b569c], ebx
jmp 0x4fe536
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4fe536
mov dword [0x6b569c], 2
mov eax, dword [0x6b569c]
cmp eax, ebx
jne 0x4fe556
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4fe619
cmp eax, 2
je 0x4fe55f
cmp eax, edi
jne 0x4fe587
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x4fe572
mov eax, dword [0x6b5620]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x4fe58e
xor eax, eax
jmp 0x4fe619
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.004eeec0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4fe5c1
cmp esi, edi
jne 0x4fe5d7
push dword [ebp - 0x20]
call fcn.004f0592
pop ecx
mov esi, eax
cmp esi, edi
je 0x4fe587
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4fe60a
cmp dword [ebp + 0x14], edi
jne 0x4fe5f4
push edi
push edi
jmp 0x4fe5fa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x4fe616
push esi
call fcn.004f011d
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.004f40bb
ret
Function at 0x4fe622
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x5348a8
call fcn.004f4080
xor esi, esi
cmp dword [0x6b56a0], esi
jne 0x4fe666
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fe651
mov dword [0x6b56a0], edi
jmp 0x4fe666
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4fe666
mov dword [0x6b56a0], 2
mov eax, dword [0x6b56a0]
cmp eax, 2
je 0x4fe747
cmp eax, esi
je 0x4fe747
cmp eax, 1
jne 0x4fe6ab
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x4fe694
mov eax, dword [0x6b5620]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x4fe6b2
xor eax, eax
jmp 0x4fe759
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004eeec0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4fe6e8
cmp edi, esi
jne 0x4fe703
lea eax, [ebx + ebx]
push eax
call fcn.004f0592
pop ecx
mov edi, eax
cmp edi, esi
je 0x4fe6ab
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fe736
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x4fe720
push esi
push esi
jmp 0x4fe726
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x4fe742
push edi
call fcn.004f011d
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x4fe759
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.004f40bb
ret
Function at 0x4fe8a6
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004eeec0
mov eax, dword [0x543fcc]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004f8864
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x4fe9d9
push 2
push esi
push dword [ebp + 8]
call fcn.004f8864
add esp, 0xc
cmp eax, ebx
je 0x4fe9d9
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4fe979
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004f4190
push 0x8000
push dword [ebp + 8]
call fcn.004ff231
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x4fe92f
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.004f6cee
add esp, 0xc
cmp eax, 0xffffffff
je 0x4fe94f
sub edi, eax
test edi, edi
jg 0x4fe927
jmp 0x4fe967
call fcn.004f178f
cmp dword [eax], 5
jne 0x4fe964
call fcn.004f1786
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.004ff231
pop ecx
pop ecx
jmp 0x4fe9c1
jge 0x4fe9c1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f8864
push dword [ebp + 8]
call fcn.004fd2af
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4fe9c1
call fcn.004f1786
mov dword [eax], 0xd
call fcn.004f178f
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004f8864
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4fe9db
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004eee51
leave
ret
Function at 0x4ff6eb
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4ff704
or eax, 0xffffffff
jmp 0x4ff765
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4ff761
push 0x3d
push esi
call fcn.004f1b0a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4ff761
cmp esi, eax
je 0x4ff761
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x6b51b4]
sete cl
cmp eax, dword [0x6b51b8]
mov dword [ebp - 8], ecx
jne 0x4ff747
mov edi, eax
call fcn.004ff68a
mov dword [0x6b51b4], eax
cmp eax, ebx
jne 0x4ff7a0
cmp dword [ebp + 0xc], ebx
je 0x4ff769
cmp dword [0x6b51bc], ebx
je 0x4ff769
call fcn.004fee7b
test eax, eax
je 0x4ff7a0
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4ff772
xor eax, eax
jmp 0x4ff764
push 4
call fcn.004f0592
cmp eax, ebx
pop ecx
mov dword [0x6b51b4], eax
je 0x4ff761
mov dword [eax], ebx
cmp dword [0x6b51bc], ebx
jne 0x4ff7a0
push 4
call fcn.004f0592
cmp eax, ebx
pop ecx
mov dword [0x6b51bc], eax
je 0x4ff761
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x6b51b4]
call fcn.004ff63d
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4ff801
cmp dword [esi], ebx
je 0x4ff801
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004f011d
cmp dword [ebp - 8], ebx
pop ecx
jne 0x4ff7e4
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4ff842
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x4ff7db
mov eax, edi
shl eax, 2
push eax
push dword [0x6b51b4]
call fcn.004f202e
cmp eax, ebx
pop ecx
pop ecx
je 0x4ff842
jmp 0x4ff83d
cmp dword [ebp - 8], ebx
jne 0x4ff8ad
cmp edi, ebx
jge 0x4ff810
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x6b51b4]
call fcn.004f202e
cmp eax, ebx
pop ecx
pop ecx
je 0x4ff761
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x6b51b4], eax
cmp dword [ebp + 0xc], ebx
je 0x4ff897
push dword [ebp - 4]
call fcn.004f1c40
inc eax
inc eax
push eax
call fcn.004f0592
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4ff897
push dword [ebp - 4]
push esi
call fcn.004f1d60
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4ff890
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.004f011d
pop ecx
cmp dword [ebp - 8], ebx
je 0x4ff8a5
push dword [ebp - 4]
call fcn.004f011d
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4ff764
push dword [ebp - 4]
call fcn.004f011d
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4ff76e
Function at 0x70a200
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push section..LibHook
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0
je 0x70a217
jmp fcn.004ee748
push 0x10
push 0
push 0x70a032
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1002b4b
Capabilities:
Get graphical window text

Disassembly:
add dword [ebp + 0x18], 3
jmp 0x1002c14
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x14]
push edi
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x40c], edi
call dword [sym.imp.SHLWAPI.dll_SHStripMneumonicW]
cmp dword [esi + 0x418], 0xffffffff
je 0x1002cc4
mov ecx, esi
call fcn.01002d9c
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x1002c37
cmp dword [esi], 0
jne 0x100831f
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, 0x200
push ebx
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x100bbd3
push dword [esi + 0xc]
push dword [ebp - 0x408]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp - 0x408]
call edi
mov esi, dword [esi + 0x418]
mov ebx, eax
cmp esi, 0x1f47
je 0x100a950
cmp esi, 0x1f49
je 0x1002749
cmp esi, 0x1f86
je 0x1002df9
push 0x25
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push dword [ebp - 0x408]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 0x14
push edi
push dword [esi + 0x10]
call fcn.01002c56
jmp 0x1002b92
sub dword [ebp + 0x18], 7
jmp 0x1002c14
mov eax, dword [esi + 8]
test eax, eax
je 0x1008331
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.01008353
cmp dword [esi], 0
je 0x1002ba9
push 0x200
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1002bc9
sub dword [ebp + 0x18], 3
jmp 0x1002c14
push ebx
push dword [ebp - 0x40c]
push dword [esi + 0x10]
call edi
push 0x100247c
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1002bc9
Function at 0x1004ffa
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [0x1054070], esi
je 0x100cc13
mov eax, dword [0x1054074]
cmp eax, esi
je 0x100cc2a
cmp dword [0x1054070], esi
je 0x100cc23
cmp eax, esi
je 0x100cc23
mov eax, dword [0x1054078]
cmp eax, esi
je 0x100cc3b
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
pop edi
pop esi
leave
ret
push esi
push esi
push esi
push esi
call edi
mov dword [0x1054070], eax
jmp 0x1005016
xor eax, eax
jmp 0x100504d
push esi
push esi
push 1
push esi
call edi
mov dword [0x1054074], eax
jmp 0x1005023
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100234f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1054078], eax
jmp 0x1005044

Function at 0x10084ba
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x408], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 1
push dword [esi + 0x10]
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x100850f
push edi
push dword [esi + 0x10]
call ebx
mov dword [ebp - 0x408], eax
push 0x5b391e
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x10085b0
lea eax, [ebp - 0x404]
push 0x200
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push 0x1fb
lea eax, [ebp - 0x3fa]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x24
lea eax, [esi + 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x408], 0
je 0x1008576
push dword [ebp - 0x408]
push dword [esi + 0x10]
call ebx
push 4
push 0
push dword [ebp - 0x40c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp + 0x14], 0xffffffff
je 0x100859c
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x410]
push dword [esi]
call fcn.0100bb63
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.01001e8f
leave
ret 0x10
Function at 0x100a99b
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebp + 0x1c]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xd
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdff
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x77
push edi
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100aaba
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi], eax
mov eax, dword [ebp + 0x28]
push edi
mov dword [esi + 0x418], eax
lea eax, [ebp - 0x10]
xor edi, edi
push eax
push ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x414], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffbfdfff
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x200
lea eax, [esi + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x1027d65
cmp dword [ebp + 0x2c], edi
jne 0x100862b
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push 1
push 6
push 0x20
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 4], eax
lea eax, [ebp + 0x2c]
push eax
movzx eax, word [ebp + 0x1c]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.010076e7
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x2c]
call fcn.0100aad6
push edi
push eax
push dword [esi + 4]
mov dword [ebp + 0x2c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push edi
push 0x1602
push ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 4
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push edi
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x100247c
push ebx
mov dword [esi + 0x414], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebp + 0x24]
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x28
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push ebx
call edi
push 1
push dword [ebp + 0x24]
mov dword [esi + 0x414], eax
push 0x30
push ebx
call edi
jmp 0x100aac8