joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428d6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbf0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
push 5
push dword [esp + 4]
push dword [0x4b2108]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4b2108]
call sub.KERNEL32.DLL_LoadResource
mov ebp, eax
push ebx
push dword [0x4b2108]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.004969f0
pop ecx
mov esi, eax
test esi, esi
jne 0x428dca
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x428edf
push ebx
push ebp
push esi
call fcn.00497a70
add esp, 0xc
xor edx, edx
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esi]
shr eax, 0x10
cmp eax, 0xffff
lea eax, [esp + 0xc]
sete bl
push eax
mov eax, edi
lea ecx, [esp + 0xc]
mov edx, dword [esp + 4]
and ebx, 1
call fcn.00428fa0
test al, al
je 0x428e3e
mov ecx, esi
test bl, bl
je 0x428e16
mov eax, ecx
add eax, 8
mov ecx, eax
movsx eax, word [ecx + 0xe]
imul dword [esp + 8]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0xe], ax
movsx eax, word [ecx + 0x10]
imul dword [esp + 0xc]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0x10], ax
mov ebp, esi
mov eax, 0xd
test bl, bl
jne 0x428e4c
add eax, 0xfffffffc
add eax, eax
add ebp, eax
cmp word [ebp], 0xffff
jne 0x428e5f
mov edx, 2
jmp 0x428e69
mov eax, ebp
call fcn.0041074c
mov edx, eax
inc edx
add edx, edx
add ebp, edx
cmp word [ebp], 0xffff
jne 0x428e7c
mov ecx, 2
jmp 0x428e86
mov eax, ebp
call fcn.0041074c
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [esp + 0x10]
add ebp, ecx
mov ecx, 0x1000000
mov eax, ebp
call fcn.00410474
push 1
push dword [esp + 4]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00428928
lea eax, [esp + 0x210]
push eax
call fcn.00497dc4
pop ecx
mov edx, dword [esp + 4]
mov dword [edx], eax
cmp dword [esp + 8], 0x64
jne 0x428edd
cmp dword [esp + 0xc], 0x64
jne 0x428edd
push esi
call fcn.00496a00
pop ecx
xor esi, esi
mov eax, esi
add esp, 0x410
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42d5d0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffa00
mov esi, ecx
mov ebx, edx
mov edi, eax
push esi
mov eax, 0x1f6
call fcn.004125b4
push eax
test ebx, ebx
je 0x42d5f4
cmp byte [ebx], 0
jne 0x42d5f6
xor ebx, ebx
push ebx
call fcn.0047d1f0
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42d66d
push esi
call fcn.00497c90
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040c890
test al, al
jne 0x42d634
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.00497c90
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42d66d
push 0x104
mov eax, 0x564
call fcn.004125b4
push eax
lea edx, [esp + 0x408]
push edx
call fcn.0049abc0
add esp, 0xc
mov edx, 1
lea eax, [esp + 0x400]
call fcn.004869dc
mov eax, edi
call fcn.0042d778
add esp, 0x600
pop edi
pop esi
pop ebx
ret
Function at 0x42d8a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x42d8c4
xor eax, eax
jmp 0x42d985
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42d8ce
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0042dd08
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x42d961
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0042dd08
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x42d91d
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d98c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42d9a3
test esi, esi
jg 0x42d9aa
xor eax, eax
jmp 0x42da52
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00497a70
add esp, 0xc
test esi, esi
jns 0x42d9c6
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x42da37
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042e284
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x42d9d3
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00497a70
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42da5c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
push 0x20
push edx
lea edx, [esp + 0x14]
push edx
call fcn.00497a70
add esp, 0xc
xor esi, esi
xor ecx, ecx
xor edx, edx
jmp 0x42dac5
xor eax, eax
mov edi, esi
mov ebp, dword [esp]
shl edi, 4
lea ebx, [esp + edx*4 + 0xc]
lea edi, [ebp + edi]
mov bl, byte [ebx + eax]
lea edi, [edi + ecx*4]
mov byte [edi + eax + 0x14], bl
inc eax
cmp eax, 4
jl 0x42da90
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42dabd
cmp ecx, 4
jl 0x42da8e
cmp ecx, 4
jne 0x42dac5
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42dad0
cmp esi, 0xa
jle 0x42dab2
cmp esi, 0xa
jg 0x42dc63
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov al, byte [edx + 0x4b65ec]
xor byte [esp + 0xc], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 0xa]
mov dl, byte [eax + 0x4b65ec]
xor byte [esp + 0xd], dl
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov al, byte [edx + 0x4b65ec]
xor byte [esp + 0xe], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 8]
mov dl, byte [eax + 0x4b65ec]
xor byte [esp + 0xf], dl
mov eax, dword [esp + 4]
mov dl, byte [eax + 0x4b67ec]
xor byte [esp + 0xc], dl
inc dword [esp + 4]
cmp dword [esp + 8], 8
je 0x42db73
mov edx, 1
cmp edx, dword [esp + 8]
jge 0x42dc11
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42db53
inc edx
cmp edx, dword [esp + 8]
jl 0x42db51
jmp 0x42dc11
mov edx, 1
jmp 0x42db91
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42db7c
inc edx
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42db9c
adc eax, 0
cmp edx, eax
jl 0x42db7a
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42dbab
adc eax, 0
xor edx, edx
mov dl, byte [esp + eax*4 + 8]
mov dl, byte [edx + 0x4b65ec]
xor byte [esp + eax*4 + 0xc], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov dl, byte [edx + 0x4b65ec]
xor byte [esp + eax*4 + 0xd], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xa]
mov dl, byte [edx + 0x4b65ec]
xor byte [esp + eax*4 + 0xe], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov dl, byte [edx + 0x4b65ec]
xor byte [esp + eax*4 + 0xf], dl
mov edx, eax
inc edx
cmp edx, dword [esp + 8]
jge 0x42dc11
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42dbf6
inc edx
cmp edx, dword [esp + 8]
jl 0x42dbf4
xor edx, edx
jmp 0x42dc4f
xor eax, eax
mov ebx, esi
shl ebx, 4
mov edi, dword [esp]
lea ebx, [edi + ebx]
lea ebx, [ebx + ecx*4]
lea edi, [ebx + eax + 0x14]
lea ebx, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
mov byte [edi], bl
inc eax
cmp eax, 4
jl 0x42dc19
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42dc47
cmp ecx, 4
jl 0x42dc17
cmp ecx, 4
jne 0x42dc4f
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42dc5a
cmp esi, 0xa
jle 0x42dc3c
cmp esi, 0xa
jle 0x42dad9
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42dc6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x4b8c0a]
lea ebx, [ebx*4 + 0x4b880a]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4b900a]
lea edx, [edx*4 + 0x4b940a]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x42dc7e
inc eax
cmp eax, 4
jl 0x42dc7c
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00497a70
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x42dc7a
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4307bc
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x43e716
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [0x4be478]
push esi
add esp, 0xfffffbe8
cmp dword [eax + 0x30], 0
je 0x43e8d0
push 1
push 0
mov edx, 0x4bd878
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.00455f70
dec eax
jne 0x43e8d0
xor edx, edx
xor eax, eax
mov dword [esp], edx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp dword [0x4bb188], 3
jne 0x43e779
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
mov eax, 0x4c5b84
call fcn.00457adc
jmp 0x43e78d
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
mov eax, 0x4c5b84
call fcn.004579dc
cmp dword [esp + 8], 0
je 0x43e8d0
push 0x400
push 0
lea edx, [esp + 0x20]
xor ecx, ecx
mov eax, dword [0x4be478]
call fcn.0040fcc4
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43e7e9
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
call fcn.00453784
xor eax, eax
mov al, byte [esp + 0xc]
cmp eax, 0x43
je 0x43e7db
cmp eax, 0x4e
jne 0x43e7e9
push dword [esp]
call fcn.00496274
pop ecx
jmp 0x43e8d0
push 0x4a6b63
lea edx, [esp + 0x1c]
push edx
call fcn.00499b98
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43e82c
lea eax, [esp + 0x18]
push eax
mov eax, 0x1f6
call fcn.004125b4
push eax
push 0x4bd878
call fcn.0047d1f0
add esp, 0xc
push dword [esp]
call fcn.00496274
pop ecx
jmp 0x43e8d0
cmp dword [0x4bb188], 3
jne 0x43e889
push ebx
push 0xff
call fcn.0049b920
add esp, 8
push ebx
push 0xfe
call fcn.0049b920
add esp, 8
xor esi, esi
cmp esi, dword [esp + 8]
jge 0x43e8b6
push ebx
mov eax, dword [esp + 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.0049b920
add esp, 8
push ebx
mov ecx, dword [esp + 8]
movzx eax, word [ecx + esi*2]
sar eax, 8
push eax
call fcn.0049b920
add esp, 8
inc esi
cmp esi, dword [esp + 8]
jl 0x43e859
jmp 0x43e8b6
cmp dword [0x4bb188], 2
jne 0x43e8a3
push dword [esp + 8]
push dword [esp + 4]
push dword [esp + 8]
call sub.USER32.DLL_CharToOemBuffA
push ebx
push dword [esp + 0xc]
push 1
push dword [esp + 0xc]
call fcn.00499fb0
add esp, 0x10
push ebx
call fcn.0049969c
pop ecx
push dword [esp]
call fcn.00496274
pop ecx
push dword [esp + 4]
call fcn.00496274
pop ecx
add esp, 0x418
pop esi
pop ebx
ret
Function at 0x43eb45
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4b20e4], 0
jne 0x43ec1a
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rar.ini
lea eax, [esp + 4]
call fcn.0040bd0c
push eax
call fcn.00497c60
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x4a691e
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x4a691e
push str.regcode
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0
push str.informed
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [esp + 0x400], 0
je 0x43ec1a
cmp byte [esp + 0x464], 0
je 0x43ec1a
test eax, eax
jne 0x43ec1a
push esp
push 0x4a6cae
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x483550
push dword [0x4c4e24]
push 0x4a6cb0
push dword [0x4b2108]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x43f00d
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, str.MAIN_MENU
add esp, 0xfffff3d8
xor ecx, ecx
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
call fcn.0046136c
test eax, eax
jne 0x43f13f
push 0x401
lea eax, [esp + 0x404]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebx + 0x42d]
push edx
lea eax, [esp + 0x404]
call fcn.0040bd0c
push eax
call fcn.00497c60
add esp, 8
mov eax, esp
call fcn.0046442c
push esp
lea edx, [esp + 0x808]
push edx
call fcn.00497c60
add esp, 8
lea eax, [esp + 0x804]
call fcn.0040c210
lea edx, [ebx + 0x42d]
push edx
lea ecx, [esp + 0x808]
push ecx
call fcn.00497b84
add esp, 8
xor edx, edx
lea eax, [esp + 0x804]
call fcn.0040a710
test al, al
jne 0x43f12c
lea ecx, [esp + 0x400]
push ecx
call fcn.00497c90
pop ecx
mov byte [esp + eax + 0x401], 0
lea eax, [esp + 0x804]
push eax
call fcn.00497c90
pop ecx
mov byte [esp + eax + 0x805], 0
push 0x1e
push 0
lea edx, [esp + 0xc10]
push edx
call fcn.00497ae0
add esp, 0xc
mov dword [esp + 0xc0c], 2
lea ecx, [esp + 0x400]
lea eax, [esp + 0x804]
mov dword [esp + 0xc10], ecx
mov dword [esp + 0xc14], eax
mov word [esp + 0xc18], 0x14
lea edx, [esp + 0xc08]
push edx
call sub.SHELL32.DLL_SHFileOperationA
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
mov ecx, 1
call fcn.004610a0
add esp, 0xc28
pop ebx
ret
Function at 0x445197
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
cmp dword [0x4a705c], 0
jne 0x4451d9
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov dword [0x4a705c], 0x400000
mov eax, dword [esp + 8]
cmp eax, 0x8000000
ja 0x4451c8
mov dword [0x4a705c], 0x200000
cmp eax, 0x4000000
ja 0x4451d9
mov dword [0x4a705c], 0x100000
mov eax, dword [0x4a705c]
add esp, 0x20
ret

