joyce8/EMBER2024-capa huggingface dataset:
Function at 0x539fc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
push edi
mov edi, eax
jne 0x539fe6
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53a067
mov byte [esi + 0x18], 1
cmp edi, 1
push ebx
mov dword [ebp - 4], 0
jne 0x53a0cf
call fcn.0041a360
test al, al
je 0x53a06f
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x53a11c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x53a020
sub eax, edi
sar eax, 1
lea edx, [ebp - 4]
call fcn.004ab9d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004abbd0
mov esi, eax
call fcn.004abb90
mov esi, dword [ebp - 8]
test esi, esi
mov edi, eax
je 0x53a107
call fcn.004ab850
jmp 0x53a107
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x53a11c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
lea eax, [ebp - 4]
call fcn.004ab970
call fcn.005293c0
mov edi, dword [ebp - 4]
test edi, edi
je 0x53a0aa
mov dword [edi + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 4]
call fcn.004abb90
test edi, edi
mov ebx, eax
je 0x53a0c6
mov esi, edi
call fcn.004ab850
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x53a11c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
lea eax, [ebp - 4]
call fcn.004ab970
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 4]
call fcn.004abb90
mov edi, eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x53a113
call fcn.004ab850
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x53a130
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
cmp byte [esi + 0x18], 0
push edi
jne 0x53a155
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53a2e1
mov byte [esi + 0x18], 1
cmp byte [esi + 0x19], 0
jne 0x53a165
mov byte [esi + 0x19], 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [ebp + 0xc], 1
jne 0x53a287
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 8], esi
je 0x53a17c
add dword [esi], 1
call fcn.0041a360
test al, al
je 0x53a1f8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004abc10
mov esi, dword [ebp - 4]
test esi, esi
mov edi, 0x100
je 0x53a1a4
mov eax, dword [esi + 0xc]
shr eax, 1
jmp 0x53a1a6
xor eax, eax
lea ecx, [eax + eax + 2]
push ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test esi, esi
mov ebx, eax
je 0x53a1c6
cmp dword [esi + 0x10], edi
mov edi, dword [esi + 0xc]
shr edi, 1
jmp 0x53a1c8
xor edi, edi
lea eax, [ebp - 4]
call fcn.004abdb0
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 8]
lea edx, [edi + edi + 2]
push edx
push ecx
push eax
call fcn.00566500
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
jmp 0x53a265
test esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x53a204
add dword [esi], 1
lea edi, [ebp - 8]
call fcn.0040b770
mov esi, dword [ebp - 8]
add esp, 4
test esi, esi
je 0x53a21b
mov eax, dword [esi + 0xc]
jmp 0x53a21d
xor eax, eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test esi, esi
mov edi, eax
je 0x53a237
mov ebx, dword [esi + 4]
add ebx, 1
jmp 0x53a23c
mov ebx, 0x57e81c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 8]
push edx
push ebx
push eax
call fcn.00566500
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test esi, esi
je 0x53a274
call fcn.004ab850
mov esi, dword [ebp + 8]
test esi, esi
je 0x53a2e1
call fcn.004ab850
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x53a293
mov eax, dword [edi + 0xc]
jmp 0x53a295
xor eax, eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test edi, edi
mov esi, eax
je 0x53a2af
mov edi, dword [edi + 4]
add edi, 1
jmp 0x53a2b4
mov edi, 0x57e81c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push edi
push eax
call fcn.00566500
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53a6d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004719f0
mov esi, eax
call fcn.00479330
mov esi, dword [ebp + 8]
test esi, esi
push ecx
mov edi, eax
mov eax, esp
mov dword [eax], esi
je 0x53a705
add dword [esi], 1
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 0
call edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0xc], 0
jg 0x53a735
mov ecx, dword [0x5f3a48]
call fcn.004f2580
xor ebx, ebx
jmp 0x53a76a
ja 0x53a73e
mov dword [eax + 0xc], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x53a754
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x53a754
add edx, 1
mov dword [ecx + 0xc], edx
cmp dword [eax + 0xc], 0
ja 0x53a761
mov dword [eax + 0xc], 1
mov edx, dword [eax + 8]
mov ebx, dword [edx]
test ebx, ebx
jne 0x53a7c4
push 0
push str.parent
push 0x47
push str.........CommonWin32win32cmm.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x53a7c4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push edi
call eax
mov eax, dword [edi + 0xc]
test eax, eax
jle 0x53a7e7
add eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x53a7e7
push edi
call fcn.004ff480
add esp, 4
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x53a7ff
add eax, 0xffffffff
mov dword [ebx + 0xc], eax
jne 0x53a7ff
push ebx
call fcn.004ff480
add esp, 4
test esi, esi
je 0x53a808
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x53a820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x408], eax
call fcn.004719f0
mov esi, eax
call fcn.00479330
push ecx
mov ebx, esp
mov dword [ebp - 0x40c], eax
mov edi, 1
mov esi, 0x580dcc
mov eax, ebx
mov dword [ebx], 0
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a878
mov dword [ebx + 0x10], 0x600
mov ebx, dword [ebp - 0x40c]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x408]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
cmp dword [eax + 0xc], 0
jg 0x53a8a8
mov ecx, dword [0x5f3a48]
call fcn.004f2580
xor esi, esi
jmp 0x53a8d4
ja 0x53a8ad
mov dword [eax + 0xc], edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x53a8c2
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x53a8c2
add edx, edi
mov dword [ecx + 0xc], edx
cmp dword [eax + 0xc], 0
ja 0x53a8cb
mov dword [eax + 0xc], edi
mov edx, dword [eax + 8]
mov esi, dword [edx]
test esi, esi
jne 0x53a92e
push 0
push str.parent
push 0x57
push str.........CommonWin32win32cmm.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x53a92e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push ebx
call eax
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x53a951
add eax, 0xffffffff
mov dword [ebx + 0xc], eax
jne 0x53a951
push ebx
call fcn.004ff480
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x53a969
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x53a969
push esi
call fcn.004ff480
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x53aeb0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1ec], 0
mov dword [edi], 0x59d930
je 0x53aee9
mov esi, dword [edi + 0x1f0]
push ebx
mov ebx, dword [edi + 0x68]
call fcn.0041a360
test al, al
push esi
push 0xfffffffffffffffc
push ebx
je 0x53aee2
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x53aee8
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop ebx
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x53aef8
call fcn.00546810
mov eax, dword [edi + 0x68]
push str.RBInstance
push eax
call dword [sym.imp.USER32.dll_RemovePropA]
mov esi, dword [edi + 0x1dc]
test esi, esi
je 0x53af16
call fcn.004ab850
mov ecx, edi
pop edi
pop esi
jmp fcn.0051d940
Function at 0x53b060
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x68]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
xor esi, esi
test edi, edi
mov dword [ebp - 4], esi
je 0x53b143
call fcn.0041a360
test al, al
je 0x53b0cd
add edi, 1
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005662c8
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x68]
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
lea edx, [ebp - 4]
call fcn.004ab9d0
push esi
call fcn.0056612f
mov esi, dword [ebp - 4]
jmp 0x53b109
lea esi, [edi + 1]
push esi
call fcn.005662c8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
add esp, 4
push esi
mov ebx, eax
push ebx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, ebx
lea eax, [ebp - 4]
call fcn.004ab970
call fcn.005293c0
mov esi, dword [ebp - 4]
test esi, esi
je 0x53b103
mov dword [esi + 0x10], eax
push ebx
call fcn.0056612f
add esp, 4
test esi, esi
je 0x53b143
cmp dword [esi + 0x10], 0x8000100
je 0x53b143
push 0x8000100
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
add dword [esi], 1
push eax
call fcn.00529150
add esp, 0xc
call fcn.004ab850
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
je 0x53b157
add dword [esi], 1
call fcn.004ab850
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x53e590
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, ecx
mov dword [ebx], 0x59de88
mov dword [ebx + 0x200], 0x59e548
mov dword [ebx + 0x20c], 0x59e1b0
mov edx, dword [ebx + 0x208]
test edx, edx
push esi
je 0x53e5c7
mov esi, dword [ebx + 0x218]
push edi
xor edi, edi
call fcn.004bce90
pop edi
mov dword [ebx + 0x20c], 0x59aef0
mov esi, dword [ebx + 0x204]
test esi, esi
je 0x53e5e0
call fcn.004ab850
pop esi
mov ecx, ebx
pop ebx
jmp fcn.0053aeb0
Function at 0x545cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
xor esi, esi
push eax
mov dword [ebp - 0x220], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x545e97
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x220]
push ecx
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x545e97
mov dword [ebp - 0x21c], esi
call fcn.0041a360
test al, al
je 0x545d88
push 0x206
lea eax, [ebp - 0x212]
push esi
push eax
mov word [ebp - 0x214], si
call fcn.0056b660
mov edx, dword [ebp - 0x220]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov byte [ebp - 0x215], al
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
jmp 0x545d60
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x545d60
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x214]
lea edx, [ebp - 0x21c]
call fcn.004ab9d0
mov esi, dword [ebp - 0x21c]
jmp 0x545dfb
push 0x103
lea eax, [ebp - 0x113]
push esi
push eax
mov byte [ebp - 0x114], 0
call fcn.0056b660
mov edx, dword [ebp - 0x220]
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov byte [ebp - 0x215], al
lea eax, [ebp - 0x114]
lea ebx, [ebp - 0x228]
call fcn.00401ed0
lea edi, [ebp - 0x21c]
call fcn.004abdf0
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x545de9
call fcn.004ab850
call fcn.005293c0
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x545dfb
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x220]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp - 0x215], 0
je 0x545e8e
push 0x14
call fcn.005662c8
mov edi, eax
add esp, 4
test edi, edi
je 0x545e55
push 0
push 0
push 0
push ecx
mov esi, esp
lea eax, [ebp - 0x21c]
call fcn.004abbd0
push edi
call fcn.0044dcc0
mov edi, eax
jmp 0x545e57
xor edi, edi
call fcn.004c9900
mov esi, eax
call fcn.00479330
mov ebx, eax
test ebx, ebx
je 0x545e6c
mov dword [ebx + 0x18], edi
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x545e7b
call fcn.004ab850
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x545e97
call fcn.004ab850
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5460b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x210], ebx
call fcn.0041a360
test al, al
je 0x54610d
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ebp - 0x210]
mov word [ebp + eax*2 - 0x20c], bx
call fcn.004ab9d0
mov esi, dword [ebp - 0x210]
jmp 0x546192
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
mov dword [ebp - 0x214], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x546135
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x108]
lea eax, [ebp - 0x214]
call fcn.004ab970
mov esi, dword [ebp - 0x214]
cmp esi, ebx
je 0x546164
mov dword [esi + 0x10], 0x600
lea ebx, [ebp - 0x214]
lea edi, [ebp - 0x210]
call fcn.004abdf0
test esi, esi
je 0x54617e
call fcn.004ab850
call fcn.005293c0
mov esi, dword [ebp - 0x210]
xor ebx, ebx
test esi, esi
je 0x546192
mov dword [esi + 0x10], eax
cmp esi, ebx
push ecx
mov eax, esp
je 0x5461ba
cmp dword [esi + 0x10], 0x8000100
je 0x5461ba
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], esi
add dword [esi], 1
push eax
call fcn.00529150
add esp, 0xc
jmp 0x5461c3
cmp esi, ebx
mov dword [eax], esi
je 0x5461c3
add dword [esi], 1
call fcn.00447890
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x5461d6
call fcn.004ab850
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5461f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x420], ebx
call fcn.0041a360
test al, al
je 0x54627f
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x418]
push ecx
push ebx
push 0x580b08
lea edx, [ebp - 0x210]
push edx
mov word [ebp + eax*2 - 0x212], bx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x418]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x546254
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x420]
call fcn.004ab9d0
mov edi, dword [ebp - 0x420]
jmp 0x54631c
lea eax, [ebp - 0x318]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
push ecx
push ebx
push 0x580b6c
lea edx, [ebp - 0x318]
push edx
mov byte [ebp + eax - 0x319], bl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x41c], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5462c1
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x110]
lea eax, [ebp - 0x41c]
call fcn.004ab970
mov esi, dword [ebp - 0x41c]
cmp esi, ebx
je 0x5462f0
mov dword [esi + 0x10], 0x600
lea ebx, [ebp - 0x41c]
lea edi, [ebp - 0x420]
call fcn.004abdf0
test esi, esi
je 0x54630a
call fcn.004ab850
call fcn.005293c0
mov edi, dword [ebp - 0x420]
test edi, edi
je 0x54631c
mov dword [edi + 0x10], eax
test edi, edi
push ecx
mov eax, esp
je 0x546344
cmp dword [edi + 0x10], 0x8000100
je 0x546344
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], edi
add dword [edi], 1
push eax
call fcn.00529150
add esp, 0xc
jmp 0x54634d
test edi, edi
mov dword [eax], edi
je 0x54634d
add dword [edi], 1
call fcn.00447890
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x41c], ebx
je 0x5463d1
cmp dword [ebx + 0x18], 0
jne 0x546383
xor esi, esi
push 0x181
push str.........CommonWin32win32Folderitem.cpp
mov edx, 0x59e5bc
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov eax, dword [0x5f4d28]
test eax, eax
jne 0x5463b0
push 0x18
call fcn.005662c8
add esp, 4
test eax, eax
je 0x5463a9
mov ebx, eax
call fcn.004b1470
mov ebx, dword [ebp - 0x41c]
jmp 0x5463ab
xor eax, eax
mov dword [0x5f4d28], eax
mov ecx, dword [ebx + 0x18]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [esi + 8]
call fcn.0044b420
test edi, edi
je 0x5463dc
mov esi, edi
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x54a6b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x54a723
push ecx
push 0x589960
push 0x494
push 0x59e880
lea eax, [ecx + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x54a723
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [edi + 0x20]
test esi, esi
jne 0x54a73c
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0x28]
test edi, edi
je 0x54a74a
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x54a74c
xor edi, edi
test esi, esi
mov dword [ebx], 1
je 0x54a787
cmp dword [esi + 0x70], 0
je 0x54a787
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x54a787
mov eax, dword [esi + 0x70]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
neg edx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebx + 0x10], eax
test edi, edi
je 0x54a7d6
cmp dword [edi + 0x70], 0
je 0x54a828
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x54a828
mov eax, dword [edi + 0x70]
movzx edx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap]
pop edi
mov dword [ebx + 0xc], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
imul eax, dword [esi + 0x88]
push eax
call fcn.005662c8
mov ecx, dword [esi + 0x4c]
imul ecx, dword [esi + 0x88]
push ecx
mov edi, eax
push 0
push edi
call fcn.0056b660
mov esi, dword [esi + 0x70]
movzx edx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
mov ecx, dword [esi + 8]
add esp, 0x10
push edi
push edx
mov edx, dword [esi + 4]
push eax
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push edi
mov dword [ebx + 0xc], eax
call fcn.0056612f
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5520d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
push edi
mov ebx, eax
jne 0x55210b
xor edi, edi
mov esi, 0x57e81c
mov dword [ebx], edi
call fcn.004ab970
mov eax, dword [ebx]
test eax, eax
je 0x55220f
pop edi
mov dword [eax + 0x10], 0x600
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00552030
test al, al
jne 0x552118
mov eax, ebx
jmp 0x5520e3
cmp byte [esi + 0x35], 0
jne 0x552179
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x44]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x400
push 0x5fab20
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x55216c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x5521ab
cmp eax, 0x57
je 0x5521ab
cmp eax, 0x3e5
jne 0x5521ab
mov eax, 0x57e81c
mov byte [esi + 0x35], 1
call fcn.00401ed0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
mov byte [esi + 0x35], 0
mov ecx, dword [eax + 0x10]
push ecx
jmp 0x5521e1
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 0x10]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5521be
cmp eax, 0x102
je 0x5521ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.005517d0
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.004df460
mov eax, 0x57e81c
call fcn.00401ed0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x552196
mov ecx, dword [esi + 0x4c]
mov byte [esi + 0x35], 0
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [ebp - 4]
mov esi, 0x5fab20
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.004ab970
mov esi, dword [ebp - 8]
test esi, esi
mov dword [ebx], esi
je 0x55220f
add dword [esi], 1
call fcn.004ab850
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret