joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 7
jbe 0x407582
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4075cc
cmp dword [esi + 0x14], 7
jbe 0x4075a5
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x4075ea
cmp dword [edi + 0x14], 7
jbe 0x4075d4
mov edi, dword [edi]
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebx]
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4075f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00423495
mov esp, ebp
pop ebp
ret
Function at 0x409230
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57aead
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push ebx
push 0x409350
push 0
push 0
call fcn.0055b0bd
lea esi, [ebx + 4]
add esp, 0x18
mov dword [ebp - 0x18], esi
mov edi, eax
mov dword [ebp - 0x28], edi
test esi, esi
je 0x409292
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00409680
mov dword [eax], edi
lea edi, [ebx + 0x24]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4092be
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00409680
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebx + 0x44]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4092ea
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x5c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00409680
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebx + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x409315
push eax
call ebx
test edi, edi
je 0x40931c
push edi
call ebx
test esi, esi
je 0x409323
push esi
call ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
ret 8
Function at 0x409450
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
lea eax, [ebx + 4]
test eax, eax
je 0x40946a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push edi
push ecx
lea ecx, [ebx + 0x1c]
call fcn.0040a250
mov esi, dword [ebp - 8]
cmp byte [esi + 0xd], 0
jne 0x4094fe
mov eax, dword [edi]
cmp eax, dword [esi + 0x10]
jb 0x4094fe
cmp esi, dword [ebx + 0x1c]
je 0x4094fe
cmp byte [ebp + 0xc], 0
je 0x4094a2
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 8]
mov ecx, esi
cmp byte [edx + 0xd], 0
je 0x4094d2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4094ea
nop
cmp esi, dword [eax + 8]
jne 0x4094ea
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4094c0
jmp 0x4094ea
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
jne 0x4094ea
nop word [eax + eax]
mov eax, dword [edx]
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x4094e0
push ecx
lea ecx, [ebx + 0x1c]
call fcn.00409df0
push 0x18
push eax
call fcn.004234d3
add esp, 8
lea edi, [ebx + 0x24]
test edi, edi
je 0x40950c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0040a250
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xd], 0
jne 0x409547
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x10]
jb 0x409547
cmp ecx, dword [ebx + 0x3c]
je 0x409547
push ecx
lea ecx, [ebx + 0x3c]
call fcn.004099d0
push 0x18
push eax
call fcn.004234d3
add esp, 8
lea esi, [ebx + 0x44]
test esi, esi
je 0x409555
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x5c]
call fcn.0040a250
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xd], 0
jne 0x409590
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x10]
jb 0x409590
cmp ecx, dword [ebx + 0x5c]
je 0x409590
push ecx
lea ecx, [ebx + 0x5c]
call fcn.004099d0
push 0x18
push eax
call fcn.004234d3
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x40959d
push esi
call ebx
test edi, edi
je 0x4095a4
push edi
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
add eax, 4
je 0x4095b1
push eax
call ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4095c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
lea eax, [ebx + 4]
test eax, eax
je 0x4095e6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x1c]
add ebx, 0x1c
mov edi, dword [esi]
mov dword [ebp - 8], edi
cmp edi, esi
je 0x40961a
push 0
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.00402e40
mov esi, dword [ebx]
mov edi, dword [ebp - 8]
cmp edi, esi
jne 0x4095f5
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x409643
push dword [edi + 8]
mov ecx, ebx
push ebx
call fcn.00409780
mov eax, edi
mov edi, dword [edi]
push 0x18
push eax
call fcn.004234d3
add esp, 8
cmp byte [edi + 0xd], 0
je 0x409623
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
add eax, 4
je 0x409664
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
ret
Function at 0x40a3e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x504c
call fcn.005793b0
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x504c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5048], eax
cmp byte [edi + 0x20], 0
je 0x40a589
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 4]
mov ecx, edi
push esi
call fcn.0040a360
mov ecx, dword [edi + 0x1c]
shl ecx, 0xa
cmp eax, ecx
jbe 0x40a449
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40a442
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 7
lea ebx, [esi + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x5020], 0
movups xmmword [ebp - 0x5040], xmm0
movups xmmword [ebp - 0x5030], xmm0
jbe 0x40a46f
mov esi, dword [esi]
lea eax, [ebp - 0x5040]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [ebx], 7
lea ecx, [edi + 4]
mov esi, eax
mov dword [ebp - 0x5044], 0
jbe 0x40a495
mov ecx, dword [ecx]
push 0x5d0e10
push ecx
lea eax, [ebp - 0x5044]
push eax
call fcn.0054c5b2
mov eax, dword [ebp - 0x5044]
add esp, 0xc
test eax, eax
je 0x40a57f
test esi, esi
jne 0x40a4d9
push eax
push 2
lea eax, [ebp - 0x500c]
mov word [ebp - 0x500c], 0xfeff
push 1
push eax
call fcn.0054cdfd
add esp, 0x10
push 0x5000
lea eax, [ebp - 0x5008]
push 0
push eax
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp + 0x18]
mov edx, 0x2800
push eax
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x5008]
push 0xffffffffffffffff
call fcn.00406fa0
add esp, 0x10
lea eax, [ebp - 0x501c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5008]
push eax
mov eax, dword [ebp - 0x5048]
push dword [eax]
movzx eax, word [ebp - 0x5010]
push dword [ebp - 0x504c]
push eax
movzx eax, word [ebp - 0x5012]
push eax
movzx eax, word [ebp - 0x5014]
push eax
movzx eax, word [ebp - 0x5016]
push eax
movzx eax, word [ebp - 0x501a]
push eax
movzx eax, word [ebp - 0x501c]
push eax
push 0x5d1268
push dword [ebp - 0x5044]
call fcn.0040a2a0
add esp, 0x2c
push dword [ebp - 0x5044]
call fcn.0054c81c
add esp, 4
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423495
mov esp, ebp
pop ebp
ret
Function at 0x40a5a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x5e02a0], 0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x48], eax
je 0x40a71b
push 0x5e02a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5e0284
mov ecx, 0x5e0280
call fcn.0040a360
mov ecx, dword [0x5e029c]
shl ecx, 0xa
cmp eax, ecx
jbe 0x40a60d
cmp dword [0x5e0298], 7
mov eax, 0x5e0284
cmova eax, dword [0x5e0284]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5e0298], 7
lea ecx, [ebp - 0x40]
push ecx
mov eax, 0x5e0284
mov dword [ebp - 0x20], 0
cmova eax, dword [0x5e0284]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [0x5e0298], 7
mov ecx, 0x5e0284
push 0x5d0e10
cmova ecx, dword [0x5e0284]
mov edi, eax
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
call fcn.0054c5b2
mov eax, dword [ebp - 0x44]
add esp, 0xc
test eax, eax
je 0x40a710
test edi, edi
jne 0x40a693
push eax
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], 0xfeff
push 1
push eax
call fcn.0054cdfd
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x48]
push dword [eax]
movzx eax, word [ebp - 0x10]
push ebx
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d___s__d_
push dword [ebp - 0x44]
call fcn.0040a2a0
mov ecx, esi
add esp, 0x28
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a6d6
push dword [ebp - 0x44]
sub ecx, edx
sar ecx, 1
push 1
lea eax, [ecx + ecx]
push eax
push esi
call fcn.0054cdfd
push dword [ebp - 0x44]
push 1
push 4
push 0x5d1310
call fcn.0054cdfd
push dword [ebp - 0x44]
call fcn.0054c81c
add esp, 0x24
push 0x5e02a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423495
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aa70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c2ad
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5df040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0xb0
mov dword [edi + 4], 0
call fcn.004234a3
mov edx, dword [ebp + 0x10]
mov esi, eax
mov dword [edi + 4], esi
xorps xmm0, xmm0
add esp, 4
mov ecx, dword [edx]
mov dword [esi + 0x10], ecx
mov eax, dword [edx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x18], eax
xor eax, eax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
movups xmm0, xmmword [edx + 0xc]
movups xmmword [esi + 0x1c], xmm0
movq xmm0, qword [edx + 0x1c]
movq qword [esi + 0x2c], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0xf
mov byte [edx + 0xc], 0
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
movups xmm0, xmmword [edx + 0x24]
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [edx + 0x34]
movq qword [esi + 0x44], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0xf
mov byte [edx + 0x24], 0
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
movups xmm0, xmmword [edx + 0x3c]
movups xmmword [esi + 0x4c], xmm0
movq xmm0, qword [edx + 0x4c]
movq qword [esi + 0x5c], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0xf
mov byte [edx + 0x3c], 0
movups xmmword [esi + 0x64], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
movups xmm0, xmmword [edx + 0x54]
movups xmmword [esi + 0x64], xmm0
movq xmm0, qword [edx + 0x64]
movq qword [esi + 0x74], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x64], 0
mov dword [edx + 0x68], 0xf
mov byte [edx + 0x54], 0
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
movups xmm0, xmmword [edx + 0x6c]
movups xmmword [esi + 0x7c], xmm0
movq xmm0, qword [edx + 0x7c]
movq qword [esi + 0x8c], xmm0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x80], 7
mov word [edx + 0x6c], ax
mov eax, dword [edx + 0x84]
mov dword [esi + 0x94], eax
mov eax, dword [edx + 0x88]
mov dword [esi + 0x98], eax
mov eax, dword [edx + 0x8c]
mov dword [esi + 0x9c], eax
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xa0], eax
mov eax, dword [edx + 0x94]
mov dword [esi + 0xa4], eax
mov eax, dword [edx + 0x98]
mov dword [esi + 0xa8], eax
mov al, byte [edx + 0x9c]
mov byte [esi + 0xac], al
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [eax + 4], ecx
mov eax, dword [edi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi + 4]
mov byte [eax + 0xd], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424053
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424092
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424092
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424092
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x424092
cmp dword [ecx + 0x74], 0xe
jbe 0x424092
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4274c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4274e1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4274f9
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x427511
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x427527
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42753f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431536
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x431536
cmp dword [ebp - 0x20], 0x10
jne 0x431502
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jne 0x431502
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x24]
push eax
call fcn.0042f020
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x431529
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0x12
jne 0x431531
jmp 0x431536
jmp 0x4314ad
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
jne 0x43155c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x431570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
movzx edx, byte [ebp + 8]
test edx, edx
je 0x4315b3
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4315a4
mov dword [ebp - 0xc], 1
jmp 0x4315ab
mov dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
jmp 0x4315ba
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431677
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x431677
cmp dword [ebp - 0x28], 0x10
jne 0x431643
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 4]
jne 0x431643
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x10], ecx
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0042f020
add esp, 4
movzx edx, al
test edx, edx
jne 0x43166a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x431672
jmp 0x431677
jmp 0x4315ee
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x28], 0x12
jne 0x43169d
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x452240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45225c
mov dword [ebp - 4], 1
jmp 0x452263
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x453120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x45313a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
je 0x453144
mov eax, 0x1000000
jmp 0x453239
mov edx, dword [ebp - 8]
add edx, 0x244
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 8]
add eax, 0x244
push eax
call fcn.0055ff20
add esp, 4
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2 + 0x242]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4531b1
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4531b1
mov ecx, 2
shl ecx, 0
mov edx, 0x2f
mov eax, dword [ebp - 0xc]
mov word [eax + ecx], dx
mov ecx, 2
shl ecx, 1
xor edx, edx
mov eax, dword [ebp - 0xc]
mov word [eax + ecx], dx
cmp dword [ebp + 0x10], 1
jne 0x4531f1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00453100
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4531d5
mov dword [ebp - 0x10], 1
jmp 0x4531dc
mov dword [ebp - 0x10], 0
mov dl, byte [ebp - 0x10]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x4531f1
mov eax, 0x2000000
jmp 0x453239
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00458390
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x453217
mov eax, dword [ebp - 0x1c]
jmp 0x453239
mov edx, dword [ebp - 0x14]
push edx
call fcn.00459070
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x453237
mov eax, 0x200
jmp 0x453239
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc