joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407280
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x174
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
mov ebp, dword [esp + 0x188]
push esi
mov esi, ecx
cmp dword [esi + 8], 0
push edi
mov edi, dword [esp + 0x188]
jne 0x4072bb
push str.comctl32.dll
call fcn.0047dbe0
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x4072c8
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov bl, byte [esp + 0x18c]
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 4], bl
mov eax, str.ComboBoxEx32
test bl, bl
jne 0x4072e7
mov eax, str.combobox
mov ecx, dword [0x4c935c]
push 0
push ecx
push ebp
push edi
push 0xdc
push 0x3c
push 0
push 0
push 0x44200046
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi], eax
test bl, bl
je 0x40744a
lea edx, [esp + 0x10]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x10]
push 0x4209
push 0x160
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x402
push edx
call edi
mov eax, dword [0x4f8164]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, esi
call fcn.00406460
mov ecx, dword [esi]
push 0
push 4
push 0x408
push ecx
call edi
mov edx, dword [esi]
push 0
push 0
push 0x407
push edx
call edi
test eax, eax
je 0x4073ad
push eax
call fcn.0047dfc0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x4073d6
mov ecx, dword [esp + 0x10]
push eax
push eax
push ecx
mov ecx, esi
call fcn.00406cb0
test al, al
jne 0x407428
call fcn.0047def0
mov ebp, eax
xor edi, edi
mov ebx, 1
test ebp, ebx
je 0x407420
lea edx, [edi + 0x41]
push edx
lea eax, [esp + 0x178]
push str._c:_
push eax
call fcn.0049e0d5
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x194]
push ecx
mov ecx, esi
call fcn.00406460
inc edi
rol ebx, 1
cmp edi, 0x20
jl 0x4073e4
mov ecx, esi
call fcn.00406ff0
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x174
ret 0xc
push 3
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4073d6
Function at 0x407470
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
push 0x400
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00444fd0
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x407518
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407160
cmp dword [0x4dbc5c], 0
mov ecx, esi
je 0x4074fc
call fcn.00406970
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret
call fcn.00406900
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret
cmp dword [0x4dbc5c], 0
je 0x407557
lea eax, [esp + 8]
push eax
call fcn.0044e270
test al, al
jne 0x407557
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4dfef0
call fcn.00442740
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x407593
test al, 0x10
jne 0x407593
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4dfef0
call fcn.00442c50
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret
lea ecx, [esp + 8]
push ecx
call fcn.00484610
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret
Function at 0x4075c0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x168
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x164], eax
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x17c]
cmp ecx, 0x4e
jne 0x4076dc
mov eax, dword [edi + 8]
cmp eax, 0xfffffcdb
je 0x4076af
cmp eax, 0xfffffce0
jne 0x4076c2
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x407625
mov ebp, dword [ecx + 4]
jmp 0x407628
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x407664
mov edx, esi
or edx, 0x200
push edx
push 0x160
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x407664
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x40768b
or esi, 0x4001
push esi
push 0x160
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x168
ret 0x10
cmp dword [edi + 0x118], 2
jne 0x4076c2
mov ecx, 0x4dfee0
call fcn.00407470
xor eax, eax
pop edi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x168
ret 0x10
mov edx, dword [esp + 0x178]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [esp + 0x168]
pop edi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x168
ret 0x10
Function at 0x4093a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x4093c0
xor ecx, ecx
mov dword [ecx + 0x4c2430], eax
test eax, eax
je 0x40940c
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x40940e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x4093f3
xor edx, edx
test dl, dl
je 0x409432
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x409434
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x40946b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x40946f
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4c3458], ecx
mov dword [edx*4 + 0x4c3858], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4c4058], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4c2858], ecx
mov ecx, eax
mov dword [edx*4 + 0x4c2458], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4c3058], eax
mov dword [edx*4 + 0x4c3c58], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4c2c58], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x409552
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x409554
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x40955c
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4c1830], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4c1430], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4c1c30], esi
mov dword [ecx + 0x4c2030], eax
cmp edx, 0x100
jb 0x409418
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4c4458], 1
call fcn.0049e0c6
add esp, 0x304
ret
Function at 0x411360
Capabilities:
Check if file exists
Get common file path
Get disk information
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, dword [esp + 0x814]
push 0x400
push 0x4b1914
lea eax, [esp + 0x10]
push eax
push str.TempFolder
push str.Paths
mov byte [edi], 0
call fcn.004563a0
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x4113c4
cmp byte [0x4e6964], 0
je 0x411480
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 0x400
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jle 0x411401
cmp eax, 0x400
jae 0x411401
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0049f4b0
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41141d
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push str.TempRemovableOnly
push str.Paths
call fcn.00456400
test eax, eax
je 0x411463
cmp byte [0x4e6964], 0
jne 0x411463
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x41144d
cmp eax, 5
jne 0x41147a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411457
jmp 0x41147a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411470
push edi
call fcn.0044d9b0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x804
ret 8
Function at 0x414d00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0xf4
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x404], eax
test eax, eax
jne 0x414d50
push eax
push ebx
call fcn.0047e740
test eax, eax
je 0x414d45
cmp eax, 0x20
je 0x414d45
push ebx
push eax
push 0x20
push 0x5c8
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 0x10
pop esi
xor al, al
pop ebx
add esp, 0xf4
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x490], eax
mov eax, dword [esi + 0x404]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x404]
push str.OpenW
push ecx
mov dword [esi + 0x494], eax
call edi
mov edx, dword [esi + 0x404]
push str.Close
push edx
mov dword [esi + 0x498], eax
call edi
mov dword [esi + 0x49c], eax
mov eax, dword [esi + 0x404]
push str.GetNextName
push eax
call edi
mov ecx, dword [esi + 0x404]
push str.GetListItem
push ecx
mov dword [esi + 0x4a0], eax
call edi
mov edx, dword [esi + 0x404]
push str.Extract
push edx
mov dword [esi + 0x4a4], eax
call edi
mov dword [esi + 0x4a8], eax
mov eax, dword [esi + 0x404]
push str.GetComment
push eax
call edi
cmp dword [esi + 0x490], 0
mov dword [esi + 0x4ac], eax
je 0x414f8e
cmp dword [esi + 0x494], 0
jne 0x414e14
cmp dword [esi + 0x498], 0
je 0x414f8e
push 0xf4
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0049e680
push 0x88
lea edi, [esi + 0x408]
push 0
push edi
mov dword [esp + 0x24], 0xf4
mov dword [esp + 0x28], 0x410410
mov dword [esp + 0x2c], 0x410560
mov dword [esp + 0x30], 0x410580
mov dword [esp + 0x34], 0x410590
mov dword [esp + 0x38], 0x413ce0
mov dword [esp + 0x3c], 0x4107f0
mov dword [esp + 0x40], 0x410810
mov dword [esp + 0x44], 0x410820
mov dword [esp + 0x48], 0x413d20
mov dword [esp + 0x4c], 0x413d40
mov dword [esp + 0x50], 0x410a40
mov dword [esp + 0x54], 0x410c80
mov dword [esp + 0x58], 0x410c90
mov dword [esp + 0x5c], 0x410cf0
mov dword [esp + 0x60], 0x413d00
mov dword [esp + 0x64], 0x410d70
mov dword [esp + 0x68], 0x410db0
mov dword [esp + 0x6c], 0x410de0
mov dword [esp + 0x70], 0x410df0
mov dword [esp + 0x74], 0x410e00
mov dword [esp + 0x78], 0x410e10
mov dword [esp + 0x7c], 0x410e20
mov dword [esp + 0x80], 0x410eb0
mov dword [esp + 0x84], 0x410f40
mov dword [esp + 0x88], 0x4110b0
mov dword [esp + 0x8c], fcn.004109d0
mov dword [esp + 0x90], fcn.00410630
mov dword [esp + 0x94], fcn.004108d0
mov dword [esp + 0x98], 0x410d90
call fcn.0049e680
mov eax, dword [esi + 0x490]
add esp, 0x18
push edi
lea edx, [esp + 0x10]
push edx
mov dword [edi], 0x88
call eax
cmp dword [esi + 0x488], 0
je 0x414f9a
mov ecx, dword [esi + 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
mov dword [esi + 0x404], 0
call fcn.0044d530
push eax
push 0x42e
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xf4
ret
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xf4
ret
Function at 0x4156f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad841
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
lea ecx, [esi + 0x1e70]
call fcn.00401920
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.0042c470
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00402660
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x418260
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4adb0b
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x878]
cmp byte [ebp + 0x7615], 0
mov edi, dword [esp + 0x880]
mov eax, dword [ebp + 0x13d8]
je 0x418437
cmp byte [eax + 0x28e9], 0
jne 0x418437
cmp byte [ebp + 0x7610], 0
jne 0x418437
push ebp
lea ecx, [esp + 0x18]
call fcn.0045d9a0
mov dword [esp + 0x870], 0
movzx eax, word [ebp + 0x4f20]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.0049ec80
mov ecx, dword [ebp + 0x4f24]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
mov ecx, ebp
call fcn.0042efe0
mov ecx, ebp
call fcn.0040eeb0
mov ebx, dword [esp + 0x87c]
test bl, bl
je 0x418355
mov eax, dword [0x4db83c]
push 0x200
lea edx, [esp + 0x668]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x34a
call fcn.0045b8f0
push eax
call fcn.0047f250
call fcn.0047fa50
push 0x638
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0049e680
mov eax, dword [ebp + 0x4ef0]
add esp, 0xc
sub eax, 0x76
je 0x4183b8
sub eax, 3
je 0x4183aa
sub eax, 1
jne 0x4183cd
push 0x4b18bc
lea ecx, [ebp + 0x5c40]
call fcn.0040ab60
test al, al
je 0x4183a0
lea edx, [esp + 0x2c]
push edx
push ebx
push ebp
call fcn.00417aa0
jmp 0x4183cd
mov byte [esp + 0x662], 1
jmp 0x4183cd
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.004172f0
jmp 0x4183cd
test byte [ebp + 0x4f1c], 0x20
je 0x418423
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebp
call fcn.00417750
test bl, bl
je 0x4183e3
lea edx, [esp + 0x664]
push edx
call fcn.0047f250
call fcn.0047fa50
test edi, edi
je 0x4183f2
mov ecx, 0x18e
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x662], 0
je 0x418423
test bl, bl
je 0x418423
push 0x2a9
call fcn.0045b8f0
push eax
add ebp, 0x17
push ebp
call fcn.0048cce0
add esp, 8
push 1
mov ecx, 0x4c9364
call fcn.00427bb0
mov dword [esp + 0x870], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0045d9d0
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x860
ret 0xc
Function at 0x418db0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x654
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x650], eax
mov eax, dword [esp + 0x664]
push ebx
mov ebx, dword [esp + 0x65c]
push ebp
mov ebp, dword [esp + 0x664]
push esi
push edi
mov edi, dword [esp + 0x670]
mov dword [esp + 0x10], edi
lea esi, [esp + 0x60]
test eax, eax
je 0x418e32
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x418df4
lea ecx, [esp + 0x60]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x418e05
sub ecx, esi
lea esi, [esp + ecx + 0x61]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x418e16
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418e25
sub eax, edx
lea esi, [esi + eax + 1]
push 0x426
call fcn.0045b8f0
mov edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x418e40
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418e50
sub eax, edx
lea ecx, [esi + eax + 1]
mov eax, 0x2a
mov word [ecx], ax
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418e70
sub eax, esi
push 0x4c
mov byte [eax + ecx + 1], dl
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0049e680
mov edx, dword [0x4c9360]
add esp, 0xc
lea eax, [esp + 0x60]
push edi
mov dword [esp + 0x18], 0x4c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x48], ebp
call fcn.0044d530
cmp eax, edi
jne 0x418ee4
lea ecx, [esp + 0x260]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x260]
mov dword [esp + 0x40], edx
mov bl, byte [esp + 0x678]
mov edi, dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov ebp, dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
mov dword [esp + 0x48], 0x1080c
test bl, bl
je 0x418f0c
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x418f13
lea ecx, [esp + 0x14]
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x418f45
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
cmp eax, 0x3002
jne 0x418f43
mov edx, dword [esp + 0x10]
mov byte [edx], 0
test bl, bl
je 0x418f3a
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x418f41
lea ecx, [esp + 0x14]
push ecx
call edi
mov esi, eax
test esi, esi
mov ecx, dword [esp + 0x660]
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x654
ret 0x14
Function at 0x419820
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1350
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x134c], eax
push ebx
mov ebx, dword [esp + 0x1360]
push esi
mov esi, dword [esp + 0x135c]
push edi
mov edi, dword [esp + 0x1364]
push 0x426
call fcn.0045b8f0
lea edx, [esp + 0x58]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x419860
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419871
mov cx, word [0x4b1d04]
sub eax, edx
mov dl, byte [0x4b1d06]
lea eax, [esp + eax + 0x59]
mov word [eax], cx
mov byte [eax + 2], dl
xor eax, eax
push 0x4c
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x764], ax
call fcn.0049e680
mov edx, dword [0x4c9360]
lea eax, [esp + 0x764]
add esp, 0xc
mov dword [esp + 0xc], 0x4c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x50], 0x4193a0
mov dword [esp + 0x40], 0x89036c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edi
call fcn.0043c9b0
pop edi
pop esi
pop ebx
test eax, eax
je 0x4199c3
push 0x1000000
lea ecx, [esp + 0x150]
push ecx
push 0x426
call fcn.0045b8f0
push eax
call fcn.0046d330
push 0x4b1d00
lea edx, [esp + 0x150]
push edx
call fcn.0046d610
lea eax, [esp + eax*2 + 0x152]
push eax
call fcn.0046d630
lea ecx, [esp + 0x14c]
push ecx
call fcn.0046d610
mov ecx, dword [esp + 0x30]
xor edx, edx
mov word [esp + eax*2 + 0x14e], dx
push 0x1000000
lea eax, [esp + 0x350]
push eax
push ecx
call fcn.0046d330
lea ecx, [esp + 0xb4c]
push ecx
lea edx, [esp + 0x150]
lea eax, [esp + 0x350]
push 0x800
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], str.OKCANCELTPL
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp]
lea edx, [esp + 0xb4c]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
mov ecx, dword [esp + 0x134c]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1350
ret 0xc
lea edx, [esp + 0x34c]
push edx
lea ecx, [esp + 0x50]
push 0x400
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], 0x4b1cdc
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp]
lea eax, [esp + 0x34c]
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov ecx, dword [esp + 0x134c]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1350
ret 0xc
Function at 0x41e430
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc24
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc20], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x41e56b
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x41e499
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc24
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41e503
cmp byte [ebp + 1], 0x1a
jne 0x41e503
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x400
lea edi, [ebp + 0x1c]
lea ebx, [esp + 0x434]
call fcn.0041e3e0
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e3e0
mov ebx, eax
test ebx, ebx
je 0x41e4ff
push 0
lea eax, [esp + 0x18]
push eax
call fcn.0043c960
lea edi, [esp + 0x30]
lea esi, [esp + 0x430]
call fcn.0041e2f0
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41e55a
lea edi, [ebx + 1]
push 0x400
lea ebx, [esp + 0x834]
call fcn.0041e3e0
push 0x400
lea ebx, [esp + 0x34]
mov edi, eax
call fcn.0041e3e0
push 0x400
lea ebx, [esp + 0x434]
mov edi, eax
call fcn.0041e3e0
test eax, eax
je 0x41e55a
push 0
mov ecx, ebx
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x83c]
push eax
call fcn.0043c5c0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0xc24]
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc24
ret