joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b70d
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov eax, dword [ebx + 4]
mov edi, 0x44e568
mov dword [ebp - 4], esi
test eax, eax
je 0x42b72c
mov edx, dword [eax]
jmp 0x42b739
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x42b737
mov edx, dword [ecx]
jmp 0x42b739
mov edx, edi
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42b742
mov edi, dword [ecx]
test eax, eax
je 0x42b754
xor eax, eax
test ecx, ecx
setne al
add eax, 0x20000150
jmp 0x42b763
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebp + 0xc]
push str.copy
push edi
push edx
push eax
push 2
call fcn.004072c6
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push edi
call fcn.00403b2c
test eax, eax
je 0x42b7e1
mov eax, dword [ebp - 4]
test al, 1
je 0x42b7e1
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42b7e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42b7b9
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42b7c0
mov esi, 0x80004005
push esi
push 0x538
push str.c:_agent_work35_swix_src_burnengine_apply.cpp
call fcn.004013b3
push edi
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.0044534a
add esp, 0xc
jmp 0x42b85f
push esi
lea eax, [ebx + 0x20]
push eax
push ebx
push fcn.0042b5e6
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x42b85f
cmp dword [ebx + 0x20], esi
je 0x42b81f
mov esi, 0x80070642
push esi
push 0x542
push str.c:_agent_work35_swix_src_burnengine_apply.cpp
call fcn.004013b3
push edi
push dword [ebp + 0xc]
push str.BA_aborted_copy_of_payload_from:__ls_to:__ls.
jmp 0x42b856
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42b836
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42b83d
mov esi, 0x80004005
push esi
push 0x546
push str.c:_agent_work35_swix_src_burnengine_apply.cpp
call fcn.004013b3
push edi
push dword [ebp + 0xc]
push str.Failed_attempt_to_copy_payload_from:__ls_to:__ls.
push esi
call fcn.0044534a
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43c1ff
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x43c24a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043c39e
test al, al
jne 0x43c244
sub edx, 2
cmp edx, edi
jne 0x43c22a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43c26c
lea eax, [edi + 2]
cmp edx, eax
je 0x43c26c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043c14b
add esp, 0x10
jmp 0x43c366
push esi
lea ecx, [ebp - 0x255]
call fcn.0043c39e
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c2af
push dword [ebp - 0x25c]
jmp 0x43c25c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x43c2ec
cmp word [ebp - 0x226], 0
je 0x43c30d
cmp word [ebp - 0x226], ax
jne 0x43c2ec
cmp word [ebp - 0x224], 0
je 0x43c30d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043c14b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43c359
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43c2c6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43c341
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43c366
push 0x43bf7b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00440830
add esp, 0x10
jmp 0x43c336
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ffc5
leave
ret

Function at 0x43db45
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46668c
push 0x466684
push str.FlsAlloc
push 0x1e
call fcn.0043da82
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43db79
push dword [ebp + 8]
mov ecx, esi
call dword [0x44e3d4]
call esi
jmp 0x43db7f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43dbc3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46669c
push 0x466694
push str.FlsGetValue
push 0x20
call fcn.0043da82
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43dbfa
push dword [ebp + 8]
mov ecx, esi
call dword [0x44e3d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x444db9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46f748
push str.AdvApi32.dll
call fcn.004013b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x444dfc
push str.SystemFunction040
push dword [0x46f748]
call edi
push str.SystemFunction041
push dword [0x46f748]
mov dword [0x46f738], eax
call edi
mov dword [0x46f73c], eax
jmp 0x444e01
mov eax, dword [0x46f73c]
cmp dword [0x46f738], 0
je 0x444e12
test eax, eax
jne 0x444eb9
push 0x46f74c
push str.Crypt32.dll
call fcn.004013b6
mov esi, eax
test esi, esi
js 0x444ec3
push str.CryptProtectMemory
push dword [0x46f74c]
call edi
cmp dword [0x46f738], 0
mov dword [0x46f740], eax
jne 0x444e77
test eax, eax
jne 0x444e77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444e61
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444e68
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work35_swix_srclibsdutilcryputil.cpp
call fcn.004013b3
jmp 0x444ec3
push str.CryptUnprotectMemory
push dword [0x46f74c]
call edi
cmp dword [0x46f73c], 0
mov dword [0x46f744], eax
jne 0x444eb9
test eax, eax
jne 0x444eb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444ead
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444eb4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x444e6b
mov dword [0x46f750], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x445407
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [str.unknown]
mov eax, 0x104
push edi
push eax
mov dword [ebp - 0x424], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], ebx
push eax
push ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x208
test eax, eax
jne 0x44546b
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00430e00
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00404143
test eax, eax
jns 0x445495
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4454bb
lea eax, [ebp - 0x414]
mov byte [eax], bl
inc eax
sub edi, 1
jne 0x4454b3
push ebx
lea eax, [ebp - 0x418]
push eax
call fcn.0044bc4d
push dword [ebp - 0x418]
push str._Logging_started:__ls_
push 2
pop edi
push edi
call fcn.00445831
mov ecx, dword [ebp - 0x41c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x420]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push eax
push str.Executable:__ls_v_d._d._d._d
push edi
call fcn.00445831
lea eax, [ebp - 0x414]
push eax
push str.Computer__:__ls
push edi
call fcn.00445831
mov eax, dword [0x46e878]
add esp, 0x34
sub eax, ebx
je 0x44555c
sub eax, 1
je 0x445554
sub eax, 1
je 0x44554c
sub eax, 1
je 0x445544
sub eax, 1
jne 0x445562
mov esi, dword [str.debug]
jmp 0x445562
mov esi, dword [str.verbose]
jmp 0x445562
mov esi, dword [str.standard]
jmp 0x445562
mov esi, dword [str.warning]
jmp 0x445562
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push edi
call fcn.00445831
add esp, 0xc
cmp dword [ebp - 0x418], 0
pop edi
pop esi
pop ebx
je 0x445588
push dword [ebp - 0x418]
call fcn.00403136
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042ffc5
leave
ret

Function at 0x44586f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
and dword [ebp - 4], esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x46e874]
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x4458ab
push edi
push ebx
push 0x46f760
call fcn.00402e52
mov esi, eax
test esi, esi
js 0x445902
xor esi, esi
jmp 0x445902
test eax, eax
je 0x445902
push 0
lea edx, [ebp - 4]
sub eax, edi
push edx
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4458e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4458de
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4458f2
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp edi, eax
jae 0x445902
mov ecx, dword [0x46e874]
jmp 0x4458af
push esi
push 0x310
push str.c:_agent_work35_swix_srclibsdutillogutil.cpp
call fcn.004013b3
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x445a42
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00430e00
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x445a74
mov eax, 0x44e568
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.004029f6
mov esi, eax
add esp, 0x10
test esi, esi
js 0x445af7
mov cx, word [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x44
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov word [ebp - 0x28], cx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x445aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x445ad3
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x445ada
mov esi, 0x80004005
push esi
push 0xcd
push str.c:_agent_work35_swix_srclibsdutilprocutil.cpp
call fcn.004013b3
jmp 0x445af7
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [eax], ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x445b0a
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x445b17
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x445b24
push dword [ebp - 4]
call fcn.00403136
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x44801a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
xor ebx, ebx
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.004481a9
cmp dword [ebp - 0x14], ebx
je 0x448056
mov dword [esi], 1
jmp 0x44808a
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esi], eax
test eax, eax
je 0x44808a
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x44808a
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x44809a
push dword [ebp - 0x10]
call fcn.00403136
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042ffc5
leave
ret 4
Function at 0x4480aa
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push edi
mov edi, dword [ebp + 0xc]
push pe_nt_image_headers32
push 0
push eax
call fcn.00430e00
mov eax, dword [0x46f800]
add esp, 0xc
test eax, eax
jne 0x448190
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp - 0x11c], 4
mov dword [0x46f804], ecx
jne 0x448120
xor eax, eax
inc eax
jmp 0x44818b
cmp dword [ebp - 0x11c], 5
jne 0x448151
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x448137
push 2
jmp 0x44818a
cmp ecx, 1
jne 0x448140
push 3
jmp 0x44818a
xor eax, eax
cmp ecx, 2
setne al
dec eax
and eax, 0xfffffffb
add eax, 9
jmp 0x44818b
cmp dword [ebp - 0x11c], 6
jne 0x448188
cmp dword [ebp - 0x118], 0
jne 0x448171
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x44818b
cmp dword [ebp - 0x118], 1
jne 0x448188
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x44818b
push 9
pop eax
mov dword [0x46f800], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [0x46f804]
mov dword [edi], eax
pop edi
pop esi
call fcn.0042ffc5
leave
ret 8

Function at 0x44934f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str._ls.R
push edi
call fcn.004029f6
mov esi, eax
add esp, 0xc
test esi, esi
js 0x44945b
push 0
push 0x80
push 4
push 0
push 4
push 0xc0000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4493d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4493bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4493c4
mov esi, 0x80004005
push esi
push 0xc1
push str.c:_agent_work35_swix_srclibsdutildlutil.cpp
call fcn.004013b3
jmp 0x44945b
mov ecx, dword [ebp - 4]
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x449421
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
je 0x44940b
cmp ecx, 8
jb 0x4493dc
cmp ecx, 8
je 0x449417
and dword [ebx], 0
and dword [ebx + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
or edi, 0xffffffff
jmp 0x44944f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449438
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x44943f
mov esi, 0x80004005
push esi
push 0xc8
push str.c:_agent_work35_swix_srclibsdutildlutil.cpp
call fcn.004013b3
cmp edi, 0xffffffff
je 0x44945b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4498f4
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
call fcn.00403fe8
mov esi, eax
test esi, esi
js 0x449a4a
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x449a1b
cmp dword [ebp - 4], 0
je 0x449a49
xor ebx, ebx
and dword [ebp + 0x10], ebx
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
sub eax, ebx
push eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4499f5
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x449979
cmp ebx, dword [ebp - 4]
jb 0x449948
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x4499c3
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.00403fe8
test eax, eax
js 0x4499c3
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*8]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 8]
cmp dword [ebp - 8], 0
je 0x4499c3
cmp ebx, 8
jb 0x44999c
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4499e9
cmp dword [eax], 0
je 0x4499e9
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.0044922d
mov esi, eax
test esi, esi
js 0x449a49
cmp dword [ebp - 4], 0
jne 0x44991e
jmp 0x449a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449a0c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x449a13
mov esi, 0x80004005
push esi
push 0x1a6
jmp 0x449a3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449a32
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x449a39
mov esi, 0x80004005
push esi
push 0x19a
push str.c:_agent_work35_swix_srclibsdutildlutil.cpp
call fcn.004013b3
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0x24
Function at 0x449a52
Capabilities:
Create http request
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push dword [ebx]
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
call fcn.00402c72
mov esi, eax
test esi, esi
js 0x449bba
xor eax, eax
push eax
push eax
push eax
push eax
push str.Burn
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x449ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449ac5
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x449acc
mov esi, 0x80004005
push esi
push 0x84
push str.c:_agent_work35_swix_srclibsdutildlutil.cpp
call fcn.004013b3
jmp 0x449bba
lea eax, [ebp - 4]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.00448da7
mov eax, dword [ebp - 4]
test eax, eax
je 0x449b2d
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.004492a6
mov esi, eax
test esi, esi
js 0x449bba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.0044934f
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00449003
mov esi, eax
test esi, esi
js 0x449bab
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x449bab
xor ecx, ecx
cmp word [eax], cx
je 0x449bab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 0xffffffff
je 0x449bba
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x449bc7
push eax
call fcn.00403136
test edi, edi
je 0x449bd2
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], 0
je 0x449be0
push dword [ebp - 8]
call fcn.00403136
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x44bf71
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x44bfc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44bfb2
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44bfc3
push esi
push 0x18
push str.c:_agent_work35_swix_srclibsdutilinetutil.cpp
call fcn.004013b3
jmp 0x44bfcf
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
and dword [edx + 4], 0
mov dword [edx], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x44c106
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x246c
call fcn.00430290
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2428], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x242c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x241c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x2430], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x2420], eax
mov eax, dword [ebp + 0x1c]
push 0x3c
mov dword [ebp - 0x2424], eax
lea eax, [ebp - 0x246c]
push esi
push eax
call fcn.00430e00
add esp, 0xc
mov dword [ebp - 0x246c], 0x3c
cmp dword [ebp - 0x241c], esi
je 0x44c198
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2458], 0x101
mov dword [ebp - 0x245c], eax
mov ecx, 0x81
cmp dword [ebp - 0x2420], esi
je 0x44c1b7
lea eax, [ebp - 0x108]
mov dword [ebp - 0x244c], ecx
mov dword [ebp - 0x2450], eax
cmp dword [ebp - 0x2424], esi
je 0x44c1d1
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2444], ecx
mov dword [ebp - 0x2448], eax
mov ecx, 0x801
test ebx, ebx
je 0x44c1ec
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x243c], ecx
mov dword [ebp - 0x2440], eax
test edi, edi
je 0x44c202
lea eax, [ebp - 0x2418]
mov dword [ebp - 0x2434], ecx
mov dword [ebp - 0x2438], eax
lea eax, [ebp - 0x246c]
push eax
push 0x90000000
push esi
push dword [ebp - 0x2428]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x44c24f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44c236
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x44c23d
mov esi, 0x80004005
push esi
push 0x56
push str.c:_agent_work35_swix_srclibsdutiluriutil.cpp
call fcn.004013b3
jmp 0x44c313
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x44c261
mov eax, dword [ebp - 0x2460]
mov dword [ecx], eax
mov eax, dword [ebp - 0x241c]
test eax, eax
je 0x44c287
push dword [ebp - 0x2458]
push dword [ebp - 0x245c]
push eax
call fcn.00402c72
mov esi, eax
test esi, esi
js 0x44c313
mov eax, dword [ebp - 0x2430]
test eax, eax
je 0x44c29b
mov cx, word [ebp - 0x2454]
mov word [eax], cx
mov eax, dword [ebp - 0x2420]
test eax, eax
je 0x44c2bd
push dword [ebp - 0x244c]
push dword [ebp - 0x2450]
push eax
call fcn.00402c72
mov esi, eax
test esi, esi
js 0x44c313
mov eax, dword [ebp - 0x2424]
test eax, eax
je 0x44c2df
push dword [ebp - 0x2444]
push dword [ebp - 0x2448]
push eax
call fcn.00402c72
mov esi, eax
test esi, esi
js 0x44c313
test ebx, ebx
je 0x44c2fb
push dword [ebp - 0x243c]
push dword [ebp - 0x2440]
push ebx
call fcn.00402c72
mov esi, eax
test esi, esi
js 0x44c313
test edi, edi
je 0x44c313
push dword [ebp - 0x2434]
push dword [ebp - 0x2438]
push edi
call fcn.00402c72
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ffc5
leave
ret 0x20