joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x442a88
push 1
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x4431d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x4431e8
push 1
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x444ae0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x63], 0
je 0x444b2d
mov eax, dword [ebx + 0x7b]
test eax, eax
je 0x444af9
push eax
call fcn.00453bee
add esp, 4
push esi
push 0
push 0
push 0xe
push dword [ebx + 0x63]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea ecx, [esi + 2]
push ecx
push 1
call fcn.00453bae
add esp, 8
mov dword [ebx + 0x7b], eax
push eax
lea eax, [esi + 1]
push eax
push 0xd
push dword [ebx + 0x63]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebx
ret

Function at 0x4460e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
jne 0x4460f5
cmp dword [esi + 0x125], eax
jne 0x446144
cmp dword [esi + 0x93], eax
je 0x446144
cmp dword [esi + 0x9b], 9
mov dword [esi + 0x93], eax
jne 0x44613d
test eax, eax
je 0x44612f
mov eax, dword [esi + 0xf5]
test eax, eax
je 0x44612f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004438f0
pop esi
pop ebp
ret 4
push 1
push dword [esi + 0xf5]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004438f0
pop esi
pop ebp
ret 4

Function at 0x4463d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x4463e8
push 1
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x44cff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x44cffc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0044d010
Function at 0x459510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x478a95
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9d30]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00457b2f
mov dword [ebp - 0x14], eax
cmp dword [0x4b0b34], esi
jne 0x478b88
push 0x800
push esi
push 0x499b48
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x478b15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x478c68
push esi
push esi
push 0x499b48
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x478c68
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x478c68
push eax
call ebx
push 0x499b6c
push edi
mov dword [0x4b0b34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b0b38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b0b3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b0b44], eax
test eax, eax
je 0x478b85
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b0b40], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x478bad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x478ba0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x478bc2
push 4
pop eax
jmp 0x478c6a
cmp dword [ebp - 0x14], esi
je 0x478bc2
push dword [0x4b0b34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x478ba7
mov eax, dword [0x4b0b40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x478c20
cmp dword [0x4b0b44], edi
je 0x478c20
push eax
call ebx
push dword [0x4b0b44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x478c20
test eax, eax
je 0x478c20
call ecx
test eax, eax
je 0x478c15
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 0x478c15
test byte [ebp - 8], 1
jne 0x478c20
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x478c50
mov eax, dword [0x4b0b38]
cmp eax, edi
je 0x478c4d
push eax
call ebx
test eax, eax
je 0x478c4d
call eax
mov esi, eax
test esi, esi
je 0x478c4d
mov eax, dword [0x4b0b3c]
cmp eax, edi
je 0x478c4d
push eax
call ebx
test eax, eax
je 0x478c4d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b0b34]
call ebx
test eax, eax
je 0x478c68
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x478c6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452f44
mov esp, ebp
pop ebp
ret
Function at 0x1001a943
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a982
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a982
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a982
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a982
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a982
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d5ff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d69c
push ebx
push esi
call fcn.1001d5c8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d55c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d649
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d69b
push edi
push eax
call fcn.1001e5ba
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d669
call fcn.1001c0a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d69a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d55c
add esp, 0x20
test eax, eax
jne 0x1001d688
push edi
call fcn.1001c0a4
jmp 0x1001d690
push ebx
call fcn.1001c0a4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001d909
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001d825
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d93d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001d943
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d987
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001d825
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d9be
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001d9c6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001d825
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001da00
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100230ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100230ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
mov ecx, 0x159f1672
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x714a08ce
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010c0
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x1c]
call fcn.00440818
mov eax, dword [0x46a2f4]
mov dword [esp + 0x3c], 0
xor ebp, ebp
mov dword [esp + 0x10], eax
push 0x46a10c
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.00440b86
push str.skto
lea ecx, [esp + 0x14]
call fcn.00440b86
push 0x46a100
lea ecx, [esp + 0x14]
call fcn.00440b86
push 0x46a0fc
lea ecx, [esp + 0x14]
call fcn.00440b86
mov ecx, dword [0x46a2f4]
mov dword [esp + 0xc], ecx
push 0x46a10c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00440b86
push str.skto
lea ecx, [esp + 0x10]
call fcn.00440b86
push 0x46a0f8
lea ecx, [esp + 0x10]
call fcn.00440b86
push 0x46a0f4
lea ecx, [esp + 0x10]
call fcn.00440b86
push str._DesktopSCDTBrowser
lea ecx, [esp + 0x18]
call fcn.00440818
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3c], 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x8052
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x80a0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x80a8
xor esi, esi
lea edi, [esp + 0x1c]
mov eax, dword [edi]
test eax, eax
je 0x4011e0
push eax
lea ecx, [esp + 0x1c]
call fcn.0043cad3
cmp eax, 0xffffffff
jne 0x4011eb
inc esi
add edi, 8
cmp esi, 3
jb 0x4011cb
jmp 0x4011ef
mov ebp, dword [esp + esi*8 + 0x20]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.004407aa
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call fcn.004407aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.004407aa
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004407aa
mov ecx, dword [esp + 0x34]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x401930
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4586db
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
test eax, eax
jne 0x401a4b
mov eax, dword [ebx + 8]
push ebp
push edi
mov edi, str.SDHelperMainDlg
test eax, eax
mov ebp, str.SDHELPERMAINDLG
je 0x40197a
mov edi, str.TATMainDlg
mov ebp, str.TATMAINDLG
lea ecx, [esp + 0x10]
call fcn.0041e500
push 0x20019
push str.softwareTECOcular.3ShareDataTSDS
push SysFreeString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x130], 0
call fcn.0041e620
test eax, eax
je 0x4019c1
push 0
push edi
lea ecx, [esp + 0x18]
call fcn.0041e7c0
lea ecx, [esp + 0x10]
mov dword [esi], eax
call fcn.0041e670
mov eax, dword [esi]
test eax, eax
je 0x401a19
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a19
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push 0x103
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push edx
call fcn.0040d982
add esp, 0xc
test eax, eax
je 0x401a35
mov eax, dword [ebx + 8]
push esi
test eax, eax
je 0x401a28
push 0x401b00
jmp 0x401a2d
push 0x401ba0
push 0
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call fcn.0041e5a0
pop edi
pop ebp
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x114]
pop esi
setne al
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret

Function at 0x41e6f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x41e731
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x41e733
mov esi, edi
test esi, esi
je 0x41e7a8
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x41e79d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x41e79d
cmp dword [esp + 0x1c], eax
jbe 0x41e76e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x41e79d
cmp esi, edi
je 0x41e78f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x41e7a8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x41e7c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x41e825
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x41e825
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x41e825
cmp dword [esp + 0x18], eax
jbe 0x41e80b
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x41e829
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x41eac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x459f5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x46a2f4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x41eb2b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x41eb2d
mov esi, edi
test esi, esi
je 0x41ebf7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ebec
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x41eb6f
cmp eax, 2
je 0x41eb6f
cmp eax, 6
je 0x41eb6f
cmp eax, 7
jne 0x41ebec
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.004404e5
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebp
jne 0x41ebd2
lea ecx, [esp + 0x14]
call fcn.00440933
cmp esi, dword [esp + 0x14]
je 0x41ebc7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.0044050e
add esp, 4
jmp 0x41ec09
call fcn.0044050e
add esp, 4
lea ecx, [esp + 0x10]
push 0x45db48
call fcn.00440933
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x41ebf7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41ec09
push eax
lea ecx, [esp + 0x14]
call fcn.00440933
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0044051f
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.004407aa
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10