joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bfd0
Capabilities:
Hash data using murmur3

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], 0x43c758
push eax
push 0x1c
push 0
push 0
mov dword [eax], 0
call fcn.004215d2
mov eax, esi
pop esi
ret
mov ecx, 0x44a3c8
jmp 0x41bfc0

Function at 0x41c030
Capabilities:
Hash data using murmur3

Disassembly:
sub esp, 0x34
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
test eax, eax
je 0x41c0e7
mov ecx, dword [0x44a3d4]
push esi
or esi, 0xffffffff
mov dword [esp + 8], 0x34
mov edx, dword [ecx + 0x49c]
push esi
mov dword [esp + 0x14], eax
push esi
push esi
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], esi
add eax, 0xfffffbdc
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
cmp eax, 0x31
mov dword [esp + 0x38], 0x443f68
pop esi
ja case.0x41c080.1068
xor ecx, ecx
mov cl, byte [eax + 0x41c114]
jmp dword [ecx*4 + 0x41c0f0]
mov dword [esp + 0xc], 0x40b
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x40a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x429
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x42d
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x3e8
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x41a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x421
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x46c
mov eax, dword [edi + 0xc]
lea edx, [esp + 4]
push edx
push 0xe
push 0
push eax
call fcn.004215d2
pop edi
add esp, 0x34
ret 4

Function at 0x41c040
Capabilities:
Hash data using murmur3

Disassembly:
sub esp, 0x34
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
test eax, eax
je 0x41c0e7
mov ecx, dword [0x44a3d4]
push esi
or esi, 0xffffffff
mov dword [esp + 8], 0x34
mov edx, dword [ecx + 0x49c]
push esi
mov dword [esp + 0x14], eax
push esi
push esi
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], esi
add eax, 0xfffffbdc
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
cmp eax, 0x31
mov dword [esp + 0x38], 0x443f68
pop esi
ja case.0x41c080.1068
xor ecx, ecx
mov cl, byte [eax + 0x41c114]
jmp dword [ecx*4 + 0x41c0f0]
mov dword [esp + 0xc], 0x40b
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x40a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x429
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x42d
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x3e8
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x41a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x421
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x46c
mov eax, dword [edi + 0xc]
lea edx, [esp + 4]
push edx
push 0xe
push 0
push eax
call fcn.004215d2
pop edi
add esp, 0x34
ret 4
Function at 0x41c0e0
Capabilities:
Hash data using murmur3

Disassembly:
sub esp, 0x34
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
test eax, eax
je 0x41c0e7
mov ecx, dword [0x44a3d4]
push esi
or esi, 0xffffffff
mov dword [esp + 8], 0x34
mov edx, dword [ecx + 0x49c]
push esi
mov dword [esp + 0x14], eax
push esi
push esi
lea eax, [esp + 0x34]
push esi
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], esi
add eax, 0xfffffbdc
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
cmp eax, 0x31
mov dword [esp + 0x38], 0x443f68
pop esi
ja case.0x41c080.1068
xor ecx, ecx
mov cl, byte [eax + 0x41c114]
jmp dword [ecx*4 + 0x41c0f0]
mov dword [esp + 0xc], 0x40b
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x40a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x429
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x42d
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x3e8
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x41a
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x421
jmp case.0x41c080.1068
mov dword [esp + 0xc], 0x46c
mov eax, dword [edi + 0xc]
lea edx, [esp + 4]
push edx
push 0xe
push 0
push eax
call fcn.004215d2
pop edi
add esp, 0x34
ret 4
Function at 0x420b70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43b419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x43c760
mov dword [esp + 0x10], 1
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push str.VNC_viewer_closing_down_n
push 2
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
lea ecx, [esi + 0x6a0]
mov byte [esp + 0x10], 0
call fcn.004216e0
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0041c5f0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x421be0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43b598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.004216f0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], 0
test eax, eax
je 0x421ba0
mov al, byte [esp + 0xb]
lea ecx, [esp + 0xb]
push 0x43eb28
push ecx
mov byte [esp + 0x13], al
call fcn.004305d1
lea edx, [esp + 0xc]
push edx
push 4
push esi
push 0x421900
push 0
push 0
call fcn.0043184a
mov ecx, dword [esp + 0x24]
add esp, 0x18
test eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
jne 0x421be0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x43ea78
push edx
mov dword [esp + 0x18], eax
call fcn.004305d1
mov ecx, dword [esi + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x421c08
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x43ea78
push edx
mov dword [esp + 0x18], eax
call fcn.004305d1
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x421c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
push 0x43ea78
push ecx
mov dword [esp + 0x18], eax
call fcn.004305d1
mov ecx, edi
mov dword [esi + 0x1c], 1
call fcn.00421700
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x432580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d120
push 0x43515c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4325fa
cmp byte [eax + 8], 0
je 0x4325fa
mov eax, dword [ecx + 8]
test eax, eax
je 0x4325fa
mov edx, dword [ebp + 0xc]
lea edi, [eax + edx + 0xc]
and dword [ebp - 4], 0
test byte [ecx], 8
je 0x4324ee
mov esi, dword [ebp + 8]
push 1
push dword [esi + 0x18]
call fcn.00436b44
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push 1
push edi
call fcn.00436b60
pop ecx
pop ecx
test eax, eax
je 0x4325f1
mov eax, dword [esi + 0x18]
mov dword [edi], eax
mov ecx, dword [ebp + 0x14]
add ecx, 8
push ecx
push eax
call fcn.0043267c
pop ecx
pop ecx
mov dword [edi], eax
jmp 0x4325f6
mov esi, dword [ebp + 0x14]
test byte [esi], 1
je 0x432548
mov ebx, dword [ebp + 8]
push 1
push dword [ebx + 0x18]
call fcn.00436b44
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push 1
push edi
call fcn.00436b60
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push dword [esi + 0x14]
push dword [ebx + 0x18]
push edi
call fcn.00436ba0
add esp, 0xc
cmp dword [esi + 0x14], 4
jne 0x4325f6
mov eax, dword [edi]
test eax, eax
je 0x4325f6
add esi, 8
push esi
jmp 0x4324df
cmp dword [esi + 0x18], 0
mov ebx, dword [ebp + 8]
push 1
push dword [ebx + 0x18]
jne 0x432590
call fcn.00436b44
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push 1
push edi
call fcn.00436b60
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push dword [esi + 0x14]
add esi, 8
push esi
push dword [ebx + 0x18]
call fcn.0043267c
pop ecx
pop ecx
push eax
push edi
call fcn.00436ba0
add esp, 0xc
jmp 0x4325f6
call fcn.00436b44
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push 1
push edi
call fcn.00436b60
pop ecx
pop ecx
test eax, eax
je 0x4325f1
push dword [esi + 0x18]
call fcn.00436b7c
pop ecx
test eax, eax
je 0x4325f1
test byte [esi], 4
je 0x4325d7
push 1
lea eax, [esi + 8]
push eax
push dword [ebx + 0x18]
call fcn.0043267c
pop ecx
pop ecx
push eax
push dword [esi + 0x18]
push edi
call fcn.00430654
jmp 0x4325f6
lea eax, [esi + 8]
push eax
push dword [ebx + 0x18]
call fcn.0043267c
pop ecx
pop ecx
push eax
push dword [esi + 0x18]
push edi
call fcn.0043064d
jmp 0x4325f6
call fcn.004328bb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43285a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d140
push 0x43515c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00432753
cmp dword [eax + 0x60], esi
je 0x4328ad
mov dword [ebp - 4], 1
call fcn.00432753
call dword [eax + 0x60]
mov dword [ebp - 4], esi
jmp 0x4328ad
or dword [ebp - 4], 0xffffffff
call 0x4328b6
jmp 0x436ed5
push 0xa
call fcn.0043666f
push 0x16
call fcn.0043928b
pop ecx
pop ecx
push 3
call fcn.004313c9
Function at 0x43766f
Capabilities:
Write file on windows

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00437680
add esp, 0x10
ret
Function at 0x402177
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
call fcn.004194fa
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 [0x43d1ac], 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.00415673
leave
ret
xor eax, eax
jmp 0x4021c7

Function at 0x4021d8
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x5c
mov eax, dword [0x43b004]
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 [0x44437c]
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 [0x44437c]
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 0x43ceac
push edi
push 0x104d
push 0x3f7
push dword [0x44437c]
mov dword [0x43ceb0], eax
lea eax, [esp + 0x24]
mov dword [0x43cec8], edi
mov dword [0x43cec0], 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.00415673
add esp, 0x5c
ret
Function at 0x403690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x3ee
push dword [0x44437c]
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.004162b0
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x60]
push 0x444170
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 [0x43cf40], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43cf28], eax
mov ax, word [esp + 0x64]
push 0x43cf24
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 [0x43cf38], eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x64]
push 0x444170
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 [0x43cf28]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43cf28]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43cf28]
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.0041a581
add esp, 0x10
lea eax, [esp + 0x64]
push 0x444170
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 0x414e42
push 1
push 0x1051
push ebx
mov dword [0x4449d8], edi
mov dword [0x4449d4], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415673
add esp, 0x468
ret
Function at 0x4038b1
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x41c
push dword [0x44437c]
mov dword [0x43cfa0], 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.004162b0
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x60]
push 0x444170
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 [0x43cf40], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43cf28], eax
mov ax, word [esp + 0x64]
push 0x43cf24
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 [0x43cf38], eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x64]
push 0x444170
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 [0x43cf28]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43cf28]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43cf28]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43cf28]
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.0041a581
add esp, 0x10
lea eax, [esp + 0x64]
push 0x444170
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 0x414e42
push 1
push 0x1051
push ebx
mov dword [0x43cfa0], edi
mov dword [0x4449d8], edi
mov dword [0x4449d4], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415673
add esp, 0x468
ret
Function at 0x403b22
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push edi
push 0x428
push dword [0x44437c]
mov dword [0x43cf9c], 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.004162b0
add esp, 0xc
mov dword [esp + 0xc], edi
lea eax, [esp + 0x268]
push 0x444170
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 [0x43cf04], edi
mov esi, str.__C:_
lea edi, [esp + 0x50]
mov dword [0x43ceec], eax
mov ax, word [esp + 0x26c]
push 0x43cee8
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 [0x43cefc], 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.00414a37
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43ceec]
push 0x1074
push ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x26c]
push 0x444170
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 [0x43ceec]
push 0x1074
push ebx
call ebp
push 0x444170
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 [0x43ceec]
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.0041a581
add esp, 0x10
lea eax, [esp + 0x26c]
push 0x444170
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 0x414e42
push 1
push 0x1051
push ebx
mov dword [0x43cf9c], edi
mov dword [0x4449d8], edi
mov dword [0x4449d4], ebx
call ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415673
add esp, 0x468
ret
Function at 0x4053de
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
mov eax, dword [0x43b004]
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 [0x44437c]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push ebx
push 0x2e1
push dword [0x44437c]
call edi
push eax
call esi
push ebx
push 0x2e3
push dword [0x44437c]
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.00415673
pop ecx
pop ecx
ret
Function at 0x407e4b
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xa48
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0xa44], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x258]
push 0x7fc
push ebp
push eax
mov dword [esp + 0x260], ebp
call fcn.004162b0
add esp, 0xc
push 0x3ee
push dword [0x44437c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x407ef9
mov edx, 0x435660
mov ecx, 0x4357bc
call fcn.00414a37
push eax
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x254]
mov edx, 0x43633c
push 0x30
push eax
mov ecx, 0x4355f8
call fcn.00414a37
push eax
push dword [0x44437c]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x40800d
xor eax, eax
push 0x206
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebp
push eax
call fcn.004162b0
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x4c]
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push ebx
push 0x1073
push esi
call edi
mov ecx, dword [esp + 0x50]
call fcn.00402177
test eax, eax
lea eax, [esp + 0x4c]
jne 0x407f8a
push eax
mov esi, 0x4355f8
mov edx, 0x436344
push eax
mov ecx, esi
call fcn.00414a37
push eax
lea eax, [esp + 0x260]
push 0x3fc
push eax
call fcn.0040b4a0
add esp, 0x14
mov edx, 0x435a68
mov ecx, esi
push 0x30
call fcn.00414a37
push eax
lea eax, [esp + 0x25c]
jmp 0x407ee5
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push ebx
push 0x1073
push esi
mov dword [esp + 0x28], 3
mov dword [esp + 0x38], 0x104
call edi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407fd9
mov edx, 0x43634c
lea eax, [esp + 0x4c]
mov esi, 0x4355f8
push eax
mov ecx, esi
call fcn.00414a37
push eax
push str._s_n_n_s
jmp 0x407f5a
lea ecx, [esp + 0x4c]
call fcn.00406017
test eax, eax
jne 0x407fed
mov edx, 0x435a60
jmp 0x407fc0
push ebp
push 0x403d4c
push dword [0x44437c]
push str.MOUNT_ENC_DISK
push dword [0x444380]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xa54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415673
add esp, 0xa48
ret