joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403900
Capabilities:
Get disk information

Disassembly:
push edi
push ebx
sub esp, 0x224
mov eax, dword [esp + 0x234]
mov dword [esp], eax
call fcn.00443940
sub esp, 4
call fcn.004438e0
mov eax, dword [esp + 0x230]
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
lea edi, [esp + 0x18]
mov ecx, 0x82
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 4], eax
mov dword [esp], 0x104
call fcn.00440f50
sub esp, 8
call fcn.004439d0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
lea ebx, [esp + 0x18]
mov dword [esp], ebx
call fcn.00443de0
sub esp, 0xc
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x457a94
mov dword [esp + 4], 0x4541d0
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.00441970
sub esp, 0x10
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4574e0
mov dword [esp + 4], 0x45362c
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.00441970
sub esp, 0x10
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x45a954
mov dword [esp + 4], str.__
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.00441970
sub esp, 0x10
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x45a954
mov dword [esp + 4], str.._
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.00441970
sub esp, 0x10
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call sub.KERNEL32.dll_QueryDosDeviceW
sub esp, 0xc
call fcn.00443980
call fcn.00443980
call fcn.00443980
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00443e50
sub esp, 8
call fcn.00443ad0
mov ebx, eax
call fcn.004439d0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004411a0
sub esp, 8
call fcn.00443ad0
mov ebx, eax
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, ebx
add esp, 0x224
pop ebx
pop edi
ret 8
Function at 0x403b50
Capabilities:
Get disk information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00443940
sub esp, 4
call fcn.004438e0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x1a], 0
xor eax, eax
mov word [esp + 0x1e], ax
mov dword [esp + 0x14], 0
call fcn.00443980
call fcn.00443980
call fcn.004439d0
mov dword [esp + 4], eax
mov dword [esp], 0x104
call fcn.00440f50
sub esp, 8
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x14]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
mov dword [esp + 8], 0x45a954
mov dword [esp + 4], 3
lea esi, [esp + 0x1a]
mov dword [esp], esi
call fcn.00443e20
sub esp, 0xc
mov dword [esp + 4], 0x45a954
lea eax, [esp + 0x10]
mov dword [esp], eax
call fcn.00443ca0
sub esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call sub.KERNEL32.dll_GetLogicalDriveStringsW
sub esp, 8
lea edi, [eax + 3]
test eax, eax
cmovns edi, eax
sar edi, 2
cmp eax, 3
jle 0x403d18
xor ebx, ebx
nop
call fcn.00443980
call fcn.00443980
mov eax, dword [esp + 0x14]
lea ebp, [eax + ebx*8]
call fcn.004439d0
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00443440
sub esp, 8
call fcn.004439d0
mov dword [esp + 8], eax
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.00443de0
sub esp, 0xc
call fcn.00443980
call fcn.00443980
call fcn.00443980
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.00443e50
sub esp, 8
call fcn.00443ad0
mov ebp, eax
call fcn.004439d0
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00403900
sub esp, 8
mov ebp, dword [esp + 0x40]
call fcn.00443a80
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00443da0
test eax, eax
jne 0x403ce8
add ebx, 1
cmp ebx, edi
jl 0x403c40
jmp 0x403d18
call fcn.00443980
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.00443e50
sub esp, 8
call fcn.004439d0
mov dword [esp + 4], eax
lea eax, [esp + 0x10]
mov dword [esp], eax
call fcn.00443b80
sub esp, 8
call fcn.00443980
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00443c10
sub esp, 4
call fcn.00443ad0
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x40bc50
Capabilities:
Get disk information

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov edi, dword [esp + 0x4c]
call fcn.004438e0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDriveTypeW
sub esp, 4
cmp eax, 2
setne al
movzx eax, al
mov esi, eax
add esi, 0xb
mov dword [esp + 4], str.FMIFS.DLL
mov dword [esp], 0xffffffff
call fcn.0042fa1f
sub esp, 8
mov ebx, eax
mov dword [esp + 0x20], 0x412540
mov dword [esp + 0x1c], 0
mov eax, edi
movsx edi, al
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], str.FormatEx
mov dword [esp], ebx
call fcn.0042fb5f
sub esp, 0x24
mov dword [esp], ebx
call fcn.0042fbaa
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
xor eax, eax
add esp, 0x30
pop ebx
pop esi
pop edi
ret 0x14
Function at 0x411c10
Capabilities:
Manipulate boot configuration

Disassembly:
sub esp, 0x2c
call fcn.004438e0
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 4], str.bcdedit.exe
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00443ca0
sub esp, 8
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [0x45a89c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00411660
sub esp, 0x10
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
xor eax, eax
add esp, 0x2c
ret 4
Function at 0x416b20
Capabilities:
Set registry value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], str.SoftwareWimInfoREG
call fcn.004438e0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00443d50
sub esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], SysReAllocString
call sub.ADVAPI32.dll_RegCreateKeyW
sub esp, 0xc
xor esi, esi
test eax, eax
jne 0x416bdc
mov ebx, eax
mov eax, edi
movsx eax, al
mov ecx, edi
cmp cl, 1
je 0x416c18
cmp eax, 7
je 0x416c70
mov esi, 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00443c70
sub esp, 4
mov eax, esi
add esp, 0x30
pop ebx
pop esi
pop edi
ret 0x14
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004411c0
sub esp, 4
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov esi, 2
test eax, eax
je 0x416bcd
jmp 0x416bc8
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00443760
sub esp, 4
lea eax, [eax + eax + 4]
mov dword [esp], eax
call fcn.004434e0
sub esp, 4
mov edi, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00443790
sub esp, 8
mov esi, 1
jmp 0x416cea
add ebx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4580d4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00441c00
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0
lea eax, [edi + eax*2 - 2]
mov dword [esp], eax
call fcn.004436d0
sub esp, 8
add esi, 1
mov dword [esp + 4], 0x4580d4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00441510
sub esp, 8
cmp eax, esi
jge 0x416cb0
mov dword [esp], edi
call fcn.004437d0
sub esp, 4
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
cmp eax, 1
mov esi, 1
adc esi, 0
mov dword [esp], edi
call fcn.00443500
sub esp, 4
jmp 0x416bcd
Function at 0x42c098
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x50]
push dword [0x45c2e4]
call fcn.00442bc1
mov esi, eax
test esi, esi
je 0x42c14f
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push dword [esp + 0x58]
push 0x419
push dword [esi]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42c14f
lea eax, [esp + 0x10]
push eax
push ebx
push 0x41d
push dword [esi]
call edi
mov dword [esp + 0x20], 0x2c
mov dword [esp + 0x24], 0x10
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x433
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebp
push dword [esi + 4]
call edi
lea eax, [esp + 0x20]
push eax
push ebp
push 0x432
push dword [esi + 4]
call edi
xor eax, eax
inc eax
jmp 0x42c151
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc

Function at 0x42c218
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x42c2b0
push edi
push 0x45c2f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x45a998]
test edi, edi
je 0x42c284
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42c27d
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x45a998
call fcn.00443394
pop ecx
pop ecx
jmp 0x42c27f
mov edi, dword [edi]
test edi, edi
jne 0x42c254
pop ebx
mov eax, dword [0x458144]
mov esi, eax
inc eax
push 0x10
push 0x45a998
mov dword [0x458144], eax
call fcn.004433d4
pop ecx
pop ecx
push 0x45c2f0
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x42d0be
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x42d113
push dword [esp + 0x10]
push 0x42d03d
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x45abb8]
test esi, esi
je 0x42d16c
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x42d10b
cmp byte [esi + 0x10], 0
je 0x42d10b
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x42d0e7
jmp 0x42d16c
mov esi, dword [0x45abb8]
test esi, esi
je 0x42d16c
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x42d165
cmp byte [esi + 0x11], 0
je 0x42d141
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x42d158
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x45abb8
call fcn.00443394
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x42d120
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x42d936
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x45c334]
call fcn.00442a50
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x42da36
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x42d98c
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x42d984
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x42d9cc
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x42da0e
push 0x22
pop edx
cmp cx, dx
je 0x42d9be
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x42d9ae
xor ecx, ecx
cmp word [eax], cx
je 0x42da0e
mov ecx, eax
add eax, 2
jmp 0x42da10
test dx, dx
je 0x42da16
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x42d9be
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x42da04
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x42da0e
cmp cx, dx
je 0x42da01
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x42d9f1
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x42d9d6
jmp 0x42d9be
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x42da18
xor edx, edx
cmp dword [ebp], ebx
jne 0x42da21
test edi, edi
jne 0x42da3e
test edx, edx
je 0x42da26
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x42d97a
test edi, edi
jne 0x42da4f
mov eax, ebx
jmp 0x42da53
test esi, esi
je 0x42da4f
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x42da53
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x42dabc
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x42db7b
cmp dword [esp + 0x24], 2
je 0x42db7b
push 0x2000
push ebp
push dword [0x45a934]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x42db4a
cmp dword [esp + 0x18], 2
jne 0x42db66
cmp dword [esp + 0x28], 0xffffffff
je 0x42db0e
cmp ebp, dword [esp + 0x28]
jae 0x42db66
add ebp, 2
test ebx, ebx
jne 0x42db33
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x45a934]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x42db66
cmp ax, 0xd
je 0x42db4a
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42dafa
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00444af0
jmp 0x42dc0d
push eax
push 0
push dword [0x45a934]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x42db99
cmp ebp, dword [esp + 0x28]
jae 0x42dbf1
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42dbf1
cmp dword [esp + 0x18], 1
jne 0x42dbf1
inc ebp
test ebx, ebx
jne 0x42dbde
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x45a934]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x42dbf1
cmp al, 0xd
je 0x42db8c
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x42db8c
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x42dc08
call fcn.00444b40
jmp 0x42dc0d
call fcn.00444bb0
push esi
push 0
push dword [0x45a934]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x42ffa3
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x45c354]
call fcn.00442bc1
mov ebx, eax
test ebx, ebx
je 0x430007
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42ffcc
push dword [esp + 0xc]
push ebx
call eax
jmp 0x430007
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00443fc0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.004440a0
pop edi
pop esi
pop ebx
ret 8
Function at 0x437b9a
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret 4
Function at 0x437e9c
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x45bc78], 0
jne 0x437f6d
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x45c360
mov dword [0x45bc78], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x45a934]
mov dword [0x45c13c], eax
mov dword [0x45bc7c], 0x1f4
call esi
mov dword [0x45c14c], eax
mov eax, dword [0x45bc7c]
add eax, eax
push eax
push 8
push dword [0x45a934]
call esi
xor ebx, ebx
mov dword [0x45c148], eax
push 0x45c158
mov dword [0x45c140], ebx
mov dword [0x45c144], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x45c170], eax
call esi
mov dword [0x45c174], eax
cmp dword [0x45c170], ebx
je 0x437f64
test eax, eax
je 0x437f64
lea eax, [esp + 0xc]
mov dword [0x45c150], ebx
push eax
push ebx
push ebx
push 0x43799f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x45c154], eax
jmp 0x437f6a
mov dword [0x45c150], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x438f9f
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x439115
mov eax, dword [esp + 0x24]
dec eax
je 0x4390f8
dec eax
jne 0x439115
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00438f58
pop ecx
test eax, eax
je 0x439056
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x439019
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x4390f4
dec ebx
je 0x4390f0
dec ebx
je 0x4390cf
dec ebx
je 0x439089
sub ebx, 4
jne 0x439115
test edi, edi
jne 0x439115
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x439115
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x439019
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x439014
sub edi, 0
je 0x4390c1
dec edi
je 0x4390b3
dec edi
je 0x4390a5
dec edi
jne 0x439115
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x439115
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x439115
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x439115
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x439115
sub edi, 0
je 0x4390ec
dec edi
je 0x4390e8
dec edi
jne 0x439115
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x439115
push 0x3c
jmp 0x439114
push 0x32
jmp 0x439114
push 0x14
jmp 0x439114
push 5
jmp 0x439114
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x439112
cmp eax, 0xa
je 0x43910e
cmp eax, 0x5a
jne 0x439115
push 0x28
jmp 0x439114
push 0x1e
jmp 0x439114
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x439a33
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor esi, esi
push dword [0x45c39c]
call fcn.00442bc1
mov edi, eax
test edi, edi
je 0x439a56
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
push dword [esp + 0x10]
push esi
call fcn.00443fc0
test esi, esi
je 0x439a73
lea ecx, [esi + 1]
push ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x439a78
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
ret 8

Function at 0x439aac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x45c39c]
call fcn.00442bc1
mov esi, eax
test esi, esi
je 0x439b86
cmp dword [ebp + 0xc], 0
je 0x439af8
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x439ae9
cmp dword [esi + 0x1c], 0
jne 0x439ae9
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x439b86
test byte [ebp + 0x10], 3
je 0x439b13
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0043a8ae
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x439b38
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x439b4c
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x439b69
test ebx, ebx
je 0x439b5d
push 8
jmp 0x439b6f
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x439b7c
test ebx, ebx
je 0x439b72
push 3
pop ecx
jmp 0x439b7c
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc