joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444a60
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x444b5e
cmp word [edx], 0
je 0x444b5e
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x444a8e
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x444ae4
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444aa0
sub ecx, edi
sar ecx, 1
cmp dword [esi + 4], 0
je 0x444ac6
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.00444f60
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
lea eax, [esp + 0x14]
push eax
push edx
xor edx, edx
mov eax, 0xfde9
cmp ecx, 2
cmovne eax, edx
push eax
call fcn.00445080
mov edi, eax
test edi, edi
je 0x444ada
cmp dword [esi + 4], 0
je 0x444b31
push dword [esp + 0x14]
push edi
push esi
call fcn.00444f60
push edi
push 0
push dword [0x871534]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x871534]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc

Function at 0x444be0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x444c45
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x444c3d
push dword [esp + 0x10]
push dword [0x875e30]
call fcn.0045c555
test eax, eax
je 0x444c33
cmp dword [eax + 4], 0
je 0x444c22
push edi
push esi
push eax
call fcn.00444f60
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x444e00
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0x875e30]
call fcn.0045c555
mov esi, eax
test esi, esi
je 0x444e7f
cmp dword [esi + 4], 0
je 0x444e50
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.004455c0
test eax, eax
je 0x444e44
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444e8a
cmp dword [esp + 8], 0
je 0x444e8a
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4
Function at 0x444ea0
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov dword [esp + 4], 0
push dword [0x875e30]
call fcn.0045c555
test eax, eax
je 0x444eec
cmp dword [eax + 4], 0
je 0x444ed6
push 4
lea ecx, [esp + 4]
push ecx
push eax
call fcn.004455c0
mov eax, dword [esp]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
lea ecx, [esp + 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 4

Function at 0x444f60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
cmp dword [edi + 0x1c], 0
jne 0x445077
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x444fad
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [esp + 0x24]
cmp eax, esi
jle 0x445036
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x44501f
sub eax, 1
je 0x445006
sub eax, 2
je 0x444fef
push esi
push dword [esp + 0x24]
push ecx
call fcn.00430c10
add esp, 0xc
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov ax, word [eax]
mov word [ecx], ax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
push edi
call fcn.004445a0
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x445065
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
push esi
push dword [esp + 0x24]
add ecx, eax
jmp 0x444fd7
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x4450f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push 0x1000
push 0
push dword [0x871534]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x445280
mov cl, byte [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, edx
nop
cmp ebp, 0xffffffff
je 0x44513e
test ebp, ebp
je 0x4451e6
dec ebp
cmp dword [ebx + 4], 0
lea edi, [ebx + 4]
je 0x44515a
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004455c0
mov dword [esp + 0x10], eax
jmp 0x445174
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x24]
cmp eax, 1
jne 0x4451e9
test cl, cl
je 0x445188
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edi, esi
mov edx, dword [esp + 0x1c]
dec eax
sub edi, edx
cmp edi, eax
jle 0x4451c3
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x871534]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x24]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [edi + edx]
test cl, cl
je 0x4451e6
cmp dword [esp + 0x28], 0
jne 0x445130
cmp cl, 0xd
je 0x4451f2
cmp cl, 0xa
jne 0x445130
dec esi
jmp 0x445263
lea edi, [ebx + 4]
cmp dword [esp + 0x28], 0
jne 0x445263
jmp 0x4451f5
lea edi, [ebx + 4]
cmp cl, 0xa
jne 0x4451fd
dec esi
jmp 0x445263
cmp cl, 0xd
jne 0x445263
dec esi
cmp dword [edi], 0
je 0x44521b
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004455c0
mov dword [esp + 0x10], eax
jmp 0x445231
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x24], 0xa
je 0x445263
cmp dword [edi], 0
je 0x445242
inc dword [ebx + 0xc]
jmp 0x445263
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
Function at 0x445290
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push 0x1000
push 0
push dword [0x871534]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x44544f
mov ax, word [esp + 0x1c]
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0x18], 0x7ff
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
je 0x4452e9
test ecx, ecx
je 0x4453ac
dec ecx
mov dword [esp + 0x30], ecx
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x445305
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.004455c0
mov dword [esp + 0x10], eax
jmp 0x44531f
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, 2
mov ax, word [esp + 0x28]
jne 0x4453af
test ax, ax
je 0x44533d
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, edi
mov ecx, dword [esp + 0x18]
sub esi, edx
sar esi, 1
cmp esi, ecx
jle 0x445384
mov eax, dword [esp + 0x1c]
add ecx, 0x800
add eax, 0x1000
mov dword [esp + 0x18], ecx
push eax
push edx
push 8
push dword [0x871534]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
mov ax, word [esp + 0x28]
mov dword [esp + 0x14], edx
lea edi, [edx + esi*2]
test ax, ax
je 0x4453af
cmp dword [esp + 0x2c], 0
jne 0x4452d3
cmp ax, 0xd
je 0x4453b6
cmp ax, 0xa
jne 0x4452d3
sub edi, 2
jmp 0x44542e
lea ebp, [ebx + 4]
cmp dword [esp + 0x2c], 0
jne 0x44542e
cmp ax, 0xa
jne 0x4453c1
sub edi, 2
jmp 0x44542e
cmp ax, 0xd
jne 0x44542e
sub edi, 2
cmp dword [ebp], 0
je 0x4453e3
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.004455c0
mov dword [esp + 0x10], eax
jmp 0x4453f9
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x28], 0xa
je 0x44542e
cmp dword [ebp], 0
je 0x44540d
add dword [ebx + 0xc], 2
jmp 0x44542e
push 1
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, edi
sub ecx, dword [esp + 0x14]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x445460
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x871534]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x4455b0
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x4454ac
test edi, edi
je 0x44551d
dec edi
push esi
push ebp
call fcn.00445700
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4454bf
xor cl, cl
jmp 0x4454c1
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x445504
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x871534]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x44551d
test eax, eax
jne 0x4454a2
cmp cl, 0xd
je 0x445521
cmp cl, 0xa
jne 0x4454a2
dec esi
jmp 0x445593
test eax, eax
jne 0x445593
cmp cl, 0xa
jne 0x445529
dec esi
jmp 0x445593
cmp cl, 0xd
jne 0x445593
dec esi
cmp dword [ebp + 4], 0
je 0x445548
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.004455c0
mov dword [esp + 0x20], eax
jmp 0x44555f
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x445593
cmp dword [ebp + 4], 0
je 0x445571
inc dword [ebp + 0xc]
jmp 0x445593
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x4455c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0
jne 0x4455e3
push ebx
call fcn.004445a0
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov ebp, dword [esp + 0x20]
sub eax, esi
add eax, dword [ebx + 4]
mov dword [esp + 0x10], esi
cmp esi, ebp
jl 0x445667
mov ecx, ebp
sub ecx, 1
je 0x445652
sub ecx, 1
je 0x44563b
sub ecx, 2
je 0x445626
push ebp
push eax
push dword [esp + 0x24]
call fcn.00430c10
add esp, 0xc
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov word [eax], cx
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x1c]
mov dl, byte [eax]
mov eax, ebp
pop edi
pop esi
mov byte [ecx], dl
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00430c10
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ebx + 8]
add eax, esi
mov ecx, dword [ebx]
sub ebp, esi
mov dword [esp + 0x1c], eax
push 0
cmp ebp, edx
jl 0x4456b0
lea edx, [esp + 0x1c]
push edx
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x18]
pop edi
add eax, esi
mov dword [ebx + 0xc], 0
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
lea eax, [esp + 0x1c]
push eax
push edx
push dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x18]
cmp ebp, esi
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
cmovle esi, ebp
push esi
push dword [ebx + 4]
push eax
call fcn.00430c10
sub dword [ebx + 0xc], esi
add esp, 0xc
mov eax, dword [esp + 0x10]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x445700
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x445727
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004455c0
mov dword [esp + 4], eax
jmp 0x445741
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x4457f4
mov cl, byte [esp + 0xc]
test cl, cl
js 0x445766
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x445776
mov esi, 2
jmp 0x445792
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x445785
mov esi, 3
jmp 0x445792
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x4457e0
mov esi, 4
mov eax, dword [esp + 0x14]
push ebx
lea ebx, [esi - 1]
mov byte [eax], cl
inc eax
cmp dword [edi + 4], 0
je 0x4457bb
push ebx
push eax
push edi
call fcn.004455c0
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop edi
pop ecx
ret 8

Function at 0x446542
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
call fcn.00455667
mov edi, eax
test edi, edi
je 0x446624
cmp dword [edi + 0x14], esi
je 0x446624
cmp dword [edi], 0xf
jne 0x446624
push dword [edi + 0x18]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x446624
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x446619
push dword [edi + 0x18]
push dword [edi + 0x14]
push eax
call fcn.00430c10
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push esi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0xc], eax
test eax, eax
jle 0x446619
push ebp
lea edi, [eax - 1]
mov ebp, esi
push esi
push esi
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
add edi, eax
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x4465be
push dword [esp + 0x20]
mov dword [esp + 0x1c], edi
push edi
call fcn.0045d0b0
lea ecx, [edi + 1]
mov ebp, eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push ecx
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0xa
pop ecx
lea ebp, [ebp + eax*2]
mov word [ebp], cx
mov eax, ebp
mov ecx, dword [esp + 0x14]
add ebp, 2
inc esi
cmp esi, edi
jl 0x4465ec
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov word [eax], cx
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
jne 0x44662f
pop edi
pop esi
pop ebx
add esp, 0xc
jmp fcn.0045d160
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x446e08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x875e3c]
call fcn.0045c555
mov ebx, eax
test ebx, ebx
je 0x446e6c
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x446e31
push dword [esp + 0xc]
push ebx
call eax
jmp 0x446e6c
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0045d0b0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call fcn.0042267c
pop ecx
sub edi, eax
push edi
call fcn.0045d140
pop edi
pop esi
pop ebx
ret 8
Function at 0x448cab
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x448d3a
push 0xfffffffffffffff0
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
jne 0x448d3a
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push edi
push dword [0x871534]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea ecx, [esi + 1]
push ecx
xor eax, eax
push edi
mov word [edi], ax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
or esi, 0xffffffff
push esi
push 0x158
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [0x871534]
cmp eax, esi
cmove ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, ebx
pop ebp
cdq
pop ebx
ret 4

