joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e500
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b30b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x42e66a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e543
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e66a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e55c
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42e66a
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
push 0x412
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043fa60
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42e5a4
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x424]
push 0x209
push eax
call fcn.004464ed
add esp, 0xc
lea ecx, [ebp - 0x43c]
call fcn.00418060
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esi + 0x14], 8
jb 0x42e5fb
mov esi, dword [esi]
lea eax, [ebp - 0x424]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42e62e
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42e62e
push 4
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x42e66a
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e686
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 4
call fcn.004420bc
int3
Function at 0x431080
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4310d8
and al, 0x10
movzx esi, al
neg esi
sbb esi, esi
neg esi
dec esi
jmp 0x431208
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004016b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
test esi, esi
je 0x431123
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x43111d
nop
cmp ecx, edx
je 0x431123
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x431110
sub ecx, edx
sar ecx, 1
jmp 0x431126
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x431192
xor eax, eax
mov dword [ebp - 0x30], 0
cmp esi, ecx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovb ecx, esi
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004017c0
lea ecx, [ebp - 0x28]
call fcn.00401600
movups xmm0, xmmword [ebp - 0x40]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.004016b0
call fcn.00431080
add esp, 0x18
test eax, eax
je 0x431192
or esi, 0xffffffff
jmp 0x4311be
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4311bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4311bc
or esi, 0xffffffff
jmp 0x4311be
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4311f4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4311ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43125a
push edx
push ecx
call fcn.0043dbf3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x43123e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43125f
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
call fcn.004420bc
call fcn.004420bc
int3
Function at 0x4312b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
cmp dword [edi + 0x80], 0
jne 0x431472
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4312e0
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x10]
call fcn.004017c0
mov eax, dword [edi + 8]
test eax, eax
jne 0x431316
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
test eax, eax
je 0x431472
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x431331
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x7c], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0043fa60
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4313c2
cmp dword [ebp - 0x11c], 5
jne 0x431385
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x43137c
cmp word [ebp - 0xc], ax
jmp 0x431385
test eax, eax
jne 0x4313c2
cmp word [ebp - 0xc], 3
jae 0x4313c2
push 0x2c
call fcn.0043dbc3
add esp, 4
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov dword [eax], vtable.QQDectector::CWininetFile.0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 7
mov word [eax + 0xc], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [edi + 0x7c], eax
jmp 0x43141b
push 0x58
call fcn.0043dbc3
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x128], esi
mov dword [esi], vtable.QQDectector::CWinHttpFile.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [edi + 0x7c], esi
lea eax, [ebp - 0x124]
mov dword [edi + 0x80], 1
push eax
push 0
push edi
push 0x431900
push 0
push 0
mov dword [ebp - 0x124], 0
call fcn.00448d77
mov ecx, eax
add esp, 0x18
mov dword [edi + 0xc], ecx
test ecx, ecx
jne 0x431459
mov dword [edi + 0x80], eax
xor eax, eax
test ecx, ecx
pop edi
setne al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 4
Function at 0x431490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x41c], eax
push 0
push 0x4634cc
lea ecx, [edi + 0x28]
call fcn.004017c0
push 0
lea ecx, [edi + 0x40]
push 0x4634cc
call fcn.004017c0
test esi, esi
je 0x4314f9
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4314e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x28]
jmp 0x431610
push 0x412
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0043fa60
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
push dword [ebp - 0x41c]
call fcn.0043f03e
mov esi, eax
add esp, 8
test esi, esi
je 0x4315f7
push 0x46933c
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x18
lea ecx, [ebp - 0x418]
mov edx, esp
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x420], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431574
sub ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004017c0
call fcn.00431080
add esp, 0x18
lea eax, [ebp - 0x418]
add esi, 2
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4315c0
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x28]
call fcn.004017c0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4315e4
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x43160d
push 0
push 0x4634cc
lea ecx, [edi + 0x28]
call fcn.004017c0
push 0
push 0x4634cc
lea ecx, [edi + 0x40]
call fcn.004017c0
push dword [ebp - 0x41c]
mov ecx, edi
mov dword [edi + 0x9c], 1
call fcn.004312b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8

Function at 0x431670
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
mov dword [ecx + 0x9c], 0
pop ebp
jmp fcn.004312b0
Function at 0x432330
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov esi, ecx
call fcn.0043fa60
lea edx, [ebp - 0x210]
add esp, 0xc
mov ecx, edi
sub edx, edi
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x432370
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4323e6
sub esp, 0x18
lea ecx, [ebp - 0x210]
mov edx, esp
lea ebx, [ecx + 2]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4323c0
sub ecx, ebx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004017c0
call fcn.00431080
add esp, 0x18
add esi, 0x28
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4323f3
mov eax, dword [esi]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp + 0xc], 0
mov edi, eax
je 0x432414
cmp dword [esi + 0x14], 8
jb 0x43240d
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
Function at 0x4334c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4599f0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x40]
mov dword [edi], vtable.QQDectector::CWinHttpFile.0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x433512
call fcn.00433430
mov ecx, dword [edi + 0x2c]
call fcn.00433350
mov dword [edi + 0x2c], 0
mov esi, dword [edi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x4a858c]
test esi, esi
je 0x433552
test eax, eax
jne 0x433543
call fcn.004349b0
push 0x469598
push dword [0x4a8228]
call ebx
mov dword [0x4a858c], eax
test eax, eax
je 0x43354b
push esi
call eax
mov eax, dword [0x4a858c]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x433582
test eax, eax
jne 0x433578
call fcn.004349b0
push 0x469598
push dword [0x4a8228]
call ebx
mov dword [0x4a858c], eax
test eax, eax
je 0x43357b
push esi
call eax
mov dword [edi + 4], 0
mov eax, dword [edi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433599
push eax
call ebx
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4335aa
push eax
call ebx
mov dword [edi + 0x30], 0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4335bb
push eax
call ebx
mov dword [edi + 0x38], 0
cmp dword [edi + 0x3c], 0
je 0x4335ed
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0x3a98
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x3c]
call ebx
mov dword [edi + 0x3c], 0
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [edi + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [edi + 0x20]
cmp ecx, 8
jb 0x433634
mov eax, dword [edi + 0xc]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43362a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433660
mov eax, edx
push ecx
push eax
call fcn.0043dbf3
add esp, 8
mov dword [edi + 0x1c], 0
xor eax, eax
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov dword [edi], vtable.QQDectector::CDownloadFile.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004420bc
int3
Function at 0x434640
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46e3a0
push 0x43f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x471080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
xor edi, edi
mov dword [ebp - 0x58], edi
xor esi, esi
mov dword [ebp - 0x5c], esi
movups xmm0, xmmword [0x4694d0]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [0x4694e0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 4
test edx, edx
jne 0x4346c3
xor eax, eax
jmp 0x434818
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 4], esi
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [ebp - 0x48], 0x20
je 0x4346ee
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x40]
jmp 0x434812
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x434718
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434700
sub ecx, edi
sar ecx, 1
je 0x434718
mov eax, 3
jmp 0x43471c
xor eax, eax
xor edx, edx
push 0
push 0
push edx
push eax
push 0x4693e0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x58], edi
test edi, edi
je 0x4346dd
push 0
push 0x84000100
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x64]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4346dd
push 0x20a
push 0
lea eax, [ebp - 0x278]
push eax
call fcn.0043fa60
add esp, 0xc
mov dword [ebp - 0x44], 0x208
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x278]
push 0x2f
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4346dd
cmp dword [ebp - 0x4c], 0xc8
jne 0x4346dd
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x20000005
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x4347dd
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
mov eax, 1
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x434812
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
Function at 0x4349b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4a8228], 0
jne 0x434a2f
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0043fa60
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
mov dword [0x4a8228], eax
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret

Function at 0x437000
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b89e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00436fb0
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
sub esp, 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436fb0
mov dword [esi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
sub esp, 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436f90
mov dword [esi], eax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 2
sub esp, 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436f70
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x30], 0
mov eax, edi
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov word [edi + 0x3c], 0
movups xmmword [edi + 0x3e], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ba42
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4a87dc]
test al, 1
jne 0x4382b6
or eax, 1
mov dword [0x4a87dc], eax
push 0x2c
push 0
push 0x4a87e0
mov dword [ebp - 4], 0
call fcn.0043fa60
add esp, 0xc
mov dword [0x4a87e0], 0
mov dword [0x4a87e4], 0
mov dword [0x4a87e8], 0
push 0x4a87ec
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov dword [0x4a8804], 0
mov dword [0x4a8808], 0
call fcn.004389c0
mov dword [0x4a8804], eax
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4a87e4], eax
test eax, eax
jne 0x43824d
push 0xd4
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3httpclientgetproxybyurl.cpp
push str.m_eventInit___NULL
call fcn.00449835
add esp, 0xc
push 0
push 0
push 0x4a87e0
push 0x438460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4a87e8], eax
test eax, eax
jne 0x438285
push 0xd7
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3httpclientgetproxybyurl.cpp
push str.m_workThread___NULL
call fcn.00449835
add esp, 0xc
push 0xffffffffffffffff
push dword [0x4a87e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4a87e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45be20
mov dword [0x4a87e4], 0
call fcn.0043de8b
add esp, 4
mov eax, 0x4a87e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x439fa0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x5220c8
push 0x2004
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5220c8
call fcn.0043b550
push 0x5220c8
call fcn.0043b6b0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43a003
push 0x5220c8
call fcn.0043a970
push 0
push 0x5220c8
call esi
push 0x5220c8
push 0x51e0c0
call fcn.0043b230
test eax, eax
jne 0x43a060
push 0x1fff
push 0x5220c8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Temp
push 0x5220c8
call fcn.0043b440
push 0x5220c8
call fcn.0043b550
push 0x5220c8
call fcn.0043b6b0
test eax, eax
je 0x43a08d
push 0x5220c8
call fcn.0043a970
push 0
push 0x5220c8
call esi
push 0x5220c8
push 0x51e0c0
call fcn.0043b230
test eax, eax
je 0x43a08d
push 0x51e0c0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b6f0
test eax, eax
jne 0x43a092
call fcn.0043b9c0
push 1
mov esi, eax
call fcn.0043acc0
mov eax, esi
pop esi
pop ebp
ret
mov eax, 2
pop esi
pop ebp
ret
Function at 0x43aa20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x2004
push dword [ebp + 8]
push 0x477210
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push 0x477210
call edi
mov ebx, eax
push ebx
call edi
mov esi, eax
mov ax, word [0x477210]
test ax, ax
je 0x43aa6c
cmp word [ebx], 0x3a
jne 0x43aa6c
cmp word [ebx + 2], 0x5c
jne 0x43aa6c
push esi
call edi
mov esi, eax
jmp 0x43aabb
cmp ax, 0x5c
jne 0x43aaa5
cmp word [0x477212], ax
jne 0x43aaa5
mov ebx, 2
movzx eax, word [esi]
dec ebx
test ax, ax
je 0x43aaae
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x5c
je 0x43aaae
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x43aa90
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
cmp word [esi], 0
je 0x43aaa5
add esi, 2
test ebx, ebx
jne 0x43aa80
test esi, esi
je 0x43aaa5
push esi
call fcn.0043b550
test byte [0x4a88b4], 0x80
je 0x43aadb
movzx eax, word [esi]
test ax, ax
je 0x43aaa5
cmp eax, 0x5c
je 0x43aaa5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, 0x477210
push 0x477210
sar esi, 1
call ebx
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, esi
jle 0x43ab58
nop word [eax + eax]
push 0x47b218
push 0x477210
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43ab25
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x47b218], 0x10
je 0x43aaa5
push 0x477210
call ebx
lea eax, [eax*2 + 0x477210]
cmp word [eax], 0x5c
je 0x43ab48
push eax
push 0x477210
call edi
cmp eax, 0x477210
ja 0x43ab33
xor ecx, ecx
push 0x477210
mov word [eax], cx
call ebx
cmp eax, esi
jg 0x43ab00
push 0x477210
call ebx
lea eax, [eax*2 + 0x477210]
push eax
push 0x477210
call edi
cmp word [eax], 0x5c
je 0x43ab84
push 0x463f74
push 0x477210
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x477210
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43aaa5
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4