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

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push edi
push eax
call fcn.004516d0
mov eax, dword [esi + 0x50]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea edi, [esi + 0x4c]
jne 0x439f4e
test edi, edi
je 0x439f3e
lea eax, [edi - 0x4c]
jmp 0x439f40
xor eax, eax
mov edx, dword [eax + 0x10]
push 0x40a
push edx
call ebx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x439f6e
test edi, edi
je 0x439f5e
lea eax, [edi - 0x4c]
jmp 0x439f60
xor eax, eax
mov eax, dword [eax + 0x10]
push 0x3fd
push eax
call ebx
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x439f8e
test edi, edi
je 0x439f7e
lea eax, [edi - 0x4c]
jmp 0x439f80
xor eax, eax
mov ecx, dword [eax + 0x10]
push 0x409
push ecx
call ebx
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x439fae
test edi, edi
je 0x439f9e
lea eax, [edi - 0x4c]
jmp 0x439fa0
xor eax, eax
mov edx, dword [eax + 0x10]
push 0x5df
push edx
call ebx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x50]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x10]
push 0x415
push ecx
call ebx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x439fdb
push ecx
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0xc]
push 0x4708d8
push 3
call fcn.004515d0
push eax
lea ecx, [esp + 0x10]
call fcn.00405970
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x54]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 0x10]
push 0
push 0xa
push 0x7bc
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4800dc]
lea edx, [edi - 0xc]
cmp edx, eax
je 0x43a03c
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a03c
push esi
call fcn.00457c3f
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x43a050
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e2d0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
test eax, eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
je 0x43a09d
mov edx, dword [esi + 0x30]
and edx, 2
push edx
push eax
call dword [ecx + 0x20]
mov esi, dword [esi + 0x3c]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x24]
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push ebx
push edi
push 8
push eax
call dword [ecx + 0x20]
mov ebx, dword [0x4800d8]
mov dword [esp + 0xc], ebx
mov edi, dword [esi + 0x40]
cmp dword [edi + 0x194], 0x8000000a
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], 0
jne 0x43a0f1
push 0x4708d8
push 0x66
call fcn.004515d0
mov edx, dword [esi + 0x54]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43a178
push ebp
push 0x4708d8
push 0xc1
call fcn.004515d0
push eax
lea ecx, [esp + 0x18]
call fcn.00405970
mov ecx, dword [edi + 0x194]
mov edi, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edi
push edx
mov byte [esp + 0x2c], 1
call fcn.00405ab0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x54]
add esp, 0xc
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 0x50]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call ebp
mov edx, dword [esi + 0x5c]
push 0
push edx
call ebp
mov ecx, dword [0x4800dc]
lea eax, [edi - 0xc]
cmp eax, ecx
mov byte [esp + 0x20], 0
pop ebp
je 0x43a178
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a178
push edi
call fcn.00457c3f
add esp, 4
mov ecx, dword [esi + 0x40]
cmp dword [ecx + 0x2c], 3
jne 0x43a18c
mov esi, dword [esi + 0x3c]
mov edx, dword [esi]
push 8
push esi
call dword [edx + 0x24]
mov ecx, dword [0x4800dc]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x43a1b0
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a1b0
push ebx
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43a6f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x2c
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
mov ecx, dword [edi]
push 0x18
push ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x43a71b
pop edi
pop esi
add esp, 0x2c
ret 0xc
mov edx, dword [esi + 0x10]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [esp + 0x20], ebx
call esi
mov ecx, dword [edi]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push eax
mov dword [esp + 0x18], eax
call ebp
push ebx
mov dword [esp + 0x1c], eax
call esi
mov esi, dword [esp + 0x48]
push esi
push esi
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
mov eax, dword [esp + 0x28]
xor edx, edx
div esi
xor ecx, ecx
mov dword [esp + 0x48], ecx
test eax, eax
jbe 0x43a7ce
mov dword [esp + 0x44], ecx
push ebx
push edi
call ebp
mov ecx, dword [esp + 0x10]
push 0xcc0020
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push esi
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push edi
call ebp
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push 0xffffff
push ebx
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
add dword [esp + 0x44], esi
mov eax, dword [esp + 0x28]
xor edx, edx
div esi
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, eax
jb 0x43a774
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x43a7f8
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x43a805
push edi
call ebx
test esi, esi
je 0x43a80c
push esi
call ebx
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x2c
ret 0xc
Function at 0x43a9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
push edi
push eax
lea edi, [ecx + 0x50]
push 4
mov dword [esp + 0x18], ecx
mov ecx, dword [edi]
push 0x110a
push ecx
call ebx
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x43ab81
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x58], edx
push ebp
mov dword [esp + 0x60], edx
push 0x110c
mov dword [esp + 0x68], edx
push ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0x22
call ebx
test eax, eax
je 0x43aa4b
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x43aa4b
cmp eax, 1
jne 0x43ab50
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x80], edx
push ebp
mov dword [esp + 0x88], edx
push 0x110c
mov dword [esp + 0x90], edx
push ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 4
call ebx
mov ecx, dword [esp + 0x98]
cmp ecx, ebp
jne 0x43ab07
mov eax, dword [esp + 0x94]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x3c], edx
push 0x110d
mov dword [esp + 0x44], edx
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x22
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ebp
call ebx
jmp 0x43ab50
cmp ecx, 1
jne 0x43ab13
push ebp
push ebp
push ebp
push ecx
push ecx
jmp 0x43ab45
cmp ecx, 2
jne 0x43ab3b
mov edx, dword [esp + 0x88]
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [eax + 0x14]
push ebp
push ebp
cmp ecx, ebp
push ebp
mov ecx, edi
je 0x43ab37
push 1
push 1
jmp 0x43ab47
push ebp
push ebp
jmp 0x43ab47
cmp ecx, 3
jne 0x43ab50
push ebp
push ebp
push ebp
push ebp
push ebp
mov ecx, edi
push ebp
push 0x22
push esi
call fcn.0043a5b0
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
push edx
push eax
push esi
call fcn.0043a9c0
mov ecx, dword [edi]
push esi
push 1
push 0x110a
push ecx
call ebx
mov esi, eax
cmp esi, ebp
jne 0x43a9f4
mov eax, dword [esp + 0x90]
cmp eax, 0xffff0000
pop edi
pop esi
pop ebp
pop ebx
je 0x43ab9c
mov ecx, dword [esp]
push eax
call fcn.0043a820
add esp, 0x7c
ret 0xc
Function at 0x43b801
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x30], 1
jne 0x43b8e3
call fcn.004154a0
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x43b8e3
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push edi
push 0x4708d8
push 0x3f6
call fcn.004515d0
mov edx, dword [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x14a
push edx
call edi
push 3
push eax
mov eax, dword [esi + 0x54]
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4708d8
push 0x4bc
call fcn.004515d0
mov edx, dword [esi + 0x54]
push eax
push 0
push 0x14a
push edx
call edi
push 2
push eax
mov eax, dword [esi + 0x54]
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4708d8
push 0x585
call fcn.004515d0
mov edx, dword [esi + 0x54]
push eax
push 0
push 0x14a
push edx
call edi
push 1
push eax
mov eax, dword [esi + 0x54]
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x54]
push 0
push 1
push 0x14e
push ecx
call edi
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
mov ecx, esi
call fcn.0043b5e0
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 0x54]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ecx
ret
Function at 0x43c1c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46e378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4800d8]
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x40]
push edi
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x30], 4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x20], 0
je 0x43c24c
push 1
mov ecx, ebp
call fcn.0040a2f0
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x43c24c
lea ecx, [esp + 0x10]
push ecx
push ebx
push 1
mov ecx, ebp
call fcn.0040caf0
mov edx, dword [esi + 0x50]
push 0
push 0
push 0x18b
push edx
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x50]
push ecx
push eax
push 0x181
push edx
call edi
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jle 0x43c214
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x30]
cmp eax, 1
je 0x43c2aa
cmp eax, 2
je 0x43c2aa
push 2
mov ecx, ebp
call fcn.0040a2f0
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x43c2aa
lea ecx, [esp + 0x10]
push ecx
push ebx
push 2
mov ecx, ebp
call fcn.0040caf0
mov edx, dword [esi + 0x50]
push 0
push 0
push 0x18b
push edx
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x50]
push ecx
push eax
push 0x181
push edx
call edi
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jle 0x43c272
mov eax, dword [esi + 0x50]
push 0
push 0
add esi, 0x50
push 0x18b
push eax
call edi
test eax, eax
je 0x43c2d6
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.0041c190
add esp, 4
jmp 0x43c2e1
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4800dc]
pop edi
pop esi
lea ecx, [eax - 0xc]
cmp ecx, edx
pop ebp
pop ebx
je 0x43c313
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c313
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43c330
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46e378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4800d8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 0x40]
mov dword [esp + 0x10], eax
push 0
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.0040a2f0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x14], eax
jl 0x43c3b8
mov edi, edi
lea ecx, [esp + 0x10]
push ecx
push esi
push 0
mov ecx, ebp
call fcn.0040caf0
mov edx, dword [edi + 0x50]
push 0
push 0
push 0x18b
push edx
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x50]
push ecx
push eax
push 0x181
push edx
call ebx
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jle 0x43c380
mov eax, dword [edi + 0x50]
push 0
push 0
add edi, 0x50
push 0x18b
push eax
call ebx
test eax, eax
jle 0x43c3e4
mov ecx, dword [edi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call fcn.0041c190
add esp, 4
jmp 0x43c3ef
mov edx, dword [edi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4800dc]
pop edi
pop esi
lea ecx, [eax - 0xc]
cmp ecx, edx
pop ebp
pop ebx
je 0x43c421
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c421
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x43c680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46e3c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00426f90
xor edi, edi
mov dword [esi + 8], 0x473f44
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], 0x474258
mov dword [esi + 8], 0x47421c
mov dword [esi + 0xc], 0x47420c
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea ebx, [esi + 0x68]
mov dword [esi + 0x60], edi
mov ecx, ebx
mov dword [esp + 0x18], edi
mov dword [esi + 0x64], edi
call fcn.00435410
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov byte [esp + 0x18], 1
call fcn.004154a0
mov ebx, dword [eax + 0x2c]
xor ecx, ecx
cmp ebx, 3
sete cl
pop edi
mov eax, esi
dec ecx
and ecx, 0x19
add ecx, 5
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43d7e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
test ecx, ecx
push esi
push edi
je 0x43d7f2
lea edi, [ecx - 0x4c]
mov dword [esp + 8], edi
jmp 0x43d7fe
mov dword [esp + 8], 0
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43d87d
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
push ebx
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
or ebp, 0xffffffff
call fcn.004042d0
test eax, eax
je 0x43d86f
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
mov byte [edi + eax], 0
mov eax, dword [esi]
test eax, eax
je 0x43d86f
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
mov ebp, eax
call fcn.00404410
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
cmp ebp, edi
pop ebp
pop ebx
jge 0x43d8cf
mov edi, dword [esp + 8]
xor esi, esi
jmp 0x43d899
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov esi, eax
test esi, esi
jne 0x43d8c5
push 0xffffffffffffffff
add edi, 0x4c
call dword [sym.imp.USER32.dll_MessageBeep]
test edi, edi
je 0x43d8ad
lea eax, [edi - 0x4c]
jmp 0x43d8af
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, esi
pop esi
add esp, 0x24
ret 0x18
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43d907
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp ecx, dword [esp + 0x44]
jle 0x43d907
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x4c
call fcn.0043d420
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 0x18
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 0x18
Function at 0x43e620
Capabilities:
Get disk information

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp ecx, 0xc8
jg 0x43e70b
cmp ecx, 3
jle 0x43e70b
push 0x47439c
push eax
call fcn.00458b97
add esp, 8
test eax, eax
je 0x43e65d
sub eax, dword [esi]
mov dword [esp + 8], eax
jns 0x43e70b
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jl 0x43e684
push 0x474398
push eax
call fcn.00457e8d
add esp, 8
test eax, eax
je 0x43e684
sub eax, dword [esi]
mov dword [esp + 8], eax
jns 0x43e70b
push 0x474394
mov ecx, esi
call fcn.004042a0
test eax, eax
jge 0x43e70b
push 0x474390
mov ecx, esi
call fcn.004042a0
test eax, eax
jge 0x43e70b
push 0x47438c
mov ecx, esi
call fcn.004042a0
test eax, eax
jge 0x43e70b
push 0x474388
mov ecx, esi
call fcn.004042a0
cmp eax, 0xffffffff
jne 0x43e70b
push 0x474380
mov ecx, esi
call fcn.0043d450
cmp eax, 0xffffffff
jne 0x43e70b
mov eax, dword [esi]
cmp byte [eax + 1], 0x3a
jne 0x43e70b
cmp byte [eax + 2], 0x5c
jne 0x43e70b
push 3
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0040a900
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
lea ecx, [esp + 8]
je 0x43e711
call fcn.004309a0
xor eax, eax
pop esi
ret 4
call fcn.004309a0
mov eax, 1
pop esi
ret 4
Function at 0x43f969
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e538
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push edi
push eax
call fcn.004516d0
call fcn.004154a0
mov edx, dword [eax + 0x16c]
mov eax, dword [esi + 0x40]
mov dword [esi + 0x54], edx
mov eax, dword [eax + 0x30]
cmp eax, 2
je 0x43f9b6
cmp eax, 4
je 0x43f9b6
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push ecx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43fa2d
lea edx, [esp + 0xc]
push edx
mov edi, 1
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push str.ShowKeepSettings
push eax
mov dword [esp + 0x30], 0
call dword [ecx + 0xc]
test eax, eax
jne 0x43fa02
cmp word [esp + 0x14], 0xffff
sete al
mov edi, eax
test edi, edi
jne 0x43fa02
call fcn.004154a0
mov dword [eax + 0x16c], edi
mov dword [esi + 0x54], edi
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push ecx
call ebx
neg edi
sbb edi, edi
and edi, 5
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi + 0x50]
test eax, eax
lea edi, [esi + 0x4c]
jne 0x43fa50
test edi, edi
je 0x43fa40
lea eax, [edi - 0x4c]
jmp 0x43fa42
xor eax, eax
mov eax, dword [eax + 0x10]
push 0x410
push eax
call ebx
mov dword [esi + 0x50], eax
test edi, edi
je 0x43fa59
lea eax, [edi - 0x4c]
jmp 0x43fa5b
xor eax, eax
mov ecx, dword [eax + 0x10]
push 0x3ef
push ecx
call ebx
mov ecx, dword [esi + 0x54]
test ecx, ecx
jl 0x43fa72
cmp ecx, 2
jle 0x43fa79
mov dword [esi + 0x54], 0
mov edx, dword [esi + 0x54]
push 0
push edx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x440ad0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4800d8]
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
lea ecx, [esp + 4]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00440730
test eax, eax
jne 0x440b4d
mov eax, dword [esp + 4]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x440b3b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x440b3b
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x440be3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x440ba0
mov edx, dword [esp + 0xc]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x440be3
mov eax, dword [esp + 0xc]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x440bcf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x440bcf
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00457c3f
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea eax, [ebp + 2]
push eax
call fcn.00456452
mov edi, eax
add esp, 4
test edi, edi
je 0x440c26
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push edi
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440c4b
push edi
call fcn.00457c3f
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.004309a0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [edi + ebp], 0
mov byte [edi + ebp + 1], 0
add ebp, 0x64
push ebp
call fcn.00456452
mov edx, dword [ebx + 0x40]
add esp, 4
push ebp
mov esi, eax
mov eax, dword [edx + 0x28]
push esi
push edi
push eax
mov ecx, ebx
call fcn.00440470
mov ecx, dword [ebx + 0x10]
push esi
push 0x3f1
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call fcn.00457c3f
push edi
call fcn.00457c3f
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004309a0
mov ecx, dword [esp + 0x18]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret