joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409184
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x41a2f1
call fcn.00410e40
sub esp, 0x440
mov eax, dword [0x4240b8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], ebx
mov eax, dword [0x424e6c]
push edi
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
lea esi, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00404adb
push ebx
push ebx
push 3
push ebx
push 1
push connect
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x40], eax
je 0x409319
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push eax
call edi
cmp eax, 0x10
mov dword [ebp - 0x3c], eax
jbe 0x409310
add eax, 4
push eax
mov dword [ebp - 0x44], ebx
call fcn.0040d85e
mov esi, eax
mov eax, dword [ebp - 0x3c]
add eax, 4
push eax
push ebx
push esi
mov dword [ebp - 0x34], esi
call fcn.0040d9f0
add esp, 0x10
push ebx
push ebx
push ebx
push dword [ebp - 0x40]
call edi
mov edi, dword [ebp - 0x3c]
push ebx
lea eax, [ebp - 0x44]
push eax
push edi
push esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x409310
cmp dword [ebp - 0x44], edi
jne 0x409310
cmp dword [esi], 0x4d454f4c
je 0x40928c
mov eax, dword [0x424e6c]
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push esi
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.0040934e
mov edi, dword [ebp - 0x34]
push edi
lea eax, [ebp - 0x38]
call fcn.004052c7
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040252d
jmp 0x409309
push dword [esi + 4]
lea edi, [ebp - 0x30]
push str._2_db_L_
push 0x20
pop eax
call fcn.004090c9
pop ecx
pop ecx
mov eax, edi
push eax
push eax
call fcn.0040db10
pop ecx
push eax
lea esi, [ebp - 0x44c]
call fcn.004093d4
mov eax, dword [ebp - 0x3c]
add eax, 4
push eax
call fcn.0040d85e
mov edi, dword [ebp - 0x3c]
mov esi, eax
mov dword [esi + edi], ebx
mov ebx, dword [ebp - 0x34]
lea eax, [edi - 8]
push eax
lea edx, [ebx + 8]
mov eax, esi
lea ecx, [ebp - 0x44c]
call fcn.004094cd
push ebx
call fcn.0040f4b5
lea ebx, [esi + 4]
add esp, 0x14
lea edx, [edi - 0xc]
mov ecx, ebx
mov dword [ebp - 0x34], esi
call fcn.00409125
cmp dword [esi], eax
jne 0x409310
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.00404b1b
push esi
call fcn.0040f4b5
pop ecx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
add esi, 0xfffffff0
mov eax, esi
call fcn.00404860
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.0040252d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00410647
leave
ret
Function at 0x4099fd
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
push eax
mov esi, 0x41d930
push esi
call fcn.0040eecc
cmp dword [ebp - 0x10], 0x10000
pop ecx
pop ecx
jl 0x409a2c
push 1
push str.c:_templlsetupbak.log
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
leave
ret

Function at 0x409c4f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41a27a
call fcn.00410e40
sub esp, 0x230
mov eax, dword [0x4240b8]
and dword [ebp - 0x23c], 0
push dword [0x425f10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push str.MINI_d
push eax
call fcn.0040f27f
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push dword [ebp + 8]
movzx eax, ax
cmp eax, 0x404
je 0x409cb0
cmp eax, 0x804
lea eax, [ebp - 0x20]
je 0x409ca9
push 0x4203fc
jmp 0x409cb8
push 0x42040c
jmp 0x409cb8
push 0x420404
lea eax, [ebp - 0x20]
push eax
call fcn.0040f27f
mov eax, dword [0x424e6c]
add esp, 0xc
push esi
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x238]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x238]
push 0x5c
push eax
call fcn.0040f24f
pop ecx
pop ecx
push str.llsetup.ini
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x238]
push eax
mov edx, 0xc8
push edx
lea esi, [ebp - 0x23c]
call fcn.0040241b
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x23c]
test esi, esi
jne 0x409d46
xor eax, eax
jmp 0x409d4d
push esi
call fcn.0040e73d
pop ecx
lea edx, [ebp - 0x23c]
call fcn.00402439
add esi, 0xfffffff0
mov eax, esi
call fcn.00404860
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.0040252d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop esi
call fcn.00410647
leave
ret
Function at 0x409e9b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41a3bb
call fcn.00410e40
sub esp, 0x420
mov eax, dword [0x4240b8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0040f24f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ecx
mov edi, eax
pop ecx
inc edi
push str.appdataconflava.ini
inc edi
push edi
call esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x420]
push eax
push 0x41da74
push str.CLIENTUPDATESERVERCGIURL
push str.SERVER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
push str.GetDebugServerInfo_URL__s_n
call fcn.00409a2f
cmp word [ebp - 0x420], 0
pop ecx
pop ecx
je 0x40a00b
mov eax, dword [0x424e6c]
mov edi, 0x424e6c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
and dword [ebp - 4], 0
mov eax, dword [0x424e6c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 1
mov eax, dword [0x424e6c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
mov byte [ebp - 4], 2
call fcn.00404b1b
lea eax, [ebp - 0x42c]
push eax
push 0x424c6c
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00406c4f
push dword [ebp - 0x428]
mov ebx, 0x4256d8
push ebx
call esi
push dword [ebp - 0x42c]
mov edi, 0x4254d0
push edi
call esi
push edi
push dword [0x424c6c]
push ebx
push str.GetDebugServerInfo_g_szServerDNS___s__g_uServerPort_u__cgi_s_n
call fcn.00409a2f
mov eax, dword [ebp - 0x42c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040252d
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
call fcn.0040252d
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call fcn.0040252d
jmp 0x40a073
push str.llsetup.ini
push edi
call esi
lea eax, [ebp - 0x218]
push eax
push ebx
mov ebx, 0x4256d8
push ebx
push str.www.lava_lava.com
push str.server
mov edi, str.update
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push 0x50
push str.port
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str._cgi_bin_update
mov edi, 0x4254d0
push edi
mov dword [0x424c6c], eax
call esi
push edi
push dword [0x424c6c]
push ebx
push str.GetDebugServerInfo_llsetup.ini_g_szServerDNS___s__g_uServerPort_u__cgi_s_n
call fcn.00409a2f
add esp, 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00410647
leave
ret
Function at 0x40a65e
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x41a390
call fcn.00410e40
sub esp, 0x224
mov eax, dword [0x4240b8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov esi, str._build_info
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, 0x104
push edi
lea esi, [ebp - 0x224]
mov dword [ebp - 0x10], eax
call fcn.0040ab5f
test eax, eax
mov eax, esi
je 0x40a6b0
push eax
push str.GetLavaVersion_GetValidInstallDir___s_n
call fcn.00409a2f
jmp 0x40a6cb
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.0040f24f
mov word [eax + 2], bx
pop ecx
pop ecx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x226], 0x5c
lea eax, [ebp - 0x224]
je 0x40a6f2
push str._verinfo.dat
jmp 0x40a6f7
push str.verinfo.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x224]
push eax
push str.GetLavaVersion_szVerFile___s_n
call fcn.00409a2f
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push connect
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40a74a
push 0x41fafc
push dword [ebp + 8]
call fcn.0040ae7b
mov eax, dword [ebp + 8]
jmp 0x40a85c
lea eax, [ebp - 0x224]
push eax
push str.GetLavaVersion_OpenFile_OK.___s_n
call fcn.00409a2f
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x228], eax
inc eax
push eax
call fcn.0040d85e
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x228]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
push 0x208
mov byte [esi + eax], bl
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0040d9f0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
push esi
call fcn.0040994d
push esi
call fcn.0040f4b5
pop ecx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ae7b
lea eax, [ebp - 0x224]
push eax
push str._build_real
push eax
lea edi, [ebp - 0x230]
mov dword [ebp - 4], ebx
call fcn.0040d3a5
mov byte [ebp - 4], 1
push dword [ebp - 0x22c]
mov esi, dword [ebp - 0x230]
push esi
call fcn.0040fa39
test eax, eax
pop ecx
pop ecx
je 0x40a82a
add esi, 0xfffffff0
mov eax, esi
call fcn.00406659
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
jmp 0x40a847
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0040d3a5
lea eax, [esi - 0x10]
call fcn.0040252d
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.0040252d
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00410647
leave
ret
Function at 0x40a89e
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x4240b8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
mov dword [ebp + 0x398], eax
je 0x40a957
cmp word [esi], bx
je 0x40a957
push edi
push 0x104
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x78]
push 0x5c
push eax
call fcn.0040f24f
pop ecx
inc eax
inc eax
pop ecx
mov dword [ebp - 0x80], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0x190]
push eax
call esi
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [ebp + eax*2 + 0x190]
cmp word [edi - 2], 0x5c
je 0x40a923
mov word [edi], 0x5c
inc edi
inc edi
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 0x7c]
lea ebx, [ebx + 0x424cd8]
push dword [ebx]
push dword [ebp - 0x80]
call esi
push dword [ebx]
push edi
call esi
push 1
push edi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add dword [ebp - 0x7c], 4
cmp dword [ebp - 0x7c], 0x14
jb 0x40a926
xor eax, eax
inc eax
pop edi
jmp 0x40a959
xor eax, eax
mov ecx, dword [ebp + 0x398]
pop esi
pop ebx
call fcn.00410647
add ebp, 0x39c
leave
ret
Function at 0x40a9f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41a234
call fcn.00410e40
sub esp, 0x220
mov eax, dword [0x4240b8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
push dword [0x424cf0]
add eax, eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
xor esi, esi
push eax
mov dword [ebp - 0x224], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [0x425a88], si
lea eax, [ebp - 0x218]
je 0x40aa61
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.LvOem
push eax
call edi
push 0x425a88
lea eax, [ebp - 0x218]
push eax
call edi
jmp 0x40aa6e
push dword [0x424ccc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
push esi
lea eax, [ebp - 0x21c]
push eax
push esi
mov ebx, 0xf003f
push ebx
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push connect
call edi
cmp dword [ebp + 8], esi
jne 0x40aaa8
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
jmp 0x40aaf3
mov eax, dword [0x424e6c]
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push 0x41fe64
push eax
mov dword [ebp - 4], esi
call fcn.004023bd
add esp, 0xc
push esi
lea eax, [ebp - 0x220]
push eax
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push esi
push esi
push ebx
push dword [ebp - 0x21c]
call edi
lea eax, [ebx - 0x10]
call fcn.0040252d
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [0x424cf4]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop ebx
jne 0x40ab26
mov dword [ebp - 0x224], 1
push dword [ebp - 0x220]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
cmp dword [ebp + 8], esi
je 0x40ab41
push dword [ebp - 0x21c]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x224]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.00410647
leave
ret 0xc

Function at 0x40abaf
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41a2c5
call fcn.00410e40
sub esp, 0x14
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00404c9f
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [0x424cec]
lea eax, [ebp - 0x10]
push eax
call fcn.004047d6
push dword [ebp - 0x10]
push esi
push str.CheckDate
push str.LastUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx esi, word [ebp - 0x20]
movzx eax, word [ebp - 0x1e]
imul esi, esi, 0x64
add esi, eax
movzx eax, word [ebp - 0x1a]
imul esi, esi, 0x64
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
sub esi, edi
call fcn.0040252d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40ae52
Capabilities:
Create process on windows

Disassembly:
push 0
push str.uninst.exe__s
call dword [sym.imp.KERNEL32.dll_WinExec]
push esi
call fcn.00406f65
push esi
call fcn.0040adfd
push eax
push esi
push 0x41fd80
call fcn.00409a2f
add esp, 0xc
ret
Function at 0x40b362
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4240b8]
push ebx
push esi
push 0x3f3
push dword [ebp + 0x1a8]
mov dword [ebp + 0x19c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x70], eax
push 0x104
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x6c]
push 0x5c
push eax
call fcn.0040f24f
mov esi, eax
pop ecx
inc esi
pop ecx
inc esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x404
je 0x40b3e1
cmp eax, 0x804
je 0x40b3d9
push dword [0x424d00]
jmp 0x40b3e7
push dword [0x424cf8]
jmp 0x40b3e7
push dword [0x424cfc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push 0x80
push 3
push ebx
push ebx
push connect
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x74], eax
jne 0x40b41e
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
or eax, 0xffffffff
jmp 0x40b471
push edi
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0040d85e
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x78]
push eax
push esi
push edi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x80]
push eax
push 0x461
push dword [ebp - 0x70]
mov byte [edi + esi], bl
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.0040f4b5
pop ecx
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x19c]
pop esi
pop ebx
call fcn.00410647
add ebp, 0x1a0
leave
ret

Function at 0x40b520
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ac
mov eax, dword [0x4240b8]
push 0x83
push dword [0x4258f0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x3ac], 0x3a8
mov dword [ebp - 0x3a8], esi
mov dword [ebp - 0x3a4], 1
mov dword [ebp - 0x3a0], 7
mov dword [ebp - 0x39c], 0x6fd
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x394]
push eax
push 0x80
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x3ac]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp dword [ebp - 0x398], 0
je 0x40b5af
push dword [ebp - 0x398]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
call fcn.00410647
leave
ret
Function at 0x40b634
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 4], 4
push esi
mov esi, eax
jne 0x40b65a
push 4
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0040b1ab
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40b89e
cmp dword [esp + 8], 3
jne 0x40b89e
cmp dword [0x424e4c], 0xffffffff
jne 0x40b686
cmp dword [0x425f10], 0xffffffff
jne 0x40b686
mov dword [0x424e4c], 1
jmp 0x40b89e
mov eax, dword [0x425f1c]
test eax, eax
push ebx
jne 0x40b694
xor ebx, ebx
jmp 0x40b69f
mov ebx, dword [0x425f20]
sub ebx, eax
sar ebx, 2
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push esi
call edi
push dword [0x424e4c]
mov ebp, eax
push esi
push str.OnQuietDownloadInstallTimer_hDlg_x__nState_d_n
call fcn.00409a2f
mov ecx, dword [0x424e4c]
add esp, 0xc
test ecx, ecx
jge 0x40b6f5
and dword [0x424e4c], 0
push 3
mov eax, esi
call fcn.0040b12c
test eax, eax
jg 0x40b6ef
call fcn.0040b1ab
push 0xffffffffffffffff
call fcn.0040f475
push 0
push 9
jmp 0x40b72a
jne 0x40b760
mov edi, 0x425f18
push edi
call fcn.004039f8
test eax, eax
jl 0x40b89b
cmp eax, 0x64
jge 0x40b73b
cmp eax, 0x5f
jle 0x40b717
push 0x5f
pop eax
push 0
lea eax, [eax + eax*4]
push 0x64
shl eax, 3
xor edx, edx
pop ecx
div ecx
add eax, 0xa
push eax
push 0x402
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40b89b
push 0
mov ecx, edi
call fcn.00404055
push 0x85
push 0xffffffffffffffff
push esi
mov dword [0x424e4c], 1
call fcn.0040afed
jmp 0x40b89b
test ecx, ecx
jle 0x40b787
cmp ecx, 3
jge 0x40b787
mov eax, ecx
inc ecx
xor edx, edx
mov dword [0x424e4c], ecx
call fcn.00408b83
mov eax, dword [0x424e4c]
lea eax, [eax + eax*4]
lea eax, [eax + eax + 0x31]
jmp 0x40b7e7
push 3
pop eax
cmp ecx, eax
jle 0x40b7b0
cmp ecx, 5
jg 0x40b7b0
mov eax, ecx
inc ecx
xor edx, edx
mov dword [0x424e4c], ecx
call fcn.00408b83
mov eax, dword [0x424e4c]
lea eax, [eax + eax*4 + 0xf]
shl eax, 1
jmp 0x40b7e7
cmp dword [0x426360], ebx
jge 0x40b7fc
mov edx, dword [0x426360]
inc dword [0x426360]
call fcn.00408b83
mov eax, dword [0x426360]
cmp eax, ebx
jl 0x40b7dc
mov dword [0x424e4c], 4
lea eax, [eax + eax*4]
shl eax, 1
cdq
idiv ebx
add eax, 0x46
push 0
push eax
push 0x402
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x424e4c]
cmp ecx, 5
jle 0x40b89b
push 3
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0040b1ab
mov eax, dword [0x425f10]
cmp eax, 0xffffffff
jne 0x40b828
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40b89b
xor ebp, ebp
cmp eax, ebp
je 0x40b835
push 0x8a
jmp 0x40b83a
push 0x89
push 0xffffffffffffffff
push esi
call fcn.0040afed
call fcn.00409c2c
push 0x64
pop ecx
xor edx, edx
div ecx
push dword [eax*4 + 0x424d10]
push 2
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebp
push 0x3ed
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push ebp
push 0x3e8
push esi
call edi
push eax
call ebx
push 1
push 0xfffffffffffffff4
push 2
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebp
push 0x3a98
push 4
push esi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x40bb61
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, 0x41a690
call fcn.00410e40
cmp dword [ebp + 0xc], 5
jne 0x40bce8
mov eax, dword [0x42635c]
push esi
xor esi, esi
cmp eax, esi
jne 0x40bbad
or dword [0x42635c], 0xffffffff
push esi
push esi
push esi
push 0x40ba9c
push esi
push esi
mov dword [0x425da8], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42635c], 0xfffffffe
jmp 0x40bce7
cmp eax, 0xffffffff
je 0x40bce7
cmp eax, 0xfffffffe
push ebx
push edi
jne 0x40bc75
mov eax, dword [0x425da8]
cmp eax, esi
je 0x40bce5
cmp eax, 0x1000
push esi
jge 0x40bbec
or dword [0x42635c], 0xffffffff
push 0x8b
push dword [ebp + 8]
call fcn.00409e33
jmp 0x40bc02
lea eax, [ebp + 8]
push eax
call fcn.00404c9f
pop ecx
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], esi
jne 0x40bc09
push 1
call fcn.0040f475
mov eax, dword [0x424e6c]
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
mov eax, dword [0x425da8]
push eax
push eax
push dword [0x425dac]
lea eax, [ebp + 0xc]
push str._s0_ld_ld1_r_n_r_n
push eax
call fcn.004023bd
mov esi, dword [ebp + 0xc]
add esp, 0x14
push dword [ebp + 8]
mov edi, 0x425f18
push esi
mov ebx, edi
call fcn.004035d7
call fcn.004035ac
lea eax, [esi - 0x10]
mov dword [0x42635c], 1
call fcn.0040252d
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040252d
jmp 0x40bce5
mov edi, 0x425f18
push edi
call fcn.004039f8
mov ebx, eax
cmp ebx, esi
jl 0x40bce5
cmp ebx, 0x64
jge 0x40bcc3
cmp ebx, 0x5f
jle 0x40bc93
push 0x5f
pop ebx
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov ecx, eax
push 0x64
pop esi
lea eax, [ebx + ebx*4]
shl eax, 3
xor edx, edx
div esi
add eax, 0xa
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40bce5
push esi
mov ecx, edi
call fcn.00404055
mov esi, dword [ebp + 8]
push 5
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0040b1ab
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8