joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f3d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44c9a0
call fcn.0044b2e0
push ecx
push esi
mov esi, ecx
and dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
call fcn.0040ef3e
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0041ffc0
lea ecx, [esi + 0x30]
call fcn.00402e3f
and dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f409
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44c9cb
call fcn.0044b2e0
push ecx
push esi
mov esi, ecx
and dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0040ef3e
and dword [ebp - 4], 0
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041ffc0
lea ecx, [esi + 0x3c]
call fcn.00402e3f
lea ecx, [esi + 0x40]
call fcn.00402e3f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f414
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44c9cb
call fcn.0044b2e0
push ecx
push esi
mov esi, ecx
and dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0040ef3e
and dword [ebp - 4], 0
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041ffc0
lea ecx, [esi + 0x3c]
call fcn.00402e3f
lea ecx, [esi + 0x40]
call fcn.00402e3f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x410535
Capabilities:
Access peb ldr_data

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x452bac
mov dword [esi + 4], 0x452b90
mov dword [esi + 8], 0xc0000001
mov ecx, dword [0x464b58]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
pop esi
jmp fcn.0040f753

Function at 0x410fb5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44cd87
call fcn.0044b2e0
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
call fcn.0040ef3e
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0041ffc0
mov dword [esi + 0x44], edi
lea ecx, [esi + 0x4c]
call fcn.00402e3f
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 8
call fcn.00410161
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41276f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x44d16b
call fcn.0044b2e0
sub esp, 0x98
push ebx
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0xa4]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
lea eax, [ebp - 0x60]
push esi
push eax
mov dword [ebp - 0xa4], 0x44
call sub.MSVCR71.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0x18
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403779
push 0x452f4c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00408652
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408652
push 0x3c
lea eax, [ebp - 0x50]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], esi
call fcn.0041ed65
test eax, eax
mov dword [ebp - 0x44], str.open
je 0x412809
mov dword [ebp - 0x44], str.runas
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
call fcn.0040a7a3
mov ecx, eax
call fcn.0040948f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 5
jne 0x41283b
or esi, 0xffffffff
jmp 0x412872
cmp dword [ebp - 0x18], esi
je 0x412836
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x14], esi
je 0x412851
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x41286f
mov esi, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x414023
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x44d4f9
call fcn.0044b2e0
sub esp, 0x38
push ebx
push esi
push edi
push dword [0x464f00]
mov esi, ecx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4141c7
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esi, 0x40
xor edi, edi
cmp dword [esi], edi
jne 0x4140cb
push esi
push 0x4517b0
push 0x17
push edi
push 0x451848
call dword [sym.imp.ole32.dll_CoCreateInstance]
push dword [0x464f00]
lea ecx, [ebp - 0x24]
call fcn.00402143
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
mov word [ebp - 0x44], di
call fcn.0040f674
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0xe]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call ebx
test esi, esi
jne 0x4141c7
xor edi, edi
mov esi, dword [ebp - 0x1c]
push dword [esi + 0x40]
lea ecx, [ebp - 0x10]
call fcn.0040ef5b
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x34]
lea ecx, [ebp - 0x34]
call fcn.0041ffc0
push str.ThunderUpdate
push 0x452f24
push str.Update
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004201b5
cmp dword [ebp - 0x14], edi
je 0x414188
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0041f9f4
mov dword [ebp - 0x18], edi
push str.Param
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00403aaa
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0041face
push dword [ebp - 0x28]
mov byte [ebp - 4], 7
call ebx
push 1
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0041276f
push dword [ebp - 0x18]
call ebx
push dword [ebp - 0x1c]
call ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0041ffd6
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x4141a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x4141b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
or dword [ebp - 4], 0xffffffff
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x4141cc
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x414280
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
push ebp
lea edi, [esi + 0x4c]
push ebp
mov ecx, edi
mov dword [esi + 0x48], 1
call fcn.0041147d
mov ebx, dword [esi + 0x94]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
mov ecx, edi
call fcn.00404310
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push 0x414249
push ebp
push ebp
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x44], eax
je 0x4142d5
xor eax, eax
jmp 0x4142dd
mov dword [esi + 0x48], ebp
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x415c05
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x38]
mov eax, dword [edi]
test eax, eax
je 0x415c2d
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [0x464e50]
je 0x415c24
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
push 0
push edi
call dword [sym.imp.ATL71.DLL_Ordinal_30]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x415c52
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415c52
push 0xffffffffffffffff
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415c73
push 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x464e50]
and dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x415c95
push esi
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x4160cf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x44d9bd
call fcn.0044b2e0
sub esp, 0x98
push ebx
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0xa4]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
lea eax, [ebp - 0x60]
push esi
push eax
mov dword [ebp - 0xa4], 0x44
call sub.MSVCR71.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0x18
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403779
push 0x452f4c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00408652
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408652
push 0x3c
lea eax, [ebp - 0x50]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], esi
call fcn.0041ed65
test eax, eax
mov dword [ebp - 0x44], str.open
je 0x416169
mov dword [ebp - 0x44], str.runas
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
call fcn.0040a7a3
mov ecx, eax
call fcn.0040948f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 5
jne 0x41619b
or esi, 0xffffffff
jmp 0x4161d2
cmp dword [ebp - 0x18], esi
je 0x416196
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x14], esi
je 0x4161b1
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4161cf
mov esi, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x41644d
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x416425
push 0
push 0
mov dword [esi + 0x48], 1
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x44], eax
je 0x41647d
xor eax, eax
jmp 0x416486
and dword [esi + 0x48], 0
mov eax, 0x80004005
pop esi
pop ecx
ret
Function at 0x4185d3
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4185ee
push 0xb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x418634
push 0x3e8
push eax
mov dword [esi + 0x448], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41861e
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x444]
cmp eax, 0xffffffff
je 0x418630
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [esi + 0x2c], 0xffffffff
pop esi
ret