Function at 0x445fd5
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff200
mov esi, edx
mov ebx, eax
mov eax, esi
lea ebp, [esp + 0x400]
call fcn.0040bd0c
mov edi, eax
cmp byte [0x4b3a20], 0
je 0x44600f
mov eax, 0x4b3920
mov ecx, 0x3a
mov edx, edi
call fcn.00410be8
jmp 0x44601a
push 0x3a
push edi
call fcn.00497d28
add esp, 8
test eax, eax
je 0x446058
cmp byte [0x4a7128], 0
jne 0x446058
push 0x31
mov eax, 0x65
call fcn.004125b4
push eax
mov eax, 0x528
call fcn.004125b4
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x446051
mov byte [0x4a7128], 1
jmp 0x446058
xor eax, eax
jmp 0x446126
mov edi, esi
cmp byte [0x4b3a20], 0
je 0x446076
mov eax, 0x4b3920
mov ecx, 0x5c
mov edx, edi
call fcn.00410c2c
jmp 0x446081
push 0x5c
push edi
call fcn.00497d40
add esp, 8
mov edi, eax
test edi, edi
je 0x446095
cmp esi, edi
je 0x446095
xor eax, eax
mov al, byte [edi - 1]
cmp eax, 0x3a
jne 0x44609c
mov al, 1
jmp 0x446126
push esi
lea edx, [esp + 4]
push edx
call fcn.00497c60
add esp, 8
sub edi, esi
mov byte [esp + edi], 0
push 0x400
push ebp
lea ecx, [esp + 8]
push ecx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp + 0x3ff], 0
jmp 0x446119
mov eax, 0x14d
call fcn.004125b4
push eax
push ebp
push str.__s__n_s
lea edx, [esp + 0x80c]
push edx
call fcn.0049abc0
add esp, 0x10
mov eax, 0x65
push 0x34
call fcn.004125b4
push eax
lea edx, [esp + 0x808]
push edx
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x44610e
xor eax, eax
jmp 0x446126
mov eax, ebp
xor ecx, ecx
xor edx, edx
call fcn.0040a2a8
push ebp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4460c9
mov al, 1
add esp, 0xe00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x448e93
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff400
mov esi, edx
xor ebx, ebx
mov byte [esi], 0
mov eax, dword [0x4be478]
cmp dword [eax + 0x30], 0
jbe 0x448f0d
push 0x400
push 0
lea edx, [esp + 8]
xor ecx, ecx
call fcn.0040fcc4
mov edx, dword [0x4be478]
cmp dword [edx + 0x30], 1
jne 0x448ef5
mov eax, esp
xor edx, edx
call fcn.0040a710
test al, al
je 0x448eee
mov eax, esp
xor edx, edx
call fcn.0040ab44
call fcn.0040a888
test al, al
je 0x448eee
xor ebx, ebx
jmp 0x448efc
mov ebx, 1
jmp 0x448efc
mov eax, esp
call fcn.0040c2e0
mov eax, esp
call fcn.0040bd0c
push eax
push esi
call fcn.00497c60
add esp, 8
cmp byte [esi], 0
jne 0x448f88
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x400]
call fcn.0040bd0c
push eax
push esi
call fcn.00497c60
add esp, 8
cmp byte [esi], 0
jne 0x448f75
push 0x400
push 0
lea edx, [esp + 0x808]
xor ecx, ecx
mov eax, dword [0x4be478]
call fcn.0040fcc4
test al, al
je 0x448f75
lea eax, [esp + 0x800]
call fcn.0040bd0c
push eax
push esi
call fcn.00497c60
add esp, 8
mov bl, 1
cmp byte [esi], 0
jne 0x448f88
push str.archive
push esi
call fcn.00497c60
add esp, 8
test bl, bl
je 0x448fa9
mov eax, esi
call fcn.0040c0fc
mov ebx, eax
mov eax, esi
call fcn.0040bd0c
cmp ebx, eax
je 0x448fa9
xor edx, edx
mov eax, esi
call fcn.0040c040
add esp, 0xc00
pop esi
pop ebx
ret
Function at 0x44b1b8
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44b1c1
mov eax, dword [ebp - 4]
add esp, 0xfffffb1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc30], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, 0x4a78bc
call fcn.00498090
lea edx, [ebp - 0x1034]
mov eax, str.Rar_DIXXXXXX
call fcn.004639d4
test al, al
jne 0x44b216
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x44b3a1
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.004995f4
pop ecx
call fcn.00449528
mov ecx, 0x4bdc78
mov edx, 0x4bd878
mov eax, 0x4c5b84
call fcn.00457568
mov edx, dword [0x4c5d8c]
mov dword [0x4bc428], edx
call fcn.0044a0ac
mov dword [0x4bba40], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4be478]
call fcn.0040fbe0
mov eax, 0x4c5b84
xor ecx, ecx
xor edx, edx
call fcn.0045246c
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.00412c8c
inc dword [ebp - 0xc10]
mov edx, 0x4a7901
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00412d2c
lea eax, [ebp - 0x18d4]
call fcn.00413d44
lea eax, [ebp - 0x18a8]
call fcn.00413d44
lea eax, [ebp - 0x187c]
call fcn.00413d44
jmp 0x44b335
cmp byte [ebp - 0x18d8], 0
jne 0x44b335
call fcn.00410420
test eax, eax
je 0x44b31b
cmp word [ebp - 0x20e8], 0
je 0x44b31b
test esi, esi
je 0x44b31b
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x44b324
test esi, esi
je 0x44b324
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040abb0
mov bl, 1
jmp 0x44b34c
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00412da0
test al, al
jne 0x44b2e0
lea eax, [ebp - 0x1434]
push eax
call fcn.004995f4
pop ecx
test bl, bl
jne 0x44b369
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4c53d4], 0
mov eax, 0x4c53a8
call fcn.0047c8d4
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00412cfc
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 0x44cde4
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 0x44ce4c
push ebx
push 0x400
mov edx, 0x4a7a52
mov eax, 0x4a7a47
mov ecx, edi
call fcn.00461194
cmp byte [edi], 0
jne 0x44ce24
push ebx
push edi
call fcn.00497c60
add esp, 8
jmp 0x44ce4f
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.00497c60
add esp, 8
jmp 0x44ce4f
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x44ce68
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040c210
cmp byte [ebp + 0x10], 0
jne 0x44ce7d
test bl, bl
je 0x44cf22
mov edx, 0x4a7a5c
mov eax, 0x4a7a47
mov ecx, 1
call fcn.0046136c
test eax, eax
je 0x44cf22
mov eax, esi
call fcn.0040bd0c
push eax
push edi
call fcn.00497b84
add esp, 8
mov eax, edi
call fcn.0040c0fc
mov esi, eax
test esi, esi
je 0x44cf22
cmp edi, esi
jae 0x44cf22
mov byte [esi], 0
mov eax, edi
call fcn.0040c0fc
mov ebx, eax
test ebx, ebx
je 0x44cf0e
cmp edi, ebx
jae 0x44cf0e
cmp byte [ebp + 0xc], 0
je 0x44cefb
cmp byte [esi + 1], 0
je 0x44cefb
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.0049b9f8
pop ecx
test eax, eax
jne 0x44cefb
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.0049b9f8
pop ecx
test eax, eax
jne 0x44cf0b
mov edx, 0x4a7a67
mov eax, ebx
call fcn.0040f208
test eax, eax
jne 0x44cf0e
mov byte [ebx], 0
dec esi
jmp 0x44cf15
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x44cf22
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x44cf11
xor edx, edx
mov eax, edi
call fcn.0040c69c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc