joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d102
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44d10b
mov eax, dword [ebp - 4]
add esp, 0xfffff318
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc30], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, 0x4b0c94
call fcn.004a0204
lea edx, [ebp - 0x1034]
mov eax, str.Rar_DIXXXXXX
call fcn.004667e4
test al, al
jne 0x44d160
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x44d2fe
lea edx, [ebp - 0x1c34]
lea eax, [ebp - 0x1434]
mov ecx, 0x400
call fcn.00466f28
lea eax, [ebp - 0x1034]
xor edx, edx
call fcn.00466ee0
call fcn.0044b01c
mov ecx, 0x4c7c88
mov edx, 0x4c7888
mov eax, 0x4d0b94
call fcn.00458d64
mov ecx, dword [0x4d0d9c]
mov dword [0x4c6438], ecx
call fcn.0044bbdc
mov dword [0x4c6024], 4
mov dword [0x4c5a50], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4c8488]
call fcn.004107c0
mov eax, 0x4d0b94
xor ecx, ecx
xor edx, edx
call fcn.00454664
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.00413a88
inc dword [ebp - 0xc10]
mov edx, 0x4b0d05
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00413b24
lea eax, [ebp - 0x20d8]
call fcn.00414bf8
lea eax, [ebp - 0x20ac]
call fcn.00414bf8
lea eax, [ebp - 0x2080]
call fcn.00414bf8
jmp 0x44d28e
cmp byte [ebp - 0x20dc], 0
jne 0x44d28e
call fcn.0041113c
test eax, eax
je 0x44d274
cmp word [ebp - 0x28ec], 0
je 0x44d274
test esi, esi
je 0x44d274
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x28ec]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x44d27d
test esi, esi
je 0x44d27d
mov word [esi], 0
lea eax, [ebp - 0x2cec]
mov edx, edi
call fcn.0040adf8
mov bl, 1
jmp 0x44d2a5
lea edx, [ebp - 0x2cec]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00413b90
test al, al
jne 0x44d239
lea edx, [ebp - 0x1c34]
lea eax, [ebp - 0x1434]
call fcn.00466ee0
test bl, bl
jne 0x44d2c6
lea ecx, [ebp - 0x1034]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4d03e4], 0
mov eax, 0x4d03b8
call fcn.00480444
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00413af4
pop eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44f144
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x44f1ac
push ebx
push 0x400
mov edx, 0x4b0e75
mov eax, 0x4b0e6a
mov ecx, edi
call fcn.00463c14
cmp byte [edi], 0
jne 0x44f184
push ebx
push edi
call fcn.0049fdd4
add esp, 8
jmp 0x44f1af
push 0x400
lea eax, [ebp - 0x400]
push eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp - 1], 0
lea edx, [ebp - 0x400]
push edx
push edi
call fcn.0049fdd4
add esp, 8
jmp 0x44f1af
mov byte [edi], 0
cmp byte [edi], 0
setne bl
and ebx, 1
cmp byte [edi], 0
jne 0x44f1c8
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040ca00
cmp byte [ebp + 0x10], 0
jne 0x44f1dd
test bl, bl
je 0x44f282
mov edx, 0x4b0e7f
mov eax, 0x4b0e6a
mov ecx, 1
call fcn.00463dec
test eax, eax
je 0x44f282
mov eax, esi
call fcn.0040c4d0
push eax
push edi
call fcn.0049fcf8
add esp, 8
mov eax, edi
call fcn.0040c8ec
mov esi, eax
test esi, esi
je 0x44f282
cmp edi, esi
jae 0x44f282
mov byte [esi], 0
mov eax, edi
call fcn.0040c8ec
mov ebx, eax
test ebx, ebx
je 0x44f26e
cmp edi, ebx
jae 0x44f26e
cmp byte [ebp + 0xc], 0
je 0x44f25b
cmp byte [esi + 1], 0
je 0x44f25b
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.004a3c34
pop ecx
test eax, eax
jne 0x44f25b
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.004a3c34
pop ecx
test eax, eax
jne 0x44f26b
mov edx, 0x4b0e8a
mov eax, ebx
call fcn.0040fdc0
test eax, eax
jne 0x44f26e
mov byte [ebx], 0
dec esi
jmp 0x44f275
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x44f282
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x44f271
xor edx, edx
mov eax, edi
call fcn.0040cfb4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44f828
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
lea ebx, [ebp - 0x254]
test edi, edi
je 0x44f871
push edi
push ebx
call fcn.0049fdd4
add esp, 8
push ebx
call fcn.0049fe04
pop ecx
inc eax
add ebx, eax
push edi
push ebx
call fcn.0049fdd4
add esp, 8
push ebx
call fcn.0049fe04
pop ecx
inc eax
add ebx, eax
mov eax, 0x426
call fcn.00413388
push eax
push ebx
call fcn.0049fdd4
add esp, 8
push ebx
call fcn.0049fe04
pop ecx
inc eax
add ebx, eax
push 0x4b0f6c
push ebx
call fcn.0049fdd4
add esp, 8
push ebx
call fcn.0049fe04
pop ecx
inc eax
add ebx, eax
mov byte [ebx], 0
push 0x4c
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.0049fc54
mov dword [ebp - 0x54], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4bb918]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x254]
mov eax, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0x400
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x24], ecx
call fcn.0040c4d0
cmp esi, eax
jne 0x44f90d
lea edx, [ebp - 0x654]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x1080c
cmp byte [ebp + 8], 0
je 0x44f927
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetSaveFileNameA
mov ebx, eax
jmp 0x44f932
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x44f963
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x44f963
mov byte [esi], 0
cmp byte [ebp + 8], 0
je 0x44f958
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetSaveFileNameA
mov ebx, eax
jmp 0x44f963
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44f974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff328
push ebx
push esi
push edi
lea edi, [ebp - 0x80c]
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [edi], 0
xor esi, esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x88c]
mov eax, 0x4d0b94
mov edx, esi
call fcn.00459138
test al, al
je 0x44fa00
push edi
call fcn.0049fe04
pop ecx
push eax
lea eax, [ebp - 0x88c]
push eax
call fcn.0049fe04
pop ecx
pop edx
add edx, eax
cmp edx, 0x3f6
ja 0x44fa00
test esi, esi
je 0x44f9df
push 0x4b0f6e
push edi
call fcn.0049fcf8
add esp, 8
push 0x4b0f70
push edi
call fcn.0049fcf8
add esp, 8
lea ecx, [ebp - 0x88c]
push ecx
push edi
call fcn.0049fcf8
add esp, 8
inc ebx
jmp 0x44f996
test ebx, ebx
je 0x44fa07
inc esi
jmp 0x44f994
mov eax, 0x426
call fcn.00413388
push eax
push edi
mov eax, 0x425
call fcn.00413388
push eax
push edi
mov eax, 0x424
call fcn.00413388
push eax
push str._s_t_s_t_s_t_s_.exe_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.004a2e18
add esp, 0x1c
cmp byte [ebp - 9], 0
je 0x44fa80
mov eax, dword [ebp - 8]
call fcn.0040c8ec
mov ebx, eax
test ebx, ebx
je 0x44fa80
inc ebx
push ebx
call fcn.0049fe04
pop ecx
cmp eax, 0x14
jge 0x44fa80
mov eax, 0x426
call fcn.00413388
push eax
push ebx
push ebx
push str._s_t._s_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.004a2e18
add esp, 0x14
xor eax, eax
jmp 0x44fa9b
xor edx, edx
mov dl, byte [ebp + eax - 0x40c]
cmp edx, 9
jne 0x44fa9a
mov byte [ebp + eax - 0x40c], 0
inc eax
cmp byte [ebp + eax - 0x40c], 0
jne 0x44fa84
push 0x4c
push 0
lea ecx, [ebp - 0x8d8]
push ecx
call fcn.0049fc54
mov dword [ebp - 0x8d8], 0x4c
mov eax, dword [ebp - 4]
mov edx, dword [0x4bb918]
mov dword [ebp - 0x8d4], eax
mov dword [ebp - 0x8d0], edx
lea ecx, [ebp - 0x40c]
add esp, 0xc
mov dword [ebp - 0x8cc], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x8bc], eax
mov eax, 0x48d
mov dword [ebp - 0x8b8], 0x400
cmp byte [ebp + 8], 0
jne 0x44fb06
add eax, 0xfffffcb3
call fcn.00413388
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 8]
call fcn.0040c4d0
cmp eax, dword [ebp - 8]
jne 0x44fb3b
lea edx, [ebp - 0xcd8]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0xcd8]
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x8a4], 0x1080c
mov dword [ebp - 0x89c], 0x4b0f9d
lea eax, [ebp - 0x8d8]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x44fb81
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x44fb81
mov eax, dword [ebp - 8]
mov byte [eax], 0
lea edx, [ebp - 0x8d8]
push edx
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44fb94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffab0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x550]
mov eax, 0x426
call fcn.00413388
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.0049fdd4
add esp, 8
lea ecx, [ebp - 0x104]
push 3
push 0x4b0fa1
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x103]
add eax, edx
push eax
call fcn.0049fbe4
add esp, 0xc
mov word [ebp - 0x504], 0
push 0x4c
push 0
push ebx
call fcn.0049fc54
mov dword [ebx], 0x4c
mov dword [ebx + 4], esi
mov eax, dword [0x4bb918]
lea ecx, [ebp - 0x504]
mov dword [ebx + 8], eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], pe_nt_image_headers32
mov dword [ebx + 0x44], 0x44f294
mov dword [ebx + 0x34], 0x89036c
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x40], edi
call fcn.0041113c
test eax, eax
je 0x44fcea
mov eax, 0x426
call fcn.00413388
lea edx, [ebp - 0x750]
mov ecx, 0x1000000
call fcn.004111c4
lea eax, [ebp - 0x750]
call fcn.00411474
add eax, eax
lea edx, [ebp - 0x74e]
add eax, edx
mov edx, 0x4b0fa4
call fcn.00411488
lea eax, [ebp - 0x750]
call fcn.00411474
mov word [ebp + eax*2 - 0x74e], 0
lea edx, [ebp - 0x950]
mov ecx, 0x1000000
mov eax, dword [ebx + 0x30]
call fcn.004111c4
lea eax, [ebp - 0x750]
lea edx, [ebp - 0x950]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x48], 0x4b0fa8
lea ecx, [ebp - 0x1150]
push ecx
push 0x800
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea eax, [ebp - 0x1150]
mov dword [ebx + 0x2c], eax
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameW
jmp 0x44fd1a
lea edx, [ebp - 0x104]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x48], str.OKCANCELTPL
lea ecx, [ebp - 0x1550]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1550]
mov dword [ebx + 0x2c], eax
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452774
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x4b12d0
push ebx
push esi
push edi
call fcn.004a0204
cmp dword [0x4d27dc], 0
je 0x4527a1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x45293c
push str.WinRAR_DragDrop
push 0
push 0
call sub.KERNEL32.DLL_CreateMutexA
mov esi, eax
push 0
push esi
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x4527e8
push esi
call sub.KERNEL32.DLL_CloseHandle
mov eax, 0x5b9
call fcn.00413388
push eax
call fcn.0048a820
pop ecx
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x45293c
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne cl
and ecx, 1
mov byte [0x4d3712], cl
cmp byte [0x4d3712], 0
jne 0x452814
cmp dword [0x4d27d4], 0
jne 0x452814
xor ebx, ebx
jmp 0x452819
mov ebx, 1
push 8
call fcn.0049e444
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x452841
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp - 4]
call fcn.0045085c
mov word [ebp - 0x1c], 8
mov edi, dword [ebp - 4]
jmp 0x452844
mov edi, dword [ebp - 4]
push 0x5f24
call fcn.0049e444
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x452871
mov word [ebp - 0x1c], 0x2c
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0044fd68
mov word [ebp - 0x1c], 0x20
mov edx, dword [ebp - 8]
jmp 0x452874
mov edx, dword [ebp - 8]
mov dword [ebp - 0x30], edx
mov byte [0x4d3711], 0
mov byte [0x4d3714], 0
mov byte [0x4d3710], 1
mov byte [0x4d3713], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 3
test bl, bl
jne 0x4528a3
add ecx, 0xfffffffe
push ecx
push edi
push dword [ebp - 0x30]
call sub.OLE32.DLL_DoDragDrop
mov ebx, eax
mov eax, dword [ebp - 0x30]
push eax
mov byte [0x4d3710], 0
mov edx, dword [eax]
call dword [edx + 8]
push edi
mov ecx, dword [edi]
call dword [ecx + 8]
cmp byte [0x4d3712], 0
je 0x4528ee
cmp dword [0x4d27d4], 0
je 0x4528ee
cmp ebx, 0x40100
jne 0x4528ee
call fcn.004875ac
mov eax, 0x4cfe48
call fcn.0045cb14
push esi
call sub.KERNEL32.DLL_ReleaseMutex
push esi
call sub.KERNEL32.DLL_CloseHandle
cmp ebx, 0x40100
je 0x452932
cmp byte [0x4d3713], 0
jne 0x452932
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3f0
je 0x452932
mov eax, 0x53c
call fcn.00413388
push eax
call fcn.0048a820
pop ecx
mov eax, 0x4bb2e4
call fcn.0042ed78
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454018
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
mov ebx, eax
lea esi, [ebp - 0x84]
mov edi, str.Formats.fmt
lea eax, [ebx + 4]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebx + 0x404], eax
cmp dword [ebx + 0x404], 0
jne 0x454050
xor eax, eax
jmp 0x454252
lea edx, [edi + 0x29]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x490], eax
lea ecx, [edi + 0x31]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x494], eax
lea eax, [edi + 0x36]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x498], eax
lea edx, [edi + 0x3c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x49c], eax
lea ecx, [edi + 0x42]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a0], eax
lea eax, [edi + 0x4e]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a4], eax
lea edx, [edi + 0x5a]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a8], eax
lea ecx, [edi + 0x62]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4ac], eax
cmp dword [ebx + 0x490], 0
je 0x454113
cmp dword [ebx + 0x494], 0
jne 0x45411a
cmp dword [ebx + 0x498], 0
jne 0x45411a
xor eax, eax
jmp 0x454252
push 0x84
push 0
push esi
call fcn.0049fc54
add esp, 0xc
mov dword [esi], 0x84
mov dword [esi + 4], 0x452bec
mov dword [esi + 8], 0x452d30
mov dword [esi + 0xc], 0x452d43
mov dword [esi + 0x10], 0x452d58
mov dword [esi + 0x14], 0x452db7
mov dword [esi + 0x18], 0x452f86
mov dword [esi + 0x1c], 0x452f9a
mov dword [esi + 0x20], 0x452fa5
mov dword [esi + 0x24], 0x45305b
mov dword [esi + 0x28], 0x4530ff
mov dword [esi + 0x2c], 0x4531a9
mov dword [esi + 0x30], 0x45356c
mov dword [esi + 0x34], 0x45357b
mov dword [esi + 0x38], 0x4535d2
mov dword [esi + 0x3c], fcn.00452dce
mov dword [esi + 0x40], 0x453664
mov dword [esi + 0x44], 0x453680
mov dword [esi + 0x48], 0x4536ae
mov dword [esi + 0x4c], 0x4536c3
mov dword [esi + 0x50], 0x4536d8
mov dword [esi + 0x54], 0x4536ed
mov dword [esi + 0x58], 0x453702
mov dword [esi + 0x5c], 0x453763
mov dword [esi + 0x60], 0x4537c2
mov dword [esi + 0x64], 0x453907
mov dword [esi + 0x68], fcn.00453119
push 0x88
push 0
lea edx, [ebx + 0x408]
push edx
call fcn.0049fc54
add esp, 0xc
lea ecx, [ebx + 0x408]
mov dword [ebx + 0x408], 0x88
push ecx
push esi
call dword [ebx + 0x490]
cmp dword [ebx + 0x488], 0
je 0x454250
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
mov dword [ebx + 0x404], eax
lea eax, [ebx + 4]
call fcn.0040c4d0
push eax
mov eax, 0x42e
call fcn.00413388
push eax
call fcn.0048a820
add esp, 8
xor eax, eax
jmp 0x454252
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455684
Capabilities:
Check if file exists
Get common file path
Get disk information
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
mov edx, 0x4b159a
mov eax, 0x4b1594
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x400]
mov byte [ebx], 0
push 0x4b14c1
push 0x400
call fcn.00463c14
cmp byte [ebp - 0x400], 0
jne 0x4556d9
cmp byte [0x4c6c50], 0
je 0x455794
lea eax, [ebp - 0x400]
push eax
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
push 0x400
lea edx, [ebp - 0x800]
push edx
lea ecx, [ebp - 0x400]
push ecx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
jle 0x455717
cmp eax, 0x400
jge 0x455717
push 0x400
lea eax, [ebp - 0x800]
push eax
lea edx, [ebp - 0x400]
push edx
call fcn.0049ffb4
add esp, 0xc
lea ecx, [ebp - 0x400]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x455739
lea eax, [ebp - 0x400]
push eax
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
mov edx, 0x4b15a5
mov eax, 0x4b1594
mov ecx, 1
call fcn.00463dec
test eax, eax
je 0x45577d
cmp byte [0x4c6c50], 0
jne 0x45577d
push 0
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x45576b
cmp eax, 5
jne 0x45578d
lea edx, [ebp - 0x400]
push edx
push ebx
call fcn.0049fdd4
add esp, 8
jmp 0x45578d
lea eax, [ebp - 0x400]
push eax
push ebx
call fcn.0049fdd4
add esp, 8
mov eax, ebx
call fcn.0040ca00
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc44
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe0c
push ebx
mov ebx, eax
push esi
push edi
cmp dword [ebx + 0x520], 0
je 0x45be2c
mov eax, dword [ebx + 0x520]
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x45be2c
lea edx, [ebp - 4]
push edx
push 0x20
push dword [ebx]
push edi
mov ecx, dword [edi]
call dword [ecx + 0x10]
test eax, eax
jne 0x45be2c
cmp dword [ebp - 4], 0
je 0x45be2c
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0x10], edx
jmp 0x45be08
mov dword [ebp - 0x14], 0x10000000
lea ecx, [ebp - 0x14]
lea eax, [ebp - 8]
push ecx
push eax
push 1
push edi
mov edx, dword [edi]
call dword [edx + 0x24]
test byte [ebp - 0x11], 0x10
je 0x45bce5
lea ecx, [ebp - 0x414]
push ecx
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00462af0
test eax, eax
jne 0x45bcf8
push dword [ebp - 8]
mov eax, dword [0x4d65d8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
jmp 0x45be08
mov ecx, dword [ebx + 0x520]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + ecx*4 + 0x41c]
call fcn.00462a54
mov esi, eax
push 0x4409
push 0x160
lea eax, [ebp - 0x574]
push eax
push 0
push esi
call sub.SHELL32.DLL_SHGetFileInfoA
push esi
mov edx, dword [0x4d65d8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
mov dword [ebp - 0x59c], 7
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 0x598], eax
lea eax, [ebp - 0x414]
mov edx, dword [ebp - 0x570]
mov dword [ebp - 0x580], edx
mov dword [ebp - 0x594], ecx
mov dword [ebp - 0x588], eax
push 0xc30
lea edx, [ebp - 0x11cc]
push 0
push edx
call fcn.0049fc54
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x5a4], ecx
lea eax, [ebp - 0x11cc]
mov dword [ebp - 0x5b0], 0x20
push dword [ebp - 0x588]
push eax
call fcn.0049fdd4
mov dword [ebp - 0x5bc], 0x10
add esp, 8
lea edx, [ebp - 0x11cc]
mov eax, 0x4d48b0
call fcn.004632a8
mov dword [ebp - 0x57c], eax
lea edx, [ebp - 0x59c]
push edx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x11ec], 2
lea ecx, [ebp - 0x464]
lea edx, [ebp - 0x11f4]
mov dword [ebp - 0x11e0], ecx
push edx
push eax
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 1
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
je 0x45bcaf
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cf98
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff9d0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, str.name
lea eax, [ebp - 0x104]
push eax
lea edx, [esi + 4]
push edx
push 0x100
lea ecx, [esi + 4]
mov edx, ebx
mov eax, 0x80000000
call fcn.00463c30
cmp byte [ebp - 0x104], 0
je 0x45cfec
lea ecx, [ebp - 0x104]
push ecx
push edi
call fcn.0049fdd4
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [ebp - 0x230]
push edx
call fcn.004a2e18
add esp, 0xc
lea ecx, [ebp - 0xa30]
lea eax, [esi + 4]
lea edx, [ebp - 0x230]
push ecx
push eax
mov eax, 0x80000000
push 0x800
lea ecx, [esi + 4]
call fcn.00463c30
test al, al
jne 0x45d0de
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [ebp - 0x230]
push ecx
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0xe30]
push eax
lea edx, [esi + 4]
push edx
push 0x400
lea ecx, [esi + 4]
lea edx, [ebp - 0x230]
mov eax, 0x80000000
call fcn.00463c30
test al, al
jne 0x45d073
xor eax, eax
jmp 0x45d159
xor edx, edx
mov dl, byte [ebp - 0xe30]
cmp edx, 0x22
jne 0x45d088
lea ecx, [ebp - 0xe2f]
jmp 0x45d08e
lea ecx, [ebp - 0xe30]
push ecx
lea eax, [ebp - 0xa30]
push eax
call fcn.0049fdd4
add esp, 8
push 0x22
lea edx, [ebp - 0xa30]
push edx
call fcn.0049fea1
add esp, 8
test eax, eax
je 0x45d0b6
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [ebp - 0xa30]
push edx
call fcn.0049fec5
add esp, 8
test eax, eax
je 0x45d0d3
mov byte [eax], 0
lea eax, [ebp - 0xa30]
call fcn.0040fe08
lea edx, [esi + 0xbc]
push edx
lea ecx, [ebp - 0xa30]
push ecx
call fcn.0049fd88
add esp, 8
test eax, eax
jne 0x45d0fc
xor eax, eax
jmp 0x45d159
xor esi, esi
push 0x800
lea eax, [ebp - 0x1630]
push eax
lea edx, [ebp - 0xa30]
push edx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0x2c
lea ecx, [ebp - 0x1630]
push ecx
call fcn.0049feb9
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x45d13c
lea esi, [ebx + 1]
push esi
call fcn.004a471c
pop ecx
mov esi, eax
mov byte [ebx], 0
xor eax, eax
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
push 1
push edx
push 0
push esi
lea ecx, [ebp - 0x1630]
push ecx
call sub.SHELL32.DLL_ExtractIconExA
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e984
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
push ebx
mov ebx, eax
lea edx, [ebp - 0x400]
mov eax, 0x4d0b94
xor ecx, ecx
call fcn.00458d64
lea eax, [ebp - 0x400]
call fcn.0040c4d0
mov edx, 0x4b2430
mov ecx, 6
call fcn.0040fde4
test eax, eax
jne 0x45eaea
mov edx, 0x4b2437
xor ecx, ecx
mov eax, ebx
call fcn.0045be34
test eax, eax
jne 0x45e9f3
mov edx, str.rarreg.txt
xor ecx, ecx
mov eax, ebx
call fcn.0045be34
test eax, eax
je 0x45eaea
lea edx, [ebp - 0x1000]
lea eax, [ebp - 0x800]
call fcn.0044e79c
test al, al
je 0x45eaea
push 0x400
lea ecx, [ebp - 0x1400]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4b2437
lea eax, [ebp - 0x1400]
call fcn.0040c4d0
push eax
call fcn.0049fdd4
add esp, 8
push 0
lea edx, [ebp - 0x1400]
push edx
lea ecx, [ebp - 0x800]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x45ea90
lea eax, [ebp - 0x1400]
call fcn.0040cbd4
lea eax, [ebp - 0x1400]
call fcn.0040ca00
push 0x4b2437
lea edx, [ebp - 0x1400]
push edx
call fcn.0049fcf8
add esp, 8
push 0
lea ecx, [ebp - 0x1400]
push ecx
lea eax, [ebp - 0x800]
push eax
call sub.KERNEL32.DLL_CopyFileA
lea edx, [ebp - 0x800]
push edx
call fcn.004a2aa0
pop ecx
push dword [0x4cfe34]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040f3d0
mov byte [0x4bb8f4], al
mov eax, 0x4cfe48
call fcn.0045cb14
cmp byte [0x4bb8f4], 0
je 0x45eaea
push 0x30
mov eax, 0x368
call fcn.00413388
push eax
mov eax, 0x367
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
pop ebx
mov esp, ebp
pop ebp
ret