Function at 0x449fef
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x875e4c]
call fcn.0045c3b5
xor ebx, ebx
mov esi, eax
cmp dword [0x873b14], ebx
jne 0x44a0c1
xor ebp, ebp
inc ebp
mov dword [0x873b14], ebp
call fcn.0044f4c8
mov edi, 0xa8
push edi
push ebx
push 0x873a68
call fcn.0042d490
add esp, 0xc
mov dword [0x873a68], 0x13
lea eax, [esp + 0x10]
mov dword [0x873a6c], edi
mov dword [0x873a78], 0x449f3a
mov dword [0x873a7c], 0x44a27f
push eax
mov dword [0x873ad0], 0x449f12
mov dword [0x873ad4], 0x44a1c4
mov dword [0x873a74], 0x449eed
mov dword [0x873af8], 0x449f57
mov dword [0x873b18], ebp
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44a0c1
cmp dword [esp + 0x20], ebp
je 0x44a0bb
cmp dword [esp + 0x20], 2
jne 0x44a0c1
cmp dword [esp + 0x14], 5
jb 0x44a0bb
jne 0x44a0c1
cmp dword [esp + 0x18], ebx
jne 0x44a0c1
mov dword [0x873b18], ebx
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.004538d5
mov eax, dword [esp + 0x140]
push ebx
push dword [0x871538]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x44a195
mov ebp, dword [esp + 0x128]
push ebp
push dword [0x875e3c]
call fcn.0045c593
mov esi, dword [esp + 0x13c]
mov ebx, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x44a166
push esi
call fcn.00457ee9
test eax, eax
je 0x44a166
push 0
push 0
push esi
call fcn.00457b4a
jmp 0x44a168
xor eax, eax
push 0x449c44
push 0xfffffffffffffffc
mov dword [ebx + 0x18], eax
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x873a68
push edi
push ebx
push ebp
mov dword [0x873b10], eax
call fcn.0044f0bb
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x450382
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
leave
ret 4

Function at 0x4503c5
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x450441
cmp dword [0x8756b0], 1
je 0x450441
push ebx
mov ebx, 0x8756b8
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x8756d4]
and dword [0x8756dc], 0
mov dword [0x8756d8], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x8756d0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x8756d4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x450439
push 0
push dword [0x8756b4]
mov dword [0x8756b0], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop esi
ret 4