Function at 0x418636
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41865d
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
or dword [esi + 0x2c], 0xffffffff
mov ecx, esi
call fcn.0041855e
xor eax, eax
pop esi
ret 0x10
Function at 0x418e87
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.004185d3
lea edi, [esi + 0x444]
cmp dword [edi], 0xffffffff
jne 0x418eaf
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x418ed1
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x418d4a
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 0x2c], eax
jne 0x418ed8
mov eax, 0x80004005
jmp 0x418eda
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x419401
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x44e003
call fcn.0044b2e0
sub esp, 0x1a8
mov eax, dword [0x464b24]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
xor eax, ebp
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [esi + 0x448], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419487
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x1a4], esp
push edi
push SysReAllocStringLen
mov dword [eax], edi
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a4], esp
mov dword [eax], ecx
push edi
mov ecx, esi
call fcn.0041868b
cmp eax, edi
jne 0x419487
mov eax, 0x80004005
jmp 0x41954f
xor ebx, ebx
inc ebx
cmp dword [esi + 0x38], edi
jne 0x4194b0
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x4194ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41947d
mov dword [esi + 0x38], ebx
mov ecx, esi
call fcn.00419252
mov eax, dword [esi + 0x34]
cmp dword [eax - 0xc], edi
jne 0x4194c4
mov dword [esi + 0x30], edi
jmp 0x41947d
cmp dword [esi + 0x3c], edi
jne 0x419535
lea ecx, [ebp - 0x1a4]
call fcn.00402e3f
lea eax, [ebp - 0x1a4]
push eax
mov dword [ebp - 4], edi
call fcn.00402b25
mov ecx, eax
call fcn.004027be
push 0x400
lea eax, [esi + 0x44]
push eax
push dword [ebp - 0x1a4]
push 0x40a
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAAsyncGetHostByName]
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x419527
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x1a4]
add ecx, 0xfffffff0
call fcn.004021db
jmp 0x41947d
mov ecx, dword [ebp - 0x1a4]
add ecx, 0xfffffff0
call fcn.004021db
cmp dword [esi + 0x3c], edi
mov dword [esi + 0x30], ebx
je 0x41954d
mov ecx, esi
call fcn.00418e87
cmp eax, edi
je 0x41954f
mov dword [esi + 0x30], edi
jmp 0x41954f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b2c4
leave
ret
Function at 0x41b972
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], esi
call fcn.0041ed65
test eax, eax
mov dword [ebp - 0x34], str.open
je 0x41b9b2
mov dword [ebp - 0x34], str.runas
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
call fcn.0040a7a3
mov ecx, eax
call fcn.0040948f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 5
je 0x41b9eb
cmp dword [ebp - 8], esi
jne 0x41b9f0
or eax, 0xffffffff
jmp 0x41ba22
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], esi
je 0x41ba01
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x41ba1f
mov esi, dword [ebp - 8]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc
Function at 0x41c2da
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x41c2b2
push 0
push 0
mov dword [esi + 0x48], 1
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x44], eax
je 0x41c30a
xor eax, eax
jmp 0x41c313
and dword [esi + 0x48], 0
mov eax, 0x80004005
pop esi
pop ecx
ret

Function at 0x41c970
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x44e6bf
call fcn.0044b2e0
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov ebx, ecx
push eax
mov dword [ebp - 0x20], ebx
call fcn.0041f979
mov dword [esp], str.xlupdatedownloadhistory.xml
push eax
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004026cd
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004021db
mov edi, dword [ebp - 0x14]
push edi
mov ecx, ebx
call fcn.0040c745
add ebx, 4
cmp dword [ebx], esi
jne 0x41ca83
push ebx
push 0x4517b0
push 0x17
push esi
push 0x451848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x41ca7e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x1c]
jne 0x41ca28
push str._DownloadHistory__
call fcn.00402143
mov eax, dword [eax]
mov ecx, dword [ebx]
mov edx, dword [ecx]
lea edi, [ebp - 0x10]
push edi
push eax
push ecx
mov byte [ebp - 4], 3
call dword [edx + 0x104]
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41ca76
push edi
call fcn.00402143
push eax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], si
call fcn.0040f674
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 5
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
cmp dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x14]
jge 0x41ca83
lea ecx, [edi - 0x10]
jmp 0x41cac5
push edi
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], si
call fcn.00404434
mov ebx, dword [ebx]
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
mov byte [ebp - 4], 6
movsd dword es:[edi], dword [esi]
call dword [eax + 0x108]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], 1
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41eef5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44e9c9
call fcn.0044b2e0
push ecx
and dword [ebp - 0x10], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.00402e3f
and dword [ebp - 4], 0
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00402547
mov esi, eax
push esi
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
pop esi
je 0x41ef41
and word [eax + 2], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00407235
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402529
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret

Function at 0x41f183
Capabilities:
Get file version info

Disassembly:
mov eax, 0x44e9c9
call fcn.0044b2e0
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], ebx
jne 0x41f1ad
mov ecx, dword [ebp + 8]
push 0x451a60
call fcn.00403779
jmp 0x41f276
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x41f1d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0x451a60
call fcn.00403779
jmp 0x41f275
push edi
push esi
call fcn.0044b28e
push esi
mov edi, eax
push ebx
push edi
call sub.MSVCR71.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00402e3f
push edi
push esi
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41f256
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x451940
push edi
mov dword [ebp + 0xc], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41f256
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x41f256
cmp dword [ebp - 0x18], 0x34
jne 0x41f256
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
lea eax, [ebp - 0x10]
push str._u._u._u._u
push eax
call fcn.00403766
add esp, 0x18
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402529
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021db
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f35d
Capabilities:
Create directory

Disassembly:
mov eax, 0x44e9c9
call fcn.0044b2e0
push ecx
push ecx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00403779
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0041f031
lea ecx, [ebp - 0x10]
call fcn.0041efd7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x41f443
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
push eax
call ebx
test eax, eax
push dword [ebp - 0x10]
je 0x41f3af
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x41f3c9
call fcn.0042273d
test eax, eax
pop ecx
je 0x41f442
push 1
push dword [ebp - 0x10]
call fcn.0041f286
pop ecx
pop ecx
cmp eax, esi
je 0x41f3d2
xor esi, esi
inc esi
jmp 0x41f442
push edi
push 1
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040949b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41f411
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ee32
push 0
push dword [eax]
call edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021db
inc esi
push esi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040949b
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f3e7
push 0
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call ebx
test eax, eax
pop edi
je 0x41f434
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x41f440
push 1
push dword [ebp - 0x10]
call fcn.0041f286
pop ecx
pop ecx
mov esi, eax
pop ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret