joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
xor eax, eax
push ebx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [esi + 0xa0]
mov edi, ecx
push eax
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x50]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x438f15
mov dword [ebp - 0x14], 1
jmp 0x43900b
cmp dword [ebp - 0x18], ebx
jne 0x438f26
mov dword [ebp - 0x14], 7
jmp 0x43900b
movzx ebx, byte [ebp - 8]
cmp ebx, dword [esi + 0x48]
jae 0x438f6d
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x438f6d
imul ebx, ebx, 0x2c
add ebx, eax
test ebx, ebx
jne 0x438f71
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x50]
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43900b
mov dword [ebp - 0x14], 7
jmp 0x43900b
xor ebx, ebx
jmp 0x438f3f
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov edx, dword [esi + 0xb8]
push 0
lea ecx, [ebp - 0x18]
push ecx
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x50]
push edx
push eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x438fa2
mov dword [ebp - 0x14], 1
jmp 0x439008
cmp dword [ebp - 0x18], 0
jne 0x438fb1
mov dword [ebp - 0x14], 7
jmp 0x439008
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0xbc]
cmp edi, eax
je 0x438fdc
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x438fed
mov edx, dword [ebp - 0x20]
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
push ecx
lea edi, [ebx + 0x24]
push eax
call fcn.00438b60
jmp 0x438fed
mov edx, dword [esi + 0xb8]
push eax
push edx
push ecx
call fcn.0042e036
add esp, 0xc
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 0xc]
inc dword [esi + 0xc8]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xcc], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439014
mov dword [eax], ebx
test edi, edi
je 0x439029
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], edx
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
Function at 0x439090
Capabilities:
Check for time delay via queryperformancecounter
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 4
mov ebx, eax
je 0x4390b4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0xb8], 0
jne 0x4390d5
mov eax, dword [edi + 0xc4]
add eax, 0xc
push eax
call fcn.0042dbdc
add esp, 4
mov dword [edi + 0xb8], eax
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x4c]
or edx, 0xffffffff
test ecx, ecx
je 0x439101
xor eax, eax
cmp dword [edi + 0x48], eax
jbe 0x439101
mov esi, dword [edi + 0x48]
cmp dword [ecx], ebx
jne 0x4390f9
mov edx, eax
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x4390f3
mov eax, dword [esp + 0x30]
movzx ebx, dl
mov byte [eax + 8], dl
cmp ebx, dword [edi + 0x48]
jae 0x439122
mov eax, dword [edi + 0x4c]
xor esi, esi
cmp eax, esi
je 0x439122
imul ebx, ebx, 0x2c
add ebx, eax
cmp ebx, esi
jne 0x439130
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x24], esi
jne 0x43916b
call fcn.00438c60
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
mov dword [ecx + 4], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x38]
fild qword [edi + 0x98]
mov dword [edi + 0x80], esi
fdivp st(1)
fst qword [edi + 0x70]
fstp qword [edi + 0x68]
fldz
fstp qword [edi + 0x78]
jmp 0x4391a0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x38]
fild qword [edi + 0x98]
sub esp, 8
fdivp st(1)
fsub qword [edi + 0x70]
fmul qword [0x4bf198]
fstp qword [esp]
call fcn.00476640
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x50]
mov esi, dword [ebx + 0x18]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x30]
lea eax, [eax + esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4391e3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4391e3
mov esi, dword [ebx + 0x18]
lea edx, [ebx + 0x24]
push edx
push ecx
mov ecx, dword [edi + 0xb8]
add ecx, 0xc
push ecx
push eax
call fcn.00438be0
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0x50]
push 0
mov dword [esp + 0x38], 0
mov ebx, dword [ebx + 0x18]
lea edx, [esp + 0x38]
push edx
add ebx, 0xc
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43921c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
inc dword [edi + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4394a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x54]
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
cmp eax, 3
je 0x4394e7
cmp eax, 1
je 0x4394e7
mov dword [esp + 0xc], 3
jmp 0x439627
mov eax, dword [ebp + 0xc]
test al, 4
je 0x4394fb
mov dword [esp + 0xc], 0xa
jmp 0x439627
mov edi, eax
and edi, 1
cmp dword [esi + 0xb8], ebx
jne 0x439515
mov dword [esp + 0xc], 1
jmp 0x439627
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
je 0x439536
mov ebx, dword [ecx]
push eax
mov eax, dword [ebx + 0x44]
push edx
call eax
test eax, eax
jns 0x439536
mov dword [esp + 0xc], 0xb
jmp 0x439627
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [esp + 0x18]
fild qword [esi + 0x98]
lea edx, [esi + 0xa0]
push edx
mov dword [esi + 0x80], 0
fdivp st(1)
fst qword [esi + 0x70]
fstp qword [esi + 0x68]
fldz
fstp qword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x439595
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x50]
xor edi, edi
push edi
push edi
push eax
push ecx
call ebx
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
jmp 0x4395ab
test dword [ebp + 0xc], 0x200
jne 0x4395ab
mov eax, dword [esi + 0xc8]
add eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
cmp dword [ebp + 8], 0
je 0x4395f9
mov edx, dword [esi + 0x50]
push 1
push 0
push 0
push edx
call ebx
mov edi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.00438eb0
test eax, eax
jne 0x439690
mov eax, dword [ebp + 0xc]
test eax, 0x200
je 0x43964f
mov ecx, dword [ebp + 8]
cmp ecx, dword [esp + 0x24]
jae 0x43965b
mov eax, dword [esi + 0x50]
push 0
push 0
push edi
push eax
call ebx
dec dword [esi + 0xc8]
test byte [ebp + 0xc], 0x18
jne 0x439627
mov ecx, dword [esp + 0x10]
xor eax, eax
push esi
lea edx, [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], 1
call fcn.004393b0
lea ecx, [esi + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x439642
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x14]
cmp dword [esi + 0xc8], edx
jae 0x4395f9
test al, 8
je 0x4395b1
mov ecx, dword [esp + 0x10]
xor eax, eax
push esi
lea edx, [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], 1
call fcn.004393b0
jmp 0x4395b1
cmp eax, 7
jne 0x4395b1
mov dword [esp + 0xc], eax
jmp 0x439627
Function at 0x439960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0x58], ebx
jne 0x439975
lea eax, [ebx + 6]
pop edi
pop ebx
pop ebp
ret 4
cmp dword [esi + 0x54], 1
je 0x439986
mov eax, 3
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push eax
call edi
cmp eax, dword [esi + 8]
jae 0x4399a2
cmp eax, dword [esi + 4]
jae 0x4399b0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x50]
push 0
push 0
push ecx
push edx
call edi
cmp dword [ebp + 8], ebx
je 0x4399e5
cmp dword [esi + 0xd4], ebx
lea eax, [esi + 0xd4]
jne 0x4399f8
push eax
push 0
push esi
push fcn.004396f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x54], 3
mov eax, ebx
pop edi
pop ebx
pop ebp
ret 4
push esi
mov dword [esi + 0x54], 3
call fcn.004396f0
pop edi
pop ebx
pop ebp
ret 4
mov eax, 1
pop edi
mov dword [esi + 0x54], eax
pop ebx
pop ebp
ret 4
Function at 0x439c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad49b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], al
push esi
push esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 0x50]
push esi
push ecx
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea edx, [ebp - 0x40]
push edx
push 0x28
push edi
push eax
call ebx
test eax, eax
je 0x439dbc
cmp dword [ebp - 0x40], 0x28
jne 0x439dbc
cmp dword [edi], 3
je 0x439cfe
mov dword [ebp - 0x44], 0xd
jmp 0x439dc3
mov eax, dword [edi + 0x50]
push esi
lea ecx, [ebp - 0x40]
push ecx
push 4
lea edx, [ebp - 0x48]
push edx
push eax
mov dword [ebp - 0x48], esi
call ebx
test eax, eax
je 0x439dbc
cmp dword [ebp - 0x40], 4
jne 0x439dbc
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x48], esi
jbe 0x439dc3
mov eax, dword [edi + 0x50]
push esi
lea ecx, [ebp - 0x40]
push ecx
push 0x21
lea edx, [ebp - 0x3c]
push edx
push eax
call ebx
test eax, eax
je 0x439dbc
cmp dword [ebp - 0x40], 0x21
jne 0x439dbc
movzx ecx, word [ebp - 0x1c]
push ecx
call fcn.0042dbdc
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
test esi, esi
je 0x439d9c
movzx eax, word [ebp - 0x1c]
mov ecx, dword [edi + 0x50]
push 0
lea edx, [ebp - 0x40]
push edx
push eax
push esi
push ecx
call ebx
test eax, eax
je 0x439dba
movzx ebx, word [ebp - 0x1c]
cmp dword [ebp - 0x40], ebx
jne 0x439dba
push esi
lea esi, [ebp - 0x18]
call fcn.004770c0
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea esi, [ebp - 0x3c]
mov eax, edi
call fcn.00439c30
mov eax, dword [ebp - 0x4c]
inc eax
xor esi, esi
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x48]
jb 0x439d30
jmp 0x439dc3
xor esi, esi
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x439dd4
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret
Function at 0x43d290
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad9b0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4c75d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], 2
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0x40]
mov dword [esi], vtable.ADXValue.0
call fcn.004728e0
mov byte [ebp - 4], 1
fldz
fst dword [esi + 0x28c]
mov dword [esi + 0x2c], ebx
fld dword [0x4bf120]
mov dword [esi + 0x28], ebx
fst dword [esi + 0x290]
mov dword [esi + 0x30], ebx
fstp dword [esi + 0x298]
mov dword [esi + 0x288], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x2b0], ebx
fstp dword [esi + 0x294]
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2a4], ebx
lea edx, [ebx + 2]
push 0x4b6174
mov ebx, esi
mov byte [esi + 0x3c], 2
mov dword [esi + 0xc], 4
mov dword [esi + 0x34], 8
mov dword [esi + 0x38], 3
mov dword [esi + 0x29c], 0xff
mov dword [esi + 0x2a0], 0x4080ff
call fcn.0043d0c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x448470
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x4484c8
push esi
lea esi, [edi + 0x10]
mov eax, 0x10
mov ecx, esi
call fcn.004a0810
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448490
sub eax, edx
test esi, esi
jne 0x4484a4
xor ecx, ecx
mov dword [edi + 0x20], ecx
pop esi
ret
mov ecx, 0xdc379acf
mov edx, esi
test eax, eax
je 0x4484c3
nop
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4b9ae8]
xor ecx, esi
rol ecx, 5
inc edx
dec eax
jne 0x4484b0
mov dword [edi + 0x20], ecx
pop esi
ret
mov byte [edi + 0x10], 0
mov dword [edi + 0x20], 0
ret

Function at 0x4488a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x104
mov esi, ecx
lea ecx, [ebp - 0x110]
push edi
push ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x114], edi
call fcn.0042e03c
add esp, 0xc
test esi, esi
jne 0x4488fb
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4488e7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x108
jae 0x44892c
xor edi, edi
jmp 0x4489a8
push 0
lea edx, [ebp - 0x11c]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448950
xor edi, edi
jmp 0x4489a8
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x972205
je 0x44898f
movzx eax, cl
sub eax, 5
jne 0x448987
movzx eax, ch
sub eax, 0x22
jne 0x448987
movzx eax, byte [ebp - 0x112]
sub eax, 0x97
jne 0x448987
movzx eax, byte [ebp - 0x111]
test eax, eax
je 0x44898f
sar eax, 0x1f
or eax, 1
jne 0x448994
mov edi, 1
mov edx, dword [ebp - 0x118]
xor ecx, ecx
cmp byte [ebp - 0x91], 0x64
sete cl
mov dword [edx], ecx
test esi, esi
je 0x4489b3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
Function at 0x449e50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad73e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
cmp esi, ebx
je 0x449fa2
cmp dword [ebp + 0xc], ebx
je 0x449fa2
cmp dword [ebp + 0x10], ebx
je 0x449fa2
cmp dword [ebp + 0x14], ebx
je 0x449fa2
push 1
lea ecx, [ebp - 0x24]
call fcn.00474430
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp + 0x14], esi
cmp esi, 0xffffffff
jne 0x449ee4
mov edi, 0x800700a1
jmp 0x449f6c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x108
jae 0x449efd
mov edi, 0x80071777
jmp 0x449f68
push edi
call fcn.0042dbdc
add esp, 4
mov ebx, eax
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x449f25
mov edi, 0x8007001e
jmp 0x449f66
cmp dword [ebx], 0x972205
je 0x449f34
mov edi, 0x80071777
jmp 0x449f66
mov ecx, dword [ebp + 0x10]
push ecx
lea esi, [edi - 0x108]
push esi
add ebx, 0x108
push ebx
lea ecx, [ebp - 0x24]
call fcn.00474570
mov edi, eax
test edi, edi
js 0x449f63
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push ebx
call fcn.00441c00
mov edi, eax
mov esi, dword [ebp + 0x14]
xor ebx, ebx
cmp esi, ebx
je 0x449f73
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x449f84
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea esi, [ebp - 0x24]
call fcn.004742b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [ebp - 0x24]
call fcn.004742b0
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x458960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
test edi, edi
jne 0x458996
mov eax, dword [0x4ed528]
mov ecx, dword [eax + 0x1c]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0xd
push 0x102
push ecx
call esi
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x20]
push edi
push 0xd
push 0x102
push eax
call esi
pop esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edi
push 0x18
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop ebp
ret

Function at 0x458dd0
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [0x4ed528]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0x14]
cmp eax, 3
je 0x458e1e
cmp eax, 8
je 0x458e17
cmp eax, 0xc
je 0x458df8
mov eax, dword [edx + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov ecx, dword [edx + 0x1c]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call esi
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x20]
push 0
push eax
call esi
pop esi
ret
mov dword [ecx + 8], str.FTFT
ret
Function at 0x45bbd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
mov eax, dword [0x4ed528]
cmp dword [eax + 0x3c], 0
push edi
je 0x45bd39
mov dword [eax + 0x3c], 0
call dword [sym.imp.USER32.dll_GetCapture]
cmp esi, eax
jne 0x45bc00
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov eax, dword [0x4ed528]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push 6
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
call dword [sym.imp.GDI32.dll_SetROP2]
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp - 8]
push ecx
push ebx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [ebp - 0xc]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetROP2]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x4ed528]
push 0x105
push 0
push 0
push esi
mov dword [eax + 0x24], ebx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x4ed528]
cmp dword [ecx + 4], 0
je case.0x45bc9a.3
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add eax, 0xfffffffd
cmp eax, 0x60
ja case.0x45bc9a.4
movzx eax, byte [eax + 0x45bdb0]
jmp dword [eax*4 + 0x45bda4]
mov ecx, dword [ecx + 0x20]
push 5
push ecx
call edi
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x1c]
push 5
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4ed528]
mov ecx, dword [eax + 0x1c]
push 0
push 0xd
push 0x102
push ecx
call edi
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x20]
push 0
push 0xd
push 0x102
push eax
call edi
push esi
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx ecx, ax
or ecx, 0x10000
push ecx
push 0x111
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
mov eax, dword [0x4ed528]
cmp dword [eax + 4], 0
je 0x45bd33
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x14]
cmp ecx, 3
je 0x45bd33
cmp ecx, 8
je 0x45bd7d
cmp ecx, 0x63
je 0x45bd33
push 0
push 9
push 0x100
push esi
call edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, bx
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x1a9
push esi
call edi
push 0
push 0
push 0x188
push esi
movzx ebx, ax
call edi
cmp eax, ebx
je 0x45bcbd
push 0
push ebx
push 0x186
push esi
call edi
jmp 0x45bcbd
mov eax, dword [eax + 8]
push 0x4b7fe4
push eax
call dword [sym.imp.MSVCR100.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x45bd27
push eax
push 0x20
push 0x100
push esi
call edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret