joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52a43d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52a43d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401550
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x144
mov dword [ebp - 0x124], 0xa
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx ebx, byte [ebp - 0x116]
lea eax, [ebp - 0x120]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub ebx, 0x41
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4015c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.00401550
mov dword [esp], 0x40169c
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x4020fe
sub eax, 0x40169c
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401665
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.00401463
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004014c4
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b800]
sar eax, cl
mov ecx, 0x40300c
shl ebx, cl
mov dword [esp + 4], eax
add ebx, ecx
mov dword [esp], ebx
call fcn.00401e01
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x43b652
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
sub edx, 0x4f58bd06
call fcn.0043b679
add edx, esi
xor dword [eax], edi
or esi, edx
dec edx
inc edx
inc eax
mov esi, edx
or esi, esi
cmp eax, ebx
jne fcn.0043b652
or esi, esi
ret
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x40472b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d35c]
jne 0x404735
repz ret
jmp fcn.00407622

Function at 0x40f48c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d35c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407cee
and dword [ebp - 0x14], 0
cmp dword [0x41f5a8], 0
mov dword [ebp - 0x18], eax
jne 0x40f53f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f5e7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40f5e7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41f5a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41f5ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41f5b0], eax
call edi
push eax
call esi
mov dword [0x41f5b8], eax
test eax, eax
je 0x40f53f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41f5b4], eax
mov eax, dword [0x41f5b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f598
cmp dword [0x41f5b8], ecx
je 0x40f598
push eax
call esi
push dword [0x41f5b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f598
test ebx, ebx
je 0x40f598
call edi
test eax, eax
je 0x40f58f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f58f
test byte [ebp - 8], 1
jne 0x40f598
or dword [ebp + 0x10], 0x200000
jmp 0x40f5cb
mov eax, dword [0x41f5ac]
cmp eax, dword [ebp - 0x18]
je 0x40f5cb
push eax
call esi
test eax, eax
je 0x40f5cb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f5cb
mov eax, dword [0x41f5b0]
cmp eax, dword [ebp - 0x18]
je 0x40f5cb
push eax
call esi
test eax, eax
je 0x40f5cb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41f5a8]
call esi
test eax, eax
je 0x40f5e7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f5e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040472b
leave
ret

Function at 0x413376
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push esi
push esi
call edi
push esi
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push esi
push esi
push esi
call edi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push esi
push esi
call edi
push esi
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
pop edi
pop esi
ret
Function at 0x4133f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x41d35c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor esi, esi
lea edi, [ecx - 0x200]
xor ebx, ebx
mov dword [ebp - 0x810], edi
cmp dword [ebp + 8], esi
jle 0x41347d
jmp 0x413427
mov edi, dword [ebp - 0x810]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004133c8
xor byte [edi + ebx], al
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
xor eax, eax
mov dword [ebp - 0x818], esi
lea edi, [ebp - 0x814]
stosd dword es:[edi], eax
lea eax, [ebp - 0x818]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
lea eax, [ebp - 0x80c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x413421
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040472b
leave
ret 4
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x50062669
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x57aa1e54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402177
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
call fcn.004195ca
pop ecx
movzx esi, ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
shr eax, 2
xor ecx, ecx
mov dword [0x43d1ec], eax
test eax, eax
je 0x4021c4
cmp si, word [ebp + ecx*8 - 0x20c]
je 0x4021d4
inc ecx
cmp ecx, eax
jl 0x4021b5
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00415746
leave
ret
xor eax, eax
jmp 0x4021c7

Function at 0x4021d8
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
push 0
push 0
push 0x1009
push 0x3f7
push dword [0x4443bc]
call ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
pop ecx
mov esi, 0x4358a0
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
movzx ebx, word [esp + esi*2 + 0x30]
mov ecx, ebx
call fcn.00402177
test eax, eax
je 0x4022ad
mov eax, dword [0x4358d8]
lea edi, [esp + 0x16]
push 6
pop ecx
push 0x3a
mov dword [esp + 0x14], eax
xor eax, eax
rep stosd dword es:[edi], eax
pop eax
push 0x5d
mov word [esp + 0x1a], ax
xor edi, edi
pop eax
push edi
push edi
push 0x1004
push 0x3f7
push dword [0x4443bc]
mov word [esp + 0x2c], ax
xor eax, eax
mov word [esp + 0x28], bx
mov word [esp + 0x2e], ax
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0x43ceec
push edi
push 0x104d
push 0x3f7
push dword [0x4443bc]
mov dword [0x43cef0], eax
lea eax, [esp + 0x24]
mov dword [0x43cf08], edi
mov dword [0x43cf00], eax
call ebp
push eax
call ebx
inc esi
cmp esi, 0x1a
jl 0x40221f
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415746
add esp, 0x5c
ret
Function at 0x403690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x3ee
push dword [0x4443bc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
mov ebx, eax
push 0x1009
push ebx
call ebp
push 0x204
lea eax, [esp + 0x270]
mov dword [esp + 0x26c], 0x30
push edi
push eax
call fcn.00416380
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x60]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x278]
push eax
push str.ENC_DISK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40387e
push esi
push edi
push edi
push 0x1004
push ebx
call ebp
mov dword [0x43cf80], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43cf68], eax
mov ax, word [esp + 0x64]
push 0x43cf64
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov word [esp + 0x58], ax
push edi
push 0x104d
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], edi
push ebx
mov dword [esp + 0x70], edi
mov dword [0x43cf78], eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x64]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.ENC_LABEL
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
push 0x4441b0
push 0x104
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.ENC_SIZE
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
push 0x4441b0
push 0x104
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.ENC_PATH
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
mov eax, dword [esp + 0x10]
inc eax
push 0xa
push 0x104
lea ecx, [esp + 0x274]
mov dword [esp + 0x18], eax
push ecx
push eax
call fcn.0041a651
add esp, 0x10
lea eax, [esp + 0x64]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.ENC_DISK
call esi
test eax, eax
jne 0x40371d
pop esi
push 0x414e85
push 1
push 0x1051
push ebx
mov dword [0x444a18], edi
mov dword [0x444a14], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415746
add esp, 0x468
ret
Function at 0x4038b1
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x41c
push dword [0x4443bc]
mov dword [0x43cfe0], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
mov ebx, eax
push 0x1009
push ebx
call ebp
push 0x204
lea eax, [esp + 0x270]
mov dword [esp + 0x26c], 0x30
push edi
push eax
call fcn.00416380
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x60]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x278]
push eax
push str.VD_DISK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x403ae9
push esi
push edi
push edi
push 0x1004
push ebx
call ebp
mov dword [0x43cf80], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43cf68], eax
mov ax, word [esp + 0x64]
push 0x43cf64
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov word [esp + 0x58], ax
push edi
push 0x104d
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], edi
push ebx
mov dword [esp + 0x70], edi
mov dword [0x43cf78], eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x64]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.VD_LABEL
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
push 0x4441b0
push 0x104
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.VD_SIZE
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
push 0x4441b0
push 0x104
lea eax, [esp + 0x6c]
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.VD_PATH
call esi
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf68]
push 0x1074
push ebx
call ebp
push 0x4441b0
push edi
lea eax, [esp + 0x274]
push eax
push str.VD_CHECK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x403aa0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 0xf000
push eax
push dword [0x43cf68]
mov dword [esp + 0x28], 0x2000
push 0x102b
push ebx
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x26c]
push 0xa
push 0x104
inc eax
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0041a651
add esp, 0x10
lea eax, [esp + 0x64]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x27c]
push eax
push str.VD_DISK
call esi
test eax, eax
jne 0x403948
pop esi
push 0x414e85
push 1
push 0x1051
push ebx
mov dword [0x43cfe0], edi
mov dword [0x444a18], edi
mov dword [0x444a14], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415746
add esp, 0x468
ret
Function at 0x403b22
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x428
push dword [0x4443bc]
mov dword [0x43cfdc], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
mov ebx, eax
push 0x1009
push ebx
call ebp
push 0x204
lea eax, [esp + 0x68]
mov dword [esp + 0x64], 0x30
push edi
push eax
call fcn.00416380
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x268]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x70]
push eax
push str.SUBST_DISK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x403d13
push esi
push edi
push edi
push 0x1004
push ebx
call ebp
mov dword [0x43cf44], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43cf2c], eax
mov ax, word [esp + 0x26c]
push 0x43cf28
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov word [esp + 0x58], ax
push edi
push 0x104d
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], edi
push ebx
mov dword [esp + 0x70], edi
mov dword [0x43cf3c], eax
call ebp
mov ecx, dword [esp + 0x26c]
call fcn.00402177
mov dword [esp + 0x1c], 1
mov ecx, 0x4355f8
mov edx, 0x435ed4
test eax, eax
je 0x403c29
mov edx, 0x435edc
call fcn.00414a7a
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf2c]
push 0x1074
push ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x26c]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x74]
push eax
push str.SUBST_PATH
call esi
lea eax, [esp + 0x26c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43cf2c]
push 0x1074
push ebx
call ebp
push 0x4441b0
push edi
lea eax, [esp + 0x6c]
push eax
push str.SUBST_CHECK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x403ccd
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 0xf000
push eax
push dword [0x43cf2c]
mov dword [esp + 0x28], 0x2000
push 0x102b
push ebx
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push 0xa
push 0x104
inc eax
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0041a651
add esp, 0x10
lea eax, [esp + 0x26c]
push 0x4441b0
push 0x104
push eax
push edi
lea eax, [esp + 0x74]
push eax
push str.SUBST_DISK
call esi
test eax, eax
jne 0x403bb3
pop esi
push 0x414e85
push 1
push 0x1051
push ebx
mov dword [0x43cfdc], edi
mov dword [0x444a18], edi
mov dword [0x444a14], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415746
add esp, 0x468
ret
Function at 0x4053de
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push 0x3f9
push dword [0x4443bc]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push ebx
push 0x2e1
push dword [0x4443bc]
call edi
push eax
call esi
push ebx
push 0x2e3
push dword [0x4443bc]
call edi
push eax
call esi
call fcn.0040f10c
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x40724b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.004021d8
call fcn.00403690
call fcn.004038b1
call fcn.00403b22
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415746
pop ecx
pop ecx
ret