joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443817
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.0042f710
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 0x443849
mov eax, 0x44e534
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.0040204d
mov esi, eax
add esp, 0x10
test esi, esi
js 0x4438cc
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 0x4438c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4438a8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4438af
mov esi, 0x80004005
push esi
push 0xcd
push str.c:_agent_work13_s_srclibsdutilprocutil.cpp
call fcn.004038f5
jmp 0x4438cc
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 0x4438df
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x4438ec
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x4438f9
push dword [ebp - 4]
call fcn.0040278d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x44699a
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.00446b29
cmp dword [ebp - 0x14], ebx
je 0x4469d6
mov dword [esi], 1
jmp 0x446a0a
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 0x446a0a
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x446a0a
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x446a1a
push dword [ebp - 0x10]
call fcn.0040278d
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042de30
leave
ret 4
Function at 0x446a2a
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 0x118
push 0
push eax
call fcn.0042f710
mov eax, dword [0x46f7dc]
add esp, 0xc
test eax, eax
jne 0x446b10
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 [0x46f7e0], ecx
jne 0x446aa0
xor eax, eax
inc eax
jmp 0x446b0b
cmp dword [ebp - 0x11c], 5
jne 0x446ad1
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x446ab7
push 2
jmp 0x446b0a
cmp ecx, 1
jne 0x446ac0
push 3
jmp 0x446b0a
xor eax, eax
cmp ecx, 2
setne al
dec eax
and eax, 0xfffffffb
add eax, 9
jmp 0x446b0b
cmp dword [ebp - 0x11c], 6
jne 0x446b08
cmp dword [ebp - 0x118], 0
jne 0x446af1
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x446b0b
cmp dword [ebp - 0x118], 1
jne 0x446b08
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x446b0b
push 9
pop eax
mov dword [0x46f7dc], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [0x46f7e0]
mov dword [edi], eax
pop edi
pop esi
call fcn.0042de30
leave
ret 8

Function at 0x446dea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0044ce70
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1010], ecx
cmp dword [ebp + 0x10], 0
jne 0x446e38
cmp dword [ebp + 0x14], 0
jne 0x446e38
mov eax, 0x1000
jmp 0x446e63
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edi
sbb edx, ecx
test edx, edx
jb 0x446e5d
ja 0x446e4f
cmp eax, 0x1000
jbe 0x446e5d
and dword [ebp - 0x1008], 0
mov eax, 0x1000
jmp 0x446e63
mov dword [ebp - 0x1008], edx
push 0
lea ecx, [ebp - 0x1008]
mov dword [ebp - 0x1008], eax
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446ee3
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x446eb3
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1018]
call fcn.00447d31
mov esi, eax
test esi, esi
js 0x446f11
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 0x1010]
add edi, eax
adc ecx, 0
mov dword [ebp - 0x1010], ecx
cmp ecx, dword [ebp + 0x14]
ja 0x446ed8
jb 0x446ed0
cmp edi, dword [ebp + 0x10]
jae 0x446ed8
test eax, eax
jne 0x446e25
test ebx, ebx
je 0x446f11
mov dword [ebx], edi
mov dword [ebx + 4], ecx
jmp 0x446f11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x446efa
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x446f01
mov esi, 0x80004005
push esi
push 0x40f
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042de30
leave
ret 0x14
Function at 0x446f24
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
sete al
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44700b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x446f6a
cmp eax, 0x50
je 0x446f62
cmp eax, 0xb7
jne 0x446f6a
xor esi, esi
inc esi
jmp 0x44700b
cmp eax, 3
jne 0x446ffa
movzx eax, word [edi]
mov ebx, esi
mov ecx, edi
test ax, ax
je 0x446ff3
push 0x5c
mov edx, eax
pop edi
cmp dx, di
jne 0x446f8b
mov ebx, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x446f84
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x446ff3
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0040419a
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x44700b
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44700b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x446fdf
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44700b
push esi
push 0x454
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
jmp 0x44700b
mov esi, 0x80070003
jmp 0x44700b
test eax, eax
jg 0x447002
mov esi, eax
jmp 0x44700b
movzx esi, ax
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x447065
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.00447353
test eax, eax
je 0x4470ee
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x4470bb
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4470bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4470b1
movzx esi, si
or esi, ebx
test esi, esi
jns 0x4470bb
push esi
push 0x5c4
jmp 0x4470e3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4470ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4470db
movzx esi, si
or esi, ebx
test esi, esi
jns 0x4470ed
push esi
push 0x5ca
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x4470f5
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp dword [ebp + 0x10], ebx
setne bl
cmp dword [ebp + 0x14], esi
je 0x44710c
or ebx, 2
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x447209
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [ebp + 0x10], esi
jne 0x447144
cmp edi, 0x50
je 0x44713c
cmp edi, 0xb7
jne 0x447144
xor esi, esi
inc esi
jmp 0x447208
cmp edi, 2
jne 0x44715d
push esi
push dword [ebp + 8]
call fcn.00447353
test eax, eax
je 0x4471ff
push 3
pop edi
cmp edi, 3
jne 0x4471f7
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov edx, edi
movzx eax, word [edi]
test ax, ax
je 0x4471f0
push 0x5c
mov edi, eax
pop esi
cmp di, si
jne 0x447181
mov ecx, edx
add edx, 2
movzx eax, word [edx]
mov edi, eax
test ax, ax
jne 0x44717a
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
push 0
pop esi
test ecx, ecx
je 0x4471f0
push esi
xor eax, eax
push edi
mov word [ecx], ax
call fcn.0040419a
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0x5c
pop ecx
mov word [eax], cx
test esi, esi
js 0x447208
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x447208
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4471dc
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x447208
push esi
push 0x4d4
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
jmp 0x447208
mov esi, 0x80070003
jmp 0x447208
test edi, edi
jg 0x4471ff
mov esi, edi
jmp 0x447208
movzx esi, di
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x44796a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov esi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4479c5
call ebx
mov esi, eax
test esi, esi
jle 0x4479ae
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x4479c5
push esi
push 0x115
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
jmp 0x447a69
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x4479e1
mov esi, 0x8007000e
push esi
push 0x119
jmp 0x4479b6
push edi
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x447a1b
call ebx
mov esi, eax
test esi, esi
jle 0x447a07
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x447a1b
push esi
push 0x11d
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
jmp 0x447a62
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x44e800
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x447a4f
call ebx
mov esi, eax
test esi, esi
jle 0x447a45
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x447a4f
push esi
push 0x122
jmp 0x447a0f
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x447d31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
and dword [ebp - 4], esi
push edi
xor edi, edi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x447d76
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x447d82
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
jb 0x447d42
jmp 0x447d92
push esi
push 0x3ef
push str.c:_agent_work13_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x448c80
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.0040204d
mov esi, eax
add esp, 0xc
test esi, esi
js 0x448d8c
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 0x448d0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448cee
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x448cf5
mov esi, 0x80004005
push esi
push 0xc1
push str.c:_agent_work13_s_srclibsdutildlutil.cpp
call fcn.004038f5
jmp 0x448d8c
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 0x448d52
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
je 0x448d3c
cmp ecx, 8
jb 0x448d0d
cmp ecx, 8
je 0x448d48
and dword [ebx], 0
and dword [ebx + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
or edi, 0xffffffff
jmp 0x448d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x448d69
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x448d70
mov esi, 0x80004005
push esi
push 0xc8
push str.c:_agent_work13_s_srclibsdutildlutil.cpp
call fcn.004038f5
cmp edi, 0xffffffff
je 0x448d8c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x449225
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.0044780f
mov esi, eax
test esi, esi
js 0x44937b
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 0x44934c
cmp dword [ebp - 4], 0
je 0x44937a
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 0x449326
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x4492aa
cmp ebx, dword [ebp - 4]
jb 0x449279
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x4492f4
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.0044780f
test eax, eax
js 0x4492f4
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 0x4492f4
cmp ebx, 8
jb 0x4492cd
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x44931a
cmp dword [eax], 0
je 0x44931a
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.00448b5e
mov esi, eax
test esi, esi
js 0x44937a
cmp dword [ebp - 4], 0
jne 0x44924f
jmp 0x44937a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44933d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x449344
mov esi, 0x80004005
push esi
push 0x1a6
jmp 0x449370
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449363
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x44936a
mov esi, 0x80004005
push esi
push 0x19a
push str.c:_agent_work13_s_srclibsdutildlutil.cpp
call fcn.004038f5
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0x24
Function at 0x449383
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.004022c9
mov esi, eax
test esi, esi
js 0x4494eb
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 0x449412
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4493f6
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4493fd
mov esi, 0x80004005
push esi
push 0x84
push str.c:_agent_work13_s_srclibsdutildlutil.cpp
call fcn.004038f5
jmp 0x4494eb
lea eax, [ebp - 4]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.004486d8
mov eax, dword [ebp - 4]
test eax, eax
je 0x44945e
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.00448bd7
mov esi, eax
test esi, esi
js 0x4494eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.00448c80
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.00448934
mov esi, eax
test esi, esi
js 0x4494dc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4494dc
xor ecx, ecx
cmp word [eax], cx
je 0x4494dc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 0xffffffff
je 0x4494eb
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4494f8
push eax
call fcn.0040278d
test edi, edi
je 0x449503
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], 0
je 0x449511
push dword [ebp - 8]
call fcn.0040278d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x44b8a5
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 0x44b8f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44b8e6
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x44b8f7
push esi
push 0x18
push str.c:_agent_work13_s_srclibsdutilinetutil.cpp
call fcn.004038f5
jmp 0x44b903
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 0x44ba3a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x246c
call fcn.0044ce70
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.0042f710
add esp, 0xc
mov dword [ebp - 0x246c], 0x3c
cmp dword [ebp - 0x241c], esi
je 0x44bacc
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2458], 0x101
mov dword [ebp - 0x245c], eax
mov ecx, 0x81
cmp dword [ebp - 0x2420], esi
je 0x44baeb
lea eax, [ebp - 0x108]
mov dword [ebp - 0x244c], ecx
mov dword [ebp - 0x2450], eax
cmp dword [ebp - 0x2424], esi
je 0x44bb05
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2444], ecx
mov dword [ebp - 0x2448], eax
mov ecx, 0x801
test ebx, ebx
je 0x44bb20
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x243c], ecx
mov dword [ebp - 0x2440], eax
test edi, edi
je 0x44bb36
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 0x44bb83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44bb6a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x44bb71
mov esi, 0x80004005
push esi
push 0x56
push str.c:_agent_work13_s_srclibsdutiluriutil.cpp
call fcn.004038f5
jmp 0x44bc47
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x44bb95
mov eax, dword [ebp - 0x2460]
mov dword [ecx], eax
mov eax, dword [ebp - 0x241c]
test eax, eax
je 0x44bbbb
push dword [ebp - 0x2458]
push dword [ebp - 0x245c]
push eax
call fcn.004022c9
mov esi, eax
test esi, esi
js 0x44bc47
mov eax, dword [ebp - 0x2430]
test eax, eax
je 0x44bbcf
mov cx, word [ebp - 0x2454]
mov word [eax], cx
mov eax, dword [ebp - 0x2420]
test eax, eax
je 0x44bbf1
push dword [ebp - 0x244c]
push dword [ebp - 0x2450]
push eax
call fcn.004022c9
mov esi, eax
test esi, esi
js 0x44bc47
mov eax, dword [ebp - 0x2424]
test eax, eax
je 0x44bc13
push dword [ebp - 0x2444]
push dword [ebp - 0x2448]
push eax
call fcn.004022c9
mov esi, eax
test esi, esi
js 0x44bc47
test ebx, ebx
je 0x44bc2f
push dword [ebp - 0x243c]
push dword [ebp - 0x2440]
push ebx
call fcn.004022c9
mov esi, eax
test esi, esi
js 0x44bc47
test edi, edi
je 0x44bc47
push dword [ebp - 0x2434]
push dword [ebp - 0x2438]
push edi
call fcn.004022c9
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042de30
leave
ret 0x20
Function at 0x4057be
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
push 0x410b93
call fcn.0040347e
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
pop ecx
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
mov edi, 0x410c93
je 0x405823
push 1
push edi
call fcn.0040347e
pop ecx
pop ecx
push eax
push ebp
call esi
push 4
push edi
mov dword [0x493908], eax
call fcn.0040347e
pop ecx
pop ecx
push eax
push ebp
call esi
push 5
push edi
mov dword [0x493904], eax
call fcn.0040347e
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x49390c], eax
push 3
push 0x410b93
call fcn.0040347e
pop ecx
pop ecx
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x40584d
push 3
push edi
call fcn.0040347e
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x493910], eax
mov edi, str.X____
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40586e
push 1
push edi
call fcn.0040347e
pop ecx
pop ecx
push eax
push ebx
call esi
mov dword [0x493914], eax
pop edi
pop esi
pop ebp
pop ebx
ret