joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ff0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x4dff38
call fcn.0043f880
mov ebp, eax
xor esi, esi
cmp ebp, esi
je 0x4070a9
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407098
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea esp, [esp]
mov ecx, dword [edi]
push 0
push esi
push 0x150
push ecx
call ebx
cmp eax, 0xffffffff
je 0x407098
test eax, eax
je 0x407098
mov eax, dword [eax + 4]
test eax, eax
je 0x407071
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ebp
push 0
push ecx
call eax
test eax, eax
je 0x40708b
inc esi
cmp esi, 0x80
jl 0x407040
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407139
mov ecx, dword [edi]
push 0
push esi
push 0x14e
push ecx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x407139
lea ecx, [esp + 0x14]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
nop
mov edx, dword [edi]
push 0
push esi
push 0x150
push edx
call ebx
cmp eax, 0xffffffff
je 0x407102
test eax, eax
je 0x407102
cmp dword [eax], 0
jne 0x4070f9
movsx eax, byte [eax + 8]
push eax
call fcn.0049f4b6
movsx ecx, byte [esp + 0x18]
push ecx
mov ebp, eax
call fcn.0049f4b6
add esp, 8
cmp ebp, eax
je 0x407125
inc esi
cmp esi, 0x80
jl 0x4070c0
push 0
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.00406640
cmp dword [0x4dbca4], 0
mov ecx, edi
je 0x407134
call fcn.00406970
jmp 0x407139
mov edx, dword [edi]
push 0
push esi
push 0x14e
push edx
call ebx
jmp 0x407113
call fcn.00406900
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x408
ret
Function at 0x407280
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x174
mov eax, dword [0x4c03a0]
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.0047e0f0
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 [0x4c93a4]
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 [0x4f81ac]
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.0047e4d0
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.0047e400
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.0049e635
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.0049e626
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 [0x4c03a0]
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.004454f0
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 [0x4dbca4], 0
mov ecx, esi
je 0x4074fc
call fcn.00406970
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e626
add esp, 0x404
ret
call fcn.00406900
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e626
add esp, 0x404
ret
cmp dword [0x4dbca4], 0
je 0x407557
lea eax, [esp + 8]
push eax
call fcn.0044e830
test al, al
jne 0x407557
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4dff38
call fcn.00442bc0
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e626
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, 0x4dff38
call fcn.004430d0
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e626
add esp, 0x404
ret
lea ecx, [esp + 8]
push ecx
call fcn.00484b50
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x404
ret
Function at 0x4075c0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x168
mov eax, dword [0x4c03a0]
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.0049e626
add esp, 0x168
ret 0x10
cmp dword [edi + 0x118], 2
jne 0x4076c2
mov ecx, 0x4dff28
call fcn.00407470
xor eax, eax
pop edi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0049e626
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.0049e626
add esp, 0x168
ret 0x10
Function at 0x4093a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4c03a0]
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 + 0x4c2450], 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 + 0x4c3478], ecx
mov dword [edx*4 + 0x4c3878], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4c4078], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4c2878], ecx
mov ecx, eax
mov dword [edx*4 + 0x4c2478], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4c3078], eax
mov dword [edx*4 + 0x4c3c78], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4c2c78], 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 + 0x4c1850], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4c1450], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4c1c50], esi
mov dword [ecx + 0x4c2050], eax
cmp edx, 0x100
jb 0x409418
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4c4478], 1
call fcn.0049e626
add esp, 0x304
ret
Function at 0x411370
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 [0x4c03a0]
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.004568e0
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x4113d4
cmp byte [0x4e69ac], 0
je 0x411490
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 0x411411
cmp eax, 0x400
jae 0x411411
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0049fa10
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41142d
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push str.TempRemovableOnly
push str.Paths
call fcn.00456940
test eax, eax
je 0x411473
cmp byte [0x4e69ac], 0
jne 0x411473
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x41145d
cmp eax, 5
jne 0x41148a
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 0x411467
jmp 0x41148a
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 0x411480
push edi
call fcn.0044df70
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x804
ret 8
Function at 0x414d70
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 0x414dc0
push eax
push ebx
call fcn.0047ec50
test eax, eax
je 0x414db5
cmp eax, 0x20
je 0x414db5
push ebx
push eax
push 0x20
push 0x5c8
call fcn.0045be10
push eax
call fcn.0048cd40
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 0x414ffe
cmp dword [esi + 0x494], 0
jne 0x414e84
cmp dword [esi + 0x498], 0
je 0x414ffe
push 0xf4
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0049ebe0
push 0x88
lea edi, [esi + 0x408]
push 0
push edi
mov dword [esp + 0x24], 0xf4
mov dword [esp + 0x28], 0x410420
mov dword [esp + 0x2c], 0x410570
mov dword [esp + 0x30], 0x410590
mov dword [esp + 0x34], 0x4105a0
mov dword [esp + 0x38], 0x413dc0
mov dword [esp + 0x3c], 0x410800
mov dword [esp + 0x40], 0x410820
mov dword [esp + 0x44], 0x410830
mov dword [esp + 0x48], 0x413e00
mov dword [esp + 0x4c], 0x413e20
mov dword [esp + 0x50], 0x410a50
mov dword [esp + 0x54], 0x410c90
mov dword [esp + 0x58], 0x410ca0
mov dword [esp + 0x5c], 0x410d00
mov dword [esp + 0x60], 0x413de0
mov dword [esp + 0x64], 0x410d80
mov dword [esp + 0x68], 0x410dc0
mov dword [esp + 0x6c], 0x410df0
mov dword [esp + 0x70], 0x410e00
mov dword [esp + 0x74], 0x410e10
mov dword [esp + 0x78], 0x410e20
mov dword [esp + 0x7c], 0x410e30
mov dword [esp + 0x80], 0x410ec0
mov dword [esp + 0x84], 0x410f50
mov dword [esp + 0x88], 0x4110c0
mov dword [esp + 0x8c], fcn.004109e0
mov dword [esp + 0x90], fcn.00410640
mov dword [esp + 0x94], fcn.004108e0
mov dword [esp + 0x98], 0x410da0
call fcn.0049ebe0
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 0x41500a
mov ecx, dword [esi + 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
mov dword [esi + 0x404], 0
call fcn.0044daf0
push eax
push 0x42e
call fcn.0045be10
push eax
call fcn.0048cd40
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 0x415760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4add71
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c03a0]
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.004018d0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.0042c860
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00402680
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4182d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ae03b
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
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 0x4184a7
cmp byte [eax + 0x28e9], 0
jne 0x4184a7
cmp byte [ebp + 0x7610], 0
jne 0x4184a7
push ebp
lea ecx, [esp + 0x18]
call fcn.0045ded0
mov dword [esp + 0x870], 0
movzx eax, word [ebp + 0x4f20]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.0049f1e0
mov ecx, dword [ebp + 0x4f24]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
mov ecx, ebp
call fcn.0042f3d0
mov ecx, ebp
call fcn.0040eec0
mov ebx, dword [esp + 0x87c]
test bl, bl
je 0x4183c5
mov eax, dword [0x4db884]
push 0x200
lea edx, [esp + 0x668]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x34a
call fcn.0045be10
push eax
call fcn.0047f760
call fcn.0047ff60
push 0x638
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0049ebe0
mov eax, dword [ebp + 0x4ef0]
add esp, 0xc
sub eax, 0x76
je 0x418428
sub eax, 3
je 0x41841a
sub eax, 1
jne 0x41843d
push 0x4b18bc
lea ecx, [ebp + 0x5c40]
call fcn.0040ab70
test al, al
je 0x418410
lea edx, [esp + 0x2c]
push edx
push ebx
push ebp
call fcn.00417b10
jmp 0x41843d
mov byte [esp + 0x662], 1
jmp 0x41843d
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.00417360
jmp 0x41843d
test byte [ebp + 0x4f1c], 0x20
je 0x418493
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebp
call fcn.004177c0
test bl, bl
je 0x418453
lea edx, [esp + 0x664]
push edx
call fcn.0047f760
call fcn.0047ff60
test edi, edi
je 0x418462
mov ecx, 0x18e
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x662], 0
je 0x418493
test bl, bl
je 0x418493
push 0x2a9
call fcn.0045be10
push eax
add ebp, 0x17
push ebp
call fcn.0048d240
add esp, 8
push 1
mov ecx, 0x4c93ac
call fcn.00427f90
mov dword [esp + 0x870], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0045df00
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.0049e626
add esp, 0x860
ret 0xc
Function at 0x418e20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x654
mov eax, dword [0x4c03a0]
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 0x418ea2
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x418e64
lea ecx, [esp + 0x60]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x418e75
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 0x418e86
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418e95
sub eax, edx
lea esi, [esi + eax + 1]
push 0x426
call fcn.0045be10
mov edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x418eb0
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418ec0
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 0x418ee0
sub eax, esi
push 0x4c
mov byte [eax + ecx + 1], dl
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0049ebe0
mov edx, dword [0x4c93a8]
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.0044daf0
cmp eax, edi
jne 0x418f54
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 0x418f7c
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x418f83
lea ecx, [esp + 0x14]
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x418fb5
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
cmp eax, 0x3002
jne 0x418fb3
mov edx, dword [esp + 0x10]
mov byte [edx], 0
test bl, bl
je 0x418faa
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x418fb1
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.0049e626
add esp, 0x654
ret 0x14
Function at 0x419890
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1350
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
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.0045be10
lea edx, [esp + 0x58]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4198d0
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4198e1
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.0049ebe0
mov edx, dword [0x4c93a8]
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], 0x419410
mov dword [esp + 0x40], 0x89036c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], edi
call fcn.0043cdb0
pop edi
pop esi
pop ebx
test eax, eax
je 0x419a33
push 0x1000000
lea ecx, [esp + 0x150]
push ecx
push 0x426
call fcn.0045be10
push eax
call fcn.0046d830
push 0x4b1d00
lea edx, [esp + 0x150]
push edx
call fcn.0046db10
lea eax, [esp + eax*2 + 0x152]
push eax
call fcn.0046db30
lea ecx, [esp + 0x14c]
push ecx
call fcn.0046db10
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.0046d830
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.0049e626
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.0049e626
add esp, 0x1350
ret 0xc