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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x481610]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x441eac
xor eax, eax
jmp 0x44201a
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x487b80]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x441edf
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.004458b1
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x441fb1
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x441fec
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x441f3a
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x441f2b
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x441f0e
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441f7a
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x441f83
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x441eff
jmp 0x441f85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x442015
cmp dword [ebp - 8], edi
je 0x441fec
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x441fde
call fcn.0043a428
mov dword [eax], 9
call fcn.0043a431
mov dword [eax], esi
jmp 0x441fe7
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441fd3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x441f85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x441f85
push dword [ebp - 8]
call fcn.0043a43a
pop ecx
or eax, 0xffffffff
jmp 0x442018
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x442001
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x442001
xor eax, eax
jmp 0x442018
call fcn.0043a428
mov dword [eax], 0x1c
call fcn.0043a431
mov dword [eax], edi
jmp 0x441fe7
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.004380c0
leave
ret
Function at 0x4448ba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x481610]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
je 0x44493c
push esi
call fcn.00446da4
test eax, eax
pop ecx
jne 0x444907
call fcn.0043a431
mov dword [eax], 0xf
call fcn.0043a428
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004380c0
leave
ret
and word [ebp - 6], 0
lea eax, [ebp + 8]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x44494f
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4448f7
inc eax
cmp eax, esi
ja 0x4448f7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x444986
cmp eax, dword [ebp + 0x10]
jg 0x444967
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
call fcn.00439a0f
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x44499b
call fcn.0043a428
mov dword [eax], 0xc
jmp 0x4448f7
cmp eax, dword [ebp + 0x10]
jle 0x44499b
call fcn.0043a428
mov dword [eax], 0x22
jmp 0x4448f7
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.00438162
pop ecx
pop ecx
jmp 0x4448f9

Function at 0x444f46
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00438180
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x444fdb
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x486324]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x444fdb
cmp eax, 1
je 0x444ff3
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x444fdb
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x444fb0
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x444fd7
xor eax, eax
inc eax
jmp 0x44500f
cmp esi, ebx
jae 0x444fdf
xor eax, eax
jmp 0x44500f
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x486324]
jmp 0x444ff5
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447606
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x447671
push 0x3d
push dword [ebp + 8]
call fcn.00447ed1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x447671
cmp dword [ebp + 8], esi
je 0x447671
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x486344]
cmp eax, dword [0x486348]
jne 0x447657
mov edi, eax
call fcn.004475a5
mov dword [0x486344], eax
cmp eax, ebx
jne 0x4476b0
cmp dword [ebp + 0xc], ebx
je 0x447679
cmp dword [0x48634c], ebx
je 0x447679
call fcn.00445cae
test eax, eax
je 0x4476b0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x4477b4
push 4
call fcn.00439a0f
cmp eax, ebx
pop ecx
mov dword [0x486344], eax
je 0x447671
mov dword [eax], ebx
cmp dword [0x48634c], ebx
jne 0x4476b0
push 4
call fcn.00439a0f
cmp eax, ebx
pop ecx
mov dword [0x48634c], eax
je 0x447671
mov dword [eax], ebx
mov ebx, dword [0x486344]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.00447558
mov edi, eax
test edi, edi
pop ecx
jl 0x447709
cmp dword [ebx], 0
je 0x447709
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004396d2
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4476f1
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x44773f
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x4476e8
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.00439b81
test eax, eax
pop ecx
pop ecx
je 0x44773f
jmp 0x44773a
cmp dword [ebp - 4], 0
jne 0x4477ad
test edi, edi
jge 0x447719
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.00439b81
test eax, eax
pop ecx
pop ecx
je 0x447671
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x486344], eax
cmp dword [ebp + 0xc], 0
je 0x447796
push dword [ebp + 8]
call fcn.00439d30
inc eax
inc eax
push eax
call fcn.00439a0f
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x447796
push dword [ebp + 8]
push esi
call fcn.00441400
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
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 0x44778f
or dword [ebp - 8], 0xffffffff
push esi
call fcn.004396d2
pop ecx
cmp dword [ebp - 4], 0
je 0x4477a5
push dword [ebp + 8]
call fcn.004396d2
pop ecx
mov eax, dword [ebp - 8]
jmp 0x447674
push esi
call fcn.004396d2
pop ecx
xor eax, eax
jmp 0x447674
Function at 0x447ae5
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 0x447cab
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x487b80]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x447cab
test cl, 0x48
je 0x447b4b
mov al, byte [eax + 5]
cmp al, 0xa
je 0x447b4b
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 0x447b9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x447b85
call fcn.0043a428
mov dword [eax], 9
call fcn.0043a431
mov dword [eax], esi
jmp 0x447b95
cmp eax, 0x6d
je 0x447cab
push eax
call fcn.0043a43a
pop ecx
or eax, 0xffffffff
jmp 0x447cad
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x447ca6
test edx, edx
je 0x447bc0
cmp byte [ebx], 0xa
jne 0x447bc0
or al, 4
jmp 0x447bc2
and al, 0xfb
mov byte [ecx], al
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 0x447ca0
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x447c90
cmp al, 0xd
je 0x447bf6
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x447c82
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x447c10
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x447c0b
add dword [ebp + 0x10], 2
jmp 0x447c64
mov dword [ebp + 0x10], eax
jmp 0x447c7e
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 0x447c38
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x447c7e
cmp dword [ebp - 0xc], 0
je 0x447c7e
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x447c59
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x447c64
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x447c81
cmp ebx, dword [ebp + 0xc]
jne 0x447c69
cmp byte [ebp - 1], 0xa
jne 0x447c69
mov byte [ebx], 0xa
jmp 0x447c81
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00441d64
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x447c82
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x447bda
jmp 0x447ca0
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x447ca0
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x447cad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4484c2
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4658f4
call fcn.004395e0
sub esp, 0x11c
mov eax, dword [0x481610]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.004500cd
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.00402a00
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x448553
mov edi, 0x114
push edi
lea eax, [ebp - 0x128]
push ebx
push eax
call fcn.00439650
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 2
jne 0x44854c
cmp dword [ebp - 0x124], 5
mov dword [ebp + 0x20], 0x58
jae 0x448553
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.00439a0f
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x448568
call fcn.00448259
push dword [ebp + 0x20]
push ebx
push dword [esi + 0x70]
call fcn.00439650
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x304], ebx
lea ecx, [esi + 0x7c]
mov word [ecx], bx
lea edi, [esi + 0xfc]
mov word [edi], bx
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x4485e9
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00460a1c
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x4487b4
je 0x448615
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x44864e
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.004021b0
push ebx
mov ecx, edi
call fcn.00401ef0
jmp 0x448637
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004396b0
cmp eax, ebx
pop ecx
pop ecx
jne 0x448631
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.004380c0
leave
ret 0x1c
Function at 0x44ca38
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x44ca72
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042da9c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042d064
pop esi
ret 4
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x44dd80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x44ddc3
call fcn.00460a1c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44ddc3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44ddde
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044cf03
test ebx, ebx
mov esi, eax
je 0x44dddc
test edi, edi
je 0x44dddc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x44df27
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x467b64
mov ecx, edi
call fcn.004021b0
cmp dword [esi + 0x48], 0
push dword [esp + 0xc]
jne 0x44df7a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x44df8d
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0042da9c
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0042d064
jmp 0x44df8d
mov ecx, esi
call fcn.0044e07f
test eax, eax
je 0x44df8d
push edi
mov ecx, eax
call fcn.0044ca38
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x44e73f
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x465752
call fcn.004395e0
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x44e764
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44e7b0
call fcn.0044ff32
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004016b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x44f579
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.00439650
add esp, 0xc
call fcn.00460a0c
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x44f649
cmp dword [ebp - 8], ebx
je 0x44f644
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x44f44b
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00439af6
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x44f653
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x44f61c
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x44f636
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x44f64e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x44f655
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x44f653
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44f65c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4657fe
call fcn.004395e0
push ecx
push esi
push 0x40
call fcn.0044ed50
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor esi, esi
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x44f68b
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00460ac2
mov esi, eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
or eax, 4
push eax
mov ecx, esi
call fcn.0044f579
test eax, eax
jne 0x44f6b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
xor eax, eax
jmp 0x44f6cf
push dword [ebp + 0x10]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test byte [ebp + 0x18], 4
jne 0x44f6cd
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x45046f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4504a6
call fcn.00460a1c
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4504b7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x4504f0
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4504d5
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x4504dd
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x4504ee
test ax, ax
jne 0x4504ee
test si, si
je 0x4504f0
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x4504ff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x450751
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4658d7
call fcn.004395e0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00460a1c
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x45079f
call fcn.00460a1c
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4507b0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4507bc
or eax, 0xffffffff
jmp 0x4508bf
mov ecx, esi
call fcn.00450299
mov dword [ebp - 0x14], eax
call fcn.0044bc98
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x4507ff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4507ff
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4507ff
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.0044d413
push dword [ebp - 0x14]
call fcn.0044bbf0
push edi
push eax
push ebx
mov ecx, esi
call fcn.00450544
xor ebx, ebx
cmp eax, ebx
je 0x450873
test byte [esi + 0x38], 0x10
je 0x450841
push 4
pop edi
mov ecx, esi
call fcn.0044e11f
test ah, 1
je 0x450839
push 5
pop edi
push edi
mov ecx, esi
call fcn.0044b694
cmp dword [esi + 0x1c], ebx
je 0x450873
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044e398
jmp 0x450873
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x450887
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4508a0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4508a0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004502d3
cmp dword [esi + 0x54], ebx
je 0x4508bc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4508f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00460a1c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x450930
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00450544
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8