joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4127f0
Capabilities:
Access peb ldr_data
Create process on windows
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48f9fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1240
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x123c], eax
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x124c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0xe3e]
push edi
push eax
mov esi, ecx
mov word [esp + 0xe44], di
call fcn.00477c40
mov ecx, dword [esi + 0x698]
add esp, 0xc
call fcn.004083b0
fstp dword [esp + 0x18]
mov ecx, dword [esi + 0x698]
call fcn.004083c0
fstp dword [esp + 0x14]
fldz
lea ecx, [esp + 0x10]
push ecx
fst dword [esp + 0x10]
lea edx, [esp + 0x10]
fstp dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.00410180
fld dword [esp + 0x14]
sub esp, 0x20
fstp qword [esp + 0x18]
lea eax, [esi + 0x3154]
fld dword [esp + 0x38]
lea ecx, [esp + 0xe58]
fstp qword [esp + 0x10]
fld dword [esp + 0x30]
fstp qword [esp + 8]
fld dword [esp + 0x2c]
fstp qword [esp]
push eax
push str.Download_Complete__s__Max_avg_speed_:__f_KB_Min_avg_speed_:__f_KB_final_avg_speed:__f_KB_ins_speed:__f_KB
push 0x104
push ecx
call fcn.00477bdc
lea edx, [esp + 0xe68]
push edx
call fcn.00401030
add esp, 0x34
mov ecx, esi
call fcn.0040fcc0
mov ecx, dword [esi + 4]
push 0x400
push 0x32
lea eax, [esp + 0xddc]
push eax
push 0x193
push ecx
call fcn.0040e380
mov eax, dword [esi + 4]
push 0x400
push 0x32
lea edx, [esp + 0xd8c]
push edx
push 0x196
push eax
call fcn.0040e380
mov edx, dword [esi + 4]
push 0x400
push 0x104
lea ecx, [esp + 0x1070]
push ecx
push 0x102
push edx
call fcn.0040e380
lea eax, [esp + 0x107c]
lea ecx, [esp + 0xe10]
lea edx, [esp + 0xdac]
add esp, 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x492aa0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [esi + 0xc]
push edi
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edi
call fcn.00407b90
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1254], edi
call fcn.00407530
cmp eax, 0x322
jne 0x4129dd
push str.User_click_OK_in_DL_COMPLETE_dlg
call fcn.00401030
mov edx, dword [esi + 0xc]
add esp, 4
push 7
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
push edi
lea eax, [esi + 0x2934]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4129f1
push str.User_click_CANCEL_in_DL_COMPLETE_dlg
call fcn.00401030
add esp, 4
mov ecx, esi
call fcn.0040f020
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1254], 0xffffffff
call fcn.004072f0
xor eax, eax
mov ecx, dword [esp + 0x124c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x123c]
xor ecx, esp
call fcn.00477bf8
add esp, 0x124c
ret
Function at 0x412cf0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x200c
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x2008], eax
push esi
push edi
mov edi, dword [esp + 0x201c]
push str.Download_Pause
mov esi, ecx
call fcn.0040de80
mov ecx, dword [esi + 0x698]
add esp, 4
call fcn.004083b0
fstp dword [esp + 8]
mov ecx, dword [esi + 0x698]
call fcn.004083c0
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov eax, dword [esp + 0x2018]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [esp + 0x18]
fld dword [esp + 0x10]
fstp dword [esp]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00412a30
lea edx, [esp + 0x10]
push edx
call fcn.00401030
add esp, 4
mov ecx, esi
call fcn.0040e870
mov ecx, dword [esi + 0x694]
call fcn.00402a10
mov edi, eax
test edi, edi
jl 0x412dd7
mov eax, dword [esi + 0xa580]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x412dc8
push ebx
lea ebx, [esi + 0x5f34]
push 5
mov ecx, ebx
call fcn.00406760
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, ebx
call fcn.00406720
mov dword [esi + 0xa578], 2
pop ebx
jmp 0x412de5
push str.Fail_to_reset_DownloadState_event
call fcn.0040de80
add esp, 4
jmp 0x412de5
push edi
push str.Fail_to_abort_download:__x
call fcn.0040de80
add esp, 8
mov ecx, dword [esp + 0x2010]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00477bf8
add esp, 0x200c
ret 8
Function at 0x4134e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48fafb
mov eax, dword fs:[0]
push eax
mov eax, 0x1230
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x122c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x1244]
mov dword fs:[0], eax
push str.ExceptionHandle_LowDiscSpace
mov esi, ecx
call fcn.0040de80
add esp, 4
xor edi, edi
xor ebp, ebp
cmp dword [esi + 0xa578], 1
jne 0x41354f
push edi
push 2
mov ecx, esi
call fcn.00412cf0
mov ebp, eax
cmp ebp, edi
jl 0x4136d3
mov ecx, dword [esi + 4]
push 0x400
push 0x32
lea eax, [esp + 0xdd4]
push eax
push 0x197
push ecx
call fcn.0040e380
mov eax, dword [esi + 4]
push 0x400
push 0x32
lea edx, [esp + 0xd84]
push edx
push 0x191
push eax
call fcn.0040e380
mov edx, dword [esi + 4]
push 0x400
push 0x104
lea ecx, [esp + 0x1068]
push ecx
push 0xcd
push edx
call fcn.0040e380
add esp, 0x3c
lea eax, [esp + 0x1038]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xdd0]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xd74]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00407b90
lea ecx, [esp + 0x34]
mov dword [esp + 0x124c], edi
call fcn.00407530
cmp eax, 0x322
jne 0x413629
push str.User_click_OK_in_LOW_DISCSPACE_dlg
call fcn.00401030
add esp, 4
push edi
mov ecx, esi
call fcn.00412360
mov ebp, eax
jmp 0x4136bf
push str.User_click_CANCEL_in_LOW_DISCSPACE_dlg
call fcn.00401030
lea eax, [esi + 0x2934]
lea edx, [esp + 0xe34]
add esp, 4
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x413645
lea edx, [esp + 0xe30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [esp + 0xe30]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x413670
mov ecx, dword [str..tmp]
mov edx, dword [0x495c1c]
mov dword [eax], ecx
mov cx, word [0x495c20]
mov dword [eax + 4], edx
lea edx, [esp + 0xe30]
push edx
mov word [eax + 8], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4136bf
lea eax, [esp + 0xe30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.00412e00
lea ecx, [esp + 0x34]
mov dword [esp + 0x124c], 0xffffffff
call fcn.004072f0
cmp dword [esi + 0xa578], 3
jne 0x413728
push edi
lea ecx, [esi + 0x588c]
call fcn.00406760
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
add esi, 0x5f34
push 5
mov ecx, esi
call fcn.00406760
push eax
call ebx
push edi
mov ecx, esi
call fcn.00406770
push eax
mov ecx, esi
call fcn.00406760
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00406760
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, ebp
mov ecx, dword [esp + 0x1244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x122c]
xor ecx, esp
call fcn.00477bf8
add esp, 0x123c
ret
Function at 0x4160a0
Capabilities:
Check for time delay via gettickcount
Get file size
Read .ini file

Disassembly:
sub esp, 0x4ec
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004114b0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [esi + 0x2f4c]
push edi
push 0x104
lea eax, [esp + 0xf0]
push eax
push 0x49526c
push str.FileSize
push 0x495298
call ebx
lea ecx, [esp + 0xe8]
push ecx
call fcn.00478ca0
add esp, 4
cdq
push edi
push 0x104
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x2f8]
push edx
push 0x49526c
push str.SavePath
push 0x495298
mov dword [esp + 0x28], eax
call ebx
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
lea eax, [esp + 0x308]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416166
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp ebx, eax
jne 0x4161ae
mov ecx, dword [esp + 0x14]
cmp ebp, ecx
jne 0x4161ae
or eax, ecx
je 0x4161ae
mov ecx, dword [esi + 0x698]
push ebp
push ebx
call fcn.00408d40
mov ecx, dword [esi + 0x698]
call fcn.00407fb0
mov ecx, dword [esi + 0x698]
call fcn.004083d0
mov ecx, esi
call fcn.0040f020
mov eax, 1
jmp 0x4162d4
mov ecx, esi
call fcn.00415d60
cmp eax, 1
jne 0x4162af
lea edx, [esi + 0x2934]
push edx
lea ecx, [esi + 0x9a80]
call fcn.0040a080
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 1
mov ecx, esi
mov ebx, eax
call fcn.00412360
mov ebp, eax
call edi
sub eax, ebx
test ebp, ebp
jne 0x416294
mov ecx, dword [esi + 0x698]
test ecx, ecx
je 0x41626d
mov edi, dword [esi + 0x694]
mov dword [esp + 0x10], ebp
mov edx, dword [edi + 0x1f8]
sub edx, dword [edi + 0x208]
imul edx, eax
mov eax, 0x6b5fca6b
mul edx
shr edx, 0x16
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x208]
mov dword [esp + 0x18], eax
mov edx, dword [edi + 0x20c]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00408d70
mov ecx, dword [esi + 0x698]
call fcn.004083d0
push eax
lea eax, [esi + 0x3154]
push eax
lea ecx, [esp + 0x28]
push str.Download_Start__s:__d__
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x416287
lea edx, [esi + 0x3154]
push edx
lea eax, [esp + 0x24]
push str.Download_Start__s:_0__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call fcn.00401030
add esp, 4
mov edx, dword [esi + 0x694]
movzx eax, byte [edx + 0x1f4]
push eax
lea ecx, [esi + 0x588c]
call fcn.00406720
jmp 0x4162cf
cmp byte [esi + 0xa599], 0
je 0x4162cf
push str.Failed_to_do_PrepareTask___
call fcn.00401030
mov ecx, dword [esi + 0xc]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 0x80004005
mov ecx, dword [esp + 0x4f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00477bf8
add esp, 0x4ec
ret
Function at 0x418fa0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x738]
sub esp, 0x738
push 0xffffffffffffffff
push 0x490050
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4b0650]
xor eax, ebp
mov dword [ebp + 0x734], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x740]
push 0x498724
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
cmp edi, ebx
je 0x419143
mov eax, dword [ebp + 4]
cmp eax, 5
jb 0x419143
jne 0x41902c
cmp dword [ebp + 8], 1
jne 0x41902c
cmp word [ebp + 0x114], 2
jb 0x419143
push ebx
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call sub.gdiplus.dll_GdiplusStartup
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
call fcn.0040e460
add esp, 4
push esi
call fcn.004144b0
add esp, 4
cmp eax, ebx
mov dword [0x4b1e90], eax
je 0x419194
mov ecx, dword [ebp + 0x74c]
push ecx
mov ecx, eax
call fcn.00418d90
cmp eax, ebx
jne 0x4190bf
mov ecx, 0x24
mov esi, str._ERROR__pDownloader__InitInstance____return_false._Exit_current_process_
lea edi, [ebp + 0x52c]
rep movsd dword es:[edi], dword [esi]
push 0x176
lea edx, [ebp + 0x5be]
push ebx
push edx
movsw word es:[edi], word [esi]
call fcn.00477c40
lea eax, [ebp + 0x52c]
push eax
call fcn.00401030
add esp, 0x10
jmp 0x419194
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
call esi
test eax, eax
je 0x4190ef
lea edx, [ebp - 0x40]
push edx
call edi
lea eax, [ebp - 0x40]
push eax
call ebx
jmp 0x4190d1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4b1c70]
test ecx, ecx
je 0x41911b
sub dword [0x4b1c74], 1
jne 0x41911b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x4b1c70], 0
mov ecx, dword [ebp - 0x14]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [ebp - 0x38]
jmp 0x419196
push 0x400
push 0x104
lea edx, [ebp + 0x11c]
push edx
push 0x190
push esi
call fcn.0040e380
push 0x400
push 0x104
lea eax, [ebp + 0x324]
push eax
push 0xd5
push esi
call fcn.0040e380
add esp, 0x28
push ebx
lea ecx, [ebp + 0x11c]
push ecx
lea edx, [ebp + 0x324]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x734]
xor ecx, ebp
call fcn.00477bf8
add ebp, 0x738
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419c60
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x490180
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x4b2ca0], bl
je 0x419e2b
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x64]
push eax
push ecx
push ebx
push ebx
call fcn.00479f63
xor edx, edx
add esp, 0x10
mov edi, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
lea esi, [edi + 1]
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x30]
cmp esi, ebx
ja 0x419ce2
push 0xffffffffffffffff
push esi
call fcn.00414930
jmp 0x419ce9
push ebx
push esi
call fcn.00415bd0
cmp dword [esp + 0x44], ebx
ja 0x419cf4
call fcn.00477786
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
jae 0x419d07
lea eax, [esp + 0x34]
push esi
push ebx
push eax
call fcn.00477c40
add esp, 0xc
cmp dword [esp + 0x44], ebx
ja 0x419d1d
call fcn.00477786
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x419d2b
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x64]
push ecx
push edx
push esi
push eax
call fcn.00479f63
xor eax, eax
add esp, 0x10
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
lea esi, [edi + 0xc]
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x14]
cmp esi, ebx
ja 0x419d6c
push 0xffffffffffffffff
push esi
call fcn.00414930
jmp 0x419d73
push ebx
push esi
call fcn.00415bd0
cmp dword [esp + 0x28], ebx
ja 0x419d7e
call fcn.00477786
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x419d8c
lea eax, [esp + 0x18]
push esi
push ebx
push eax
call fcn.00477c40
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x48], ebp
jae 0x419da5
lea edi, [esp + 0x34]
cmp dword [esp + 0x28], ebx
ja 0x419db0
call fcn.00477786
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x419dbe
lea esi, [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4989e4
push esi
call fcn.00401570
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [esp + 0x2c], ebp
jae 0x419de2
lea eax, [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call esi
push 0x4989e0
call esi
cmp dword [esp + 0x2c], ebp
jb 0x419e05
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00477a90
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], ebp
jb 0x419e2b
mov eax, dword [esp + 0x34]
push eax
call fcn.00477a90
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00477bf8
add esp, 0x48
ret
Function at 0x419e50
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4901c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x4b2ca0], bl
je 0x41a013
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x64]
push eax
push ecx
push ebx
push ebx
call fcn.0047a02f
add esp, 0x10
mov edi, eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [edi + 1]
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x30]
cmp esi, ebx
ja 0x419ecf
push 0xffffffffffffffff
push esi
call fcn.004035c0
jmp 0x419ed6
push ebx
push esi
call fcn.00415b20
cmp dword [esp + 0x44], ebx
ja 0x419ee1
call fcn.00477786
mov eax, dword [esp + 0x34]
mov ebp, 0x10
cmp dword [esp + 0x48], ebp
jae 0x419ef4
lea eax, [esp + 0x34]
push esi
push ebx
push eax
call fcn.00477c40
add esp, 0xc
cmp dword [esp + 0x44], ebx
ja 0x419f0a
call fcn.00477786
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x419f18
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x64]
push edx
push ecx
push esi
push eax
call fcn.0047a02f
add esp, 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [edi + 0xc]
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x14]
cmp esi, ebx
ja 0x419f56
push 0xffffffffffffffff
push esi
call fcn.004035c0
jmp 0x419f5d
push ebx
push esi
call fcn.00415b20
cmp dword [esp + 0x28], ebx
ja 0x419f68
call fcn.00477786
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x419f76
lea eax, [esp + 0x18]
push esi
push ebx
push eax
call fcn.00477c40
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x48], ebp
jae 0x419f8f
lea edi, [esp + 0x34]
cmp dword [esp + 0x28], ebx
ja 0x419f9a
call fcn.00477786
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x419fa8
lea esi, [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._08X_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [esp + 0x2c], ebp
jae 0x419fcd
lea eax, [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call esi
push 0x4989f4
call esi
cmp dword [esp + 0x2c], ebp
jb 0x419ff0
mov edx, dword [esp + 0x18]
push edx
call fcn.00477a90
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x48], ebp
jb 0x41a013
mov eax, dword [esp + 0x34]
push eax
call fcn.00477a90
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00477bf8
add esp, 0x48
ret
Function at 0x41a3c0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push str.Global9661BB2B_7119_4ee5_A048_B161A76304D9
push 1
push 0
mov esi, ecx
mov dword [esp + 0x18], 1
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc68], eax
call ebx
mov dword [esi + 0xc6c], eax
cmp eax, 0xb7
jne 0x41a458
mov eax, dword [esi + 0xc68]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc68]
test eax, eax
je 0x41a434
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esi + 0xc68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc68], 0
push str.Global9661BB2B_7119_4ee5_A048_B161A76304D9
push 1
push 0
call edi
mov dword [esi + 0xc68], eax
call ebx
mov dword [esi + 0xc6c], eax
cmp eax, 0xb7
jne 0x41a458
xor edi, edi
jmp 0x41a45c
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0xc68]
test eax, eax
je 0x41a484
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0xc68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc68], 0
mov eax, str.TRUE
test edi, edi
jne 0x41a492
mov eax, str.FALSE
push eax
push str.CInternal::isAllowToUpload
push str._UNO___s__bAllowUpload___s
call fcn.00419c60
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a4f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x21c]
push ebp
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x224]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00477c40
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 0x18]
push edx
push 0
call ebp
test eax, eax
je 0x41a588
push ebx
push edi
lea eax, [esp + 0x18]
push eax
push str._sCyberLinkCBE_s_s
push esi
call fcn.00401570
mov edi, esi
add esp, 0x14
add edi, 0xfffffffe
jmp 0x41a570
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a570
mov cx, word [0x492aa0]
mov word [edi], cx
jmp 0x41a5ae
push 1
push 0x1a
lea edx, [esp + 0x18]
push edx
push 0
call ebp
test eax, eax
je 0x41a5ae
push ebx
push edi
lea eax, [esp + 0x18]
push eax
push str._sCyberLinkCBE_s_s
push esi
call fcn.00401570
add esp, 0x14
push esi
push str.CInternal::getLogSavedPath
push str._UNO___s___s
call fcn.00419c60
mov ecx, dword [esp + 0x224]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00477bf8
add esp, 0x20c
ret 0xc