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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c748
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x41fbcb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x41fbd5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push 0x4a9fbc
call fcn.004071f0
test al, al
jne 0x41fa49
push 3
push 0x4a9fbc
lea ecx, [ebp - 0x14]
call fcn.00407350
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push 0x4a9fbc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00420000
test al, al
sete byte [ebp - 0xd]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fa84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x41faaf
push 0x18
push str.Unable_to_get_temp_file
lea ecx, [ebx + 4]
call fcn.00407350
mov esi, dword [ebp - 0x18]
lea ecx, [ebx + 4]
push dword [esi - 0xc]
push esi
call fcn.004023a0
xor bl, bl
jmp 0x41fb96
mov esi, dword [ebp - 0x18]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], 0x4a85d0
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
jne 0x41faee
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a85d0
push eax
jmp 0x41fb40
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0xfeff
push eax
push 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41fb30
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push 0
push edx
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41fb6c
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a85d0
test edi, edi
je 0x41fb4d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
push 0x1b
push str.Unable_to_save_script_file
lea ecx, [ebx + 4]
call fcn.00407350
push dword [esi - 0xc]
lea ecx, [ebx + 4]
push esi
call fcn.004023a0
xor bl, bl
jmp 0x41fb96
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a85d0
test edi, edi
je 0x41fb89
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0041fbe0
mov bl, al
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41fbb5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
int3
Function at 0x420000
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c810
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c4074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
mov edx, dword [eax]
call fcn.00404930
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004202d0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x420063
mov edx, dword [edx]
test edx, edx
jne 0x42006b
xor ecx, ecx
jmp 0x42007f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420070
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00407350
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4200c6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4200bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420152
push edx
push ecx
call fcn.0046e3c2
add esp, 8
push dword [esi]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42011f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420115
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420157
push edx
push ecx
call fcn.0046e3c2
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, 1
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e38e
mov esp, ebp
pop ebp
ret 0xc
call fcn.004736d9
call fcn.004736d9
int3
Function at 0x425310
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d6e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
cmp byte [ecx + 0x40], 0
cmovne edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov byte [edi + 0x10], 1
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x425421
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00425100
mov esi, eax
mov byte [edi + 0x10], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4253c4
cmp dword [ebp + 0x10], eax
je 0x4253c4
mov esi, 0x2ee2
jmp 0x4253dc
test esi, esi
jne 0x4253dc
mov esi, dword [edi + 4]
cmp esi, dword [ebx + 4]
je 0x4253da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42540b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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
push 0x80004005
call fcn.004024c0
int3
Function at 0x427f10
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
jne 0x4280de
mov ecx, dword [esp + 0x18]
mov edx, 1
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ecx, 0x110
jne 0x427f63
sub esp, 8
mov dword [edi + 0x40], edx
mov ecx, edi
call fcn.00428550
mov dword [esi], eax
cmp dword [edi + 0x40], 0
je 0x428040
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ecx, 0x111
jne 0x428040
movzx eax, bx
cmp dx, ax
jne 0x427fd3
lea eax, [edi + 0x44]
push eax
lea ecx, [edi + 0x5c]
call fcn.0041d330
lea eax, [edi + 0x48]
push eax
lea ecx, [edi + 0x60]
call fcn.0041d330
push 0x428
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x427ff9
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, ebx
mov ecx, 0x300
shr eax, 0x10
cmp cx, ax
jne 0x428040
cmp ebp, dword [edi + 0x5c]
lea ecx, [edi + 0x5c]
jne 0x42803a
lea esi, [edi + 0x44]
push esi
call fcn.0041d330
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esp + 0x24]
mov dword [esi], 0
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0x20]
cmp eax, 5
jne 0x4280af
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x428085
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x428076
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42808a
test ebx, ebx
jne 0x428085
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42808a
cmp ebx, 1
je 0x4280cc
mov eax, ebp
lea ecx, [edi + 0x20]
shr eax, 0x10
cwde
push eax
movsx eax, bp
push eax
call fcn.00428d40
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x24
jne 0x4280de
cmp dword [ecx + 0x14], 0xffffffff
je 0x4280cc
cmp dword [ecx + 0x18], 0xffffffff
je 0x4280cc
mov eax, dword [ecx + 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp + 0x1c], eax
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x42fa50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f1e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 4
lea eax, [esi + 0x30]
mov dword [esi + 0x20], 0x4aada0
mov dword [esi + 0x24], 0x4ab0a4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4ab0d8
mov dword [esi + 0x20], 0x4ab0ac
mov dword [esi + 0x24], 0x4ab0a8
mov dword [esi + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x42fb03
cmp ecx, dword [edi]
jne 0x42fb03
lock inc dword [eax]
jmp 0x42fb2b
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42fb7d
mov eax, dword [ebx]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp + 0xc]
call fcn.004024f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [esi + 0x44], 2
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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
call fcn.004024e0
int3

Function at 0x42fc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f241
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea eax, [esi + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42fc86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42fca7
push eax
call fcn.0046ce2a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f880
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x431ae0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, 0x100
push 0x200
call fcn.0046e3d0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x431a6e
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.0046eb32
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046e3d0
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x431a17
test edi, edi
jne 0x431a76
xor eax, eax
jmp 0x431a8f
mov eax, edi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431a80
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0x10]
push eax
push edi
call fcn.00407350
mov byte [ebp - 4], 1
push edi
call fcn.0046eb32
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431acc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004024c0
int3
Function at 0x438a40
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x438be9
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x438ac6
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x438a82
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x438aa4
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00439810
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x438b41
cmp ebx, 2
jne 0x438af7
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x438b41
cmp ebx, 0x4e
jne 0x438b47
cmp dword [edi + 8], 0xffffff38
jne 0x438b1e
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.00438c00
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x438bdd
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x438bb6
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x438b88
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x438b79
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x438b8d
test ebp, ebp
jne 0x438b88
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x438b8d
cmp ebp, 1
je 0x438bd3
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00439c50
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x438be9
cmp dword [ecx + 0x14], 0xffffffff
je 0x438bd3
cmp dword [ecx + 0x18], 0xffffffff
je 0x438bd3
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x43c180
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x43c329
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x43c206
cmp byte [esi + 0x79], 0
mov dword [esi + 0x74], 1
je 0x43c1c2
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x78], 0
je 0x43c1e4
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x54]
call fcn.0043c5b0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x74], 0
mov dword [ecx], 0
cmp dword [esi + 0x74], 0
jmp 0x43c281
cmp ebx, 2
jne 0x43c237
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x74], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x74], 0
mov dword [ecx], 0
cmp dword [esi + 0x74], 0
jmp 0x43c281
cmp ebx, 0x4e
jne 0x43c287
cmp dword [edi + 8], 0xffffff38
jne 0x43c25e
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.0043c340
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x43c31d
lea ecx, [esi + 0x54]
cmp ebx, 5
jne 0x43c2f6
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x43c2c8
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x43c2b9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43c2cd
test ebp, ebp
jne 0x43c2c8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43c2cd
cmp ebp, 1
je 0x43c313
mov eax, edi
lea ecx, [esi + 0x54]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.0043c820
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x43c329
cmp dword [ecx + 0x14], 0xffffffff
je 0x43c313
cmp dword [ecx + 0x18], 0xffffffff
je 0x43c313
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x43daf0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x43dc99
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x43db76
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x43db32
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x43db54
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.0043de70
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x43dbf1
cmp ebx, 2
jne 0x43dba7
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
jmp 0x43dbf1
cmp ebx, 0x4e
jne 0x43dbf7
cmp dword [edi + 8], 0xffffff38
jne 0x43dbce
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push edi
sub esp, 8
mov ecx, esi
call fcn.0043dcb0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
mov dword [ecx], eax
jne 0x43dc8d
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x43dc66
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x43dc38
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebp, 2
jne 0x43dc29
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43dc3d
test ebp, ebp
jne 0x43dc38
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43dc3d
cmp ebp, 1
je 0x43dc83
mov eax, edi
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00439c50
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x43dc99
cmp dword [ecx + 0x14], 0xffffffff
je 0x43dc83
cmp dword [ecx + 0x18], 0xffffffff
je 0x43dc83
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [eax], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18