joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450a10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x452660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x452680
jl 0x452677
cmp dword [ebp + 0xc], 0
ja 0x452680
xor eax, eax
xor edx, edx
jmp 0x4527b7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x4526a2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00453040
jmp 0x4527b7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00454020
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x452711
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00409360
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004541c0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00407f00
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00454140
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x4527a8
mov ecx, dword [ebp - 8]
call fcn.00453bc0
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x452781
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.005ceff1
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x45277f
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x4527b7
jmp 0x45272d
cmp dword [ebp - 4], 0
jbe 0x4527a8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.005ceff1
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.00407e90
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00407ea0
add esp, 8
movzx edx, al
test edx, edx
je 0x452c55
lea eax, [ebp + 8]
push eax
call fcn.004544f0
add esp, 4
jmp 0x452dd2
mov ecx, dword [ebp - 0x2c]
call fcn.004541a0
test eax, eax
je 0x452c97
mov ecx, dword [ebp - 0x2c]
call fcn.004541a0
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.004540e0
cmp esi, eax
jae 0x452c97
lea ecx, [ebp + 8]
push ecx
call fcn.00407ed0
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.004078e0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x452dd2
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x452caa
call fcn.00407e90
jmp 0x452dd2
mov ecx, dword [ebp - 0x2c]
call fcn.00453bc0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x452cf9
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00407ed0
add esp, 4
movzx ecx, al
push ecx
call fcn.00451710
add esp, 8
movzx edx, al
test edx, edx
je 0x452ce9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x452cf1
call fcn.00407e90
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x452dd2
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.00407ed0
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.004537c0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x452d50
cmp dword [ebp - 0x34], 1
je 0x452d50
cmp dword [ebp - 0x34], 3
je 0x452d9d
jmp 0x452dcd
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x452d82
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.005cfc4a
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x452d82
call fcn.00407e90
jmp 0x452dd2
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x452d96
mov eax, dword [ebp + 8]
jmp 0x452dd2
call fcn.00407e90
jmp 0x452dd2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.00451710
add esp, 8
movzx eax, al
test eax, eax
je 0x452dc0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x452dc8
call fcn.00407e90
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x452dd2
call fcn.00407e90
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret 4
Function at 0x453c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x453c77
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x453c7e
mov al, 1
jmp 0x453d59
call fcn.00407e90
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00407e90
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407ea0
add esp, 8
movzx eax, al
test eax, eax
je 0x453cba
xor al, al
jmp 0x453d59
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.004545a0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x453cf6
cmp dword [ebp - 0x30], 1
je 0x453cfd
cmp dword [ebp - 0x30], 3
je 0x453d4c
jmp 0x453d57
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x453d2c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.005cfc4a
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x453d2c
xor al, al
jmp 0x453d59
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x453d40
mov dword [ebp - 0x38], 1
jmp 0x453d47
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x453d59
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x453d59
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret
Function at 0x45aa5d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], ecx
inc eax
inc ebx
mov dword [ebp - 4], eax
cmp dword [edi + 8], ebx
jle 0x45aad4
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x45aa9a
mov eax, dword [ecx + 0x10]
cmp dword [eax + ebx*8 + 4], edx
je 0x45aa9a
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x45aac7
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x45aaca
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45aac0
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x67e9d0]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
and dword [eax + ebx*4], 0
mov eax, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 8]
jl 0x45aa7d
test eax, eax
je 0x45ab16
lea esi, [ecx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp - 8]
push edi
lea ecx, [ebx + 0x14]
call fcn.0045ad47
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x67e9d0]
mov ecx, edi
call esi
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45ad99
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x66ae5d
call fcn.0058d733
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x45ae90
cmp edi, dword [ebx + 0xc]
jge 0x45ae90
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x45adf0
cmp edi, dword [esi + 8]
jl 0x45ae7e
cmp dword [ebp + 0xc], 0
je 0x45ae7e
xor edi, edi
jmp 0x45ae22
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0045a89d
mov esi, eax
test esi, esi
je 0x45ae0a
mov dword [esi], vtable.CThreadData.0
jmp 0x45ae0c
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.0044f800
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x45ae3e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x45ae4a
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x45aeb7
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.005bc9a0
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45ae90
cmp edi, dword [esi + 8]
jge 0x45ae90
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0058d698
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00459d10
int3

Function at 0x45eba6
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x45ebd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45ebd6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.004058c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00468665
int3

Function at 0x45eeb1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x45eec2
xor eax, eax
jmp 0x45eede
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45eee3
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.004058c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00468665
int3
Function at 0x45ef55
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x67e9d0]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x45ef88
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.004058c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00468665
int3

Function at 0x45f061
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x45f08c
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f092
cmp dword [ebp - 4], esi
jne 0x45f0a9
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.004058c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00468665
lea ecx, [edi + 0xc]
call fcn.004058c0
push eax
push 0xffffffffffffffff
push 0xd
call fcn.004682bb
int3

Function at 0x462345
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x462384
call fcn.0045b27e
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x462384
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46238c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0046b31d
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x462d91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x462e1d
cmp dword [esi + 0x20], 0
je 0x462e1d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462e1d
cmp dword [ebp + 8], 0
je 0x462e1d
xor edi, edi
mov ebx, edi
call fcn.0045b27e
push 0x6808e8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x462e01
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x462e1d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046bf42
mov edi, eax
add esp, 0xc
test edi, edi
je 0x462e19
mov ecx, esi
call fcn.00462b2f
mov eax, edi
jmp 0x462e1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4672a4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x66aebf
call fcn.0058d6ca
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4672ca
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x467324
lea ecx, [ebp - 0x10]
call fcn.0040a3e0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x67e9d0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005c0094
push eax
call fcn.00409910
add esp, 0x14
test esi, esi
je 0x467317
push esi
call fcn.005c04be
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040a420
mov eax, ebx
call fcn.0058d698
ret 8

Function at 0x467e47
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004671ea
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x467e83
call fcn.00468064
mov dword [esi + 0xc], 1
jmp 0x467e88
call fcn.00468064
cmp dword [esi], 0
je 0x467ed3
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x467eae
push edi
call fcn.00457960
lea ecx, [edi + 1]
push ecx
jmp 0x467ebd
push 0xff
call fcn.00409ea0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004095d0
pop edi
jmp 0x467ef7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x467ef7
push dword [esi]
push dword [ebp - 4]
call fcn.0045f646
pop esi
leave
ret 0xc

Function at 0x467fbb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00468064
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x468003
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00457960
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004095d0
jmp 0x46800e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045f646
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x468948
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.005bc9a0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.005c0094
push eax
call fcn.00409910
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x67fa0c]
je 0x468aa6
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x468aba
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x468aba
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x468a04
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4689f8
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.004686f9
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x4689ff
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x468a06
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00468bf9
test eax, eax
je 0x468a2d
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00468683
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x468a31
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00468bf9
test eax, eax
je 0x468a58
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00468683
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x468a5c
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00468bf9
test eax, eax
je 0x468a84
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.00468683
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x468a86
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x468a98
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x468aa6
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058d09a
leave
ret 4
xor eax, eax
jmp 0x468aa9
Function at 0x46cb14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x46cb5c
call fcn.0045b27e
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46cb5c
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46cb69
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x46cba5
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x46cb88
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x46cb91
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x46cba3
test di, di
jne 0x46cba3
test dx, dx
je 0x46cba5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46cbaa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x46cbd5
cmp dword [esi + 0x80], 0
jne 0x46cbd5
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.0045b27e
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46cc05
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46cc05
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0046ce71
jmp 0x46cc07
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46cc0e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.0045b27e
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46cc4e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46cc4e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0046cc56
jmp 0x46cc50
xor eax, eax
pop edi
pop esi
pop ebp
ret 8