joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486b80
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4a3f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push edx
mov dword [ebp - 0x10], ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x486c3f
cmp dword [0x61a250], 4
jg 0x486c2f
sub esp, 8
mov dword [ebp - 0xc0], 4
lea ecx, [ebp - 0xb8]
call fcn.0040bae0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
mov dword [ebp - 0x18], 0x28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x28
push str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0046c190
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xb8]
mov ebx, 1
mov edx, str.Failed_to_TlsSetValue__.
mov dword [ebp - 0x10], ebx
call fcn.00403840
test bl, 1
je 0x486c3f
lea ecx, [ebp - 0xc0]
call fcn.0046c520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4875a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4b48
mov eax, dword fs:[0]
push eax
sub esp, 0x188
push ebx
push esi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov al, byte [eax + 0xc8]
test al, al
lea eax, [ebp - 0x30]
je 0x487620
push 0xf
push 0xf
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x48761c
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x48761c
xor al, al
jmp 0x487632
mov al, 1
jmp 0x487632
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne al
cmp dword [0x61a268], 1
mov byte [ebp - 0xd], al
jne 0x48768f
cmp dword [0x61a250], 3
jg 0x48768f
test al, al
je 0x48768f
cmp dword [ebp - 0x2c], 0x401
jne 0x48768f
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x30]
jne 0x48768f
push 3
push 0x1a6
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0xe0]
call fcn.0046c100
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:__have_message__kMsgHaveWork_msg.message__msg.hwnd_message_hwnd_.
mov dword [ebp - 0x14], ebx
call fcn.00403840
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4876a9
lea ecx, [ebp - 0xe0]
and ebx, 0xfffffffe
call fcn.0046c520
xor ecx, ecx
lea eax, [esi + 0x28]
xchg dword [eax], ecx
cmp dword [0x61a268], 1
jne 0x4876f7
cmp dword [0x61a250], 3
jg 0x4876f7
test ecx, ecx
jne 0x4876f7
push 3
push 0x1aa
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x190]
call fcn.0046c100
or ebx, 2
mov dword [ebp - 4], 1
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ebx
mov edx, str.Check_failed:_old_have_work.
call fcn.00403840
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x48770e
lea ecx, [ebp - 0x190]
call fcn.0046c520
cmp byte [ebp - 0xd], 0
jne 0x487727
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00487430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4886d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4c98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
xor bl, bl
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x20], 0
je 0x48874e
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x48874e
push 8
call fcn.00550175
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.DeleteTask_class_base::MessageLoopProxyImpl_.0
push eax
mov dword [eax + 4], edi
call fcn.0046e4c0
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x488762
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48c5f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x2454
mov esi, edx
mov dword [ebp - 0x30], 0
push 0
push esi
mov edi, ecx
mov dword [ebp - 0x24], 0
call fcn.0056f6e0
lea eax, [esi + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], eax
mov ecx, edi
lea eax, [esi + 0x2148]
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [esi + 0x48]
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x10], eax
lea edx, [ecx + 2]
lea eax, [esi + 0x1048]
mov dword [ebp - 0xc], 0x800
mov dword [ebp - 8], eax
lea eax, [esi + 0x2348]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x2048]
mov dword [ebp - 4], 0x800
mov dword [ebp - 0x1c], 0x80
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c680
lea eax, [ebp - 0x3c]
sub ecx, edx
push eax
push dword [ebp + 8]
sar ecx, 1
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x48c6e7
mov ecx, dword [ebp - 0x30]
cmp ecx, 3
je 0x48c6b4
cmp ecx, 4
je 0x48c6b4
cmp ecx, 1
jne 0x48c6e7
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, 1
pop edi
mov dword [esi + 0x2448], 0
mov dword [esi + 0x244c], 0
mov dword [esi + 4], ecx
mov dword [esi + 0x2450], 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48e300
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x26d8]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], 1
je 0x48e475
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x48e361
lea ecx, [ebp - 4]
mov dword [ebp + 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 8], 4
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48e361
mov eax, dword [ebp + 8]
jmp 0x48e363
xor eax, eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x48e370
mov dword [ecx + 0x2450], eax
cmp dword [edi], 0
jne 0x48e434
cmp eax, 0xce
jne 0x48e434
cmp dword [esi + 0x5d100], 0xffffffff
jne 0x48e39a
cmp dword [esi + 0x5d104], 0xffffffff
je 0x48e4fd
push edi
mov ecx, esi
call fcn.0048f3a0
test eax, eax
je 0x48e50e
cmp dword [edi + 0x38], 0xffffffff
mov edx, dword [edi + 0x3c]
jne 0x48e3bc
cmp edx, 0xffffffff
je 0x48e50e
mov eax, dword [edi + 0x8040]
mov ecx, dword [eax + 8]
add ecx, dword [edi + 0x38]
mov eax, dword [eax + 0xc]
adc eax, edx
cmp dword [esi + 0x5d108], 0
mov edx, dword [esi + 0x5d10c]
jne 0x48e3e0
test edx, edx
je 0x48e3ec
cmp dword [esi + 0x5d108], ecx
jne 0x48e409
cmp edx, eax
jne 0x48e409
cmp dword [esi + 0x5d100], ecx
jne 0x48e50e
cmp dword [esi + 0x5d104], eax
jne 0x48e50e
mov eax, dword [edi + 0x20]
jmp 0x48e484
mov eax, dword [edi + 0x20]
test eax, eax
je 0x48e41a
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.0048e9f0
push 4
mov ecx, esi
call fcn.0048cf30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1f4
je 0x48e4e8
cmp eax, 0x194
jne 0x48e4fd
mov eax, dword [edi + 0x20]
test eax, eax
je 0x48e45b
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.0048e9f0
push 4
mov ecx, esi
call fcn.0048cf30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0
jne 0x48e4e8
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48e4e8
mov dword [edi + 0x1c], ecx
cmp dword [eax + 0x2448], 0xffffffff
jne 0x48e49f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x20]
sub eax, dword [edi + 8]
mov dword [ecx + 0x2448], eax
cmp dword [esi + 0x26f0], 0
je 0x48e4c0
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x4e20
push eax
push 6
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [edi + 0x8040]
cmp dword [eax + 4], 0
jne 0x48e50e
mov dword [eax + 4], 1
mov eax, 1
mov dword [edi + 0x28], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push ebx
mov ecx, esi
mov dword [edi + 0x28], 4
call fcn.0048eef0
test eax, eax
jne 0x48e516
cmp dword [esi + 0x26f0], 0
je 0x48e50e
push ecx
mov ecx, esi
call fcn.004901a0
push ebx
mov ecx, esi
call fcn.0048e9f0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48eb20
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
push 0x10000000
push 0
lea eax, [esi + 0x61850]
mov dword [ebp - 0xc], esi
xor ecx, ecx
cmp dx, word [eax]
push 0
push 0
cmove eax, ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x14], eax
test eax, eax
je 0x48ecee
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x10], edi
lea ebx, [edi + 0x2348]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48eb80
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove ebx, eax
add edi, 0x2048
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48eba2
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove edi, eax
test ebx, ebx
jne 0x48ebe7
lea edx, [esi + 0x60608]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ebd0
sub ecx, ebx
mov ebx, 0
sar ecx, 1
cmovne ebx, edx
test edi, edi
jne 0x48ec0d
lea edx, [esi + 0x60708]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ebf6
sub ecx, esi
mov edi, 0
sar ecx, 1
cmovne edi, edx
mov esi, dword [ebp - 0x10]
push 0x48caf0
push dword [ebp - 0x14]
mov esi, dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push edx
mov ecx, dword [edx + 0x20]
push dword [eax + 0x26d4]
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*2 + 1]
push eax
movzx eax, word [ecx]
push edi
push ebx
push eax
lea eax, [ecx + 0x2148]
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x48ecee
mov edi, dword [ebp - 0xc]
add edi, 0x60808
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ec73
sub ecx, edx
sar ecx, 1
je 0x48ece7
mov dword [ebp - 0x20], 3
test edi, edi
je 0x48ecc8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ec94
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x48ecc8
add esi, esi
mov eax, esi
call fcn.00550d30
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.0048bfa0
mov dword [ebp - 0x1c], eax
jmp 0x48eccf
mov dword [ebp - 0x1c], 0
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x5c2059
push eax
push 0x26
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, 1
jmp 0x48ecf0
xor eax, eax
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x48ed10
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.005514a0
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x100c]
mov ebx, ecx
mov dword [ebp - 0x1020], 0x5d46ac
push 0x1000
push 0
push eax
mov esi, dword [ebx + 0x2480]
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x101c], 0
call fcn.0056f6e0
mov ecx, dword [edi + 0x20]
add esp, 0xc
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push str._s_s
lea eax, [ebp - 0x100c]
push 0x7ff
push eax
call fcn.00490240
add esp, 0x14
mov eax, 0x8400c300
cmp dword [ebx + 0x62cb4], 0
mov edx, 0x8408c300
cmove edx, eax
mov eax, dword [edi + 0x20]
push edi
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x1020]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x100c]
mov ecx, str.POST
push eax
mov eax, 0x5d46bc
cmovne eax, ecx
push eax
push dword [edi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x48eed5
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x1010]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x1010], 0x3a98
call esi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 1
push eax
push 0x41
push dword [edi + 0x1c]
call esi
xorps xmm0, xmm0
mov ebx, eax
movups xmmword [ebp - 0x1048], xmm0
push 0xa2d0
movups xmmword [ebp - 0x1038], xmm0
mov dword [ebp - 0x1048], 0x28
movq qword [ebp - 0x1028], xmm0
call fcn.00550807
mov esi, eax
add esp, 4
test esi, esi
je 0x48ee9c
push 0xa2d0
push 0
push esi
call fcn.0056f6e0
add esp, 0xc
push ebx
push ecx
mov ecx, dword [ebp - 0x1018]
push esi
push edi
call fcn.0048eff0
mov eax, esi
mov dword [ebp - 0x1040], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48ee87
sub eax, edx
sar eax, 1
mov dword [ebp - 0x103c], eax
push edi
push 1
push 0
lea eax, [ebp - 0x1048]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x48eec0
push esi
call fcn.0055056e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
Function at 0x48f960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.0056f6e0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x48fa5a
mov ecx, 0x5d48a8
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48fa0b
test dx, dx
je 0x48fa07
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48fa0b
add eax, 4
add ecx, 4
test dx, dx
jne 0x48f9e5
xor eax, eax
jmp 0x48fa10
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48fa5a
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00550156
mov esp, ebp
pop ebp
ret

Function at 0x48fa70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], 0
je 0x48fb3f
push ebx
push edi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
xor edi, edi
sub eax, dword [esi + 0x26e4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x48fb11
nop dword [eax]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
inc edi
sub eax, dword [esi + 0x26e4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x48fae0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 8]
push eax
push 0x6a
push 0x5d48a8
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x490800
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CQhHttpTransfer.0
je 0x490869
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
push 0x1f4
push dword [esi + 4]
call ebx
cmp eax, 0x102
jne 0x49083f
inc edi
cmp edi, 2
jl 0x490826
jmp 0x490844
cmp edi, 2
jl 0x490858
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0xfffffffffffffff6
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x490879
push eax
call fcn.0055056e
add esp, 4
xorps xmm0, xmm0
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x49089f
push eax
call fcn.0055056e
add esp, 4
mov dword [esi + 0x34], 0
mov ecx, dword [esi + 0x84]
cmp ecx, 0x10
jb 0x4908d6
mov eax, dword [esi + 0x70]
inc ecx
cmp ecx, 0x1000
jb 0x4908cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490984
mov eax, edx
push ecx
push eax
call fcn.0055053d
add esp, 8
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0xf
mov byte [esi + 0x70], 0
mov ecx, dword [esi + 0x6c]
cmp ecx, 0x10
jb 0x49091e
mov eax, dword [esi + 0x58]
inc ecx
cmp ecx, 0x1000
jb 0x490914
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490984
mov eax, edx
push ecx
push eax
call fcn.0055053d
add esp, 8
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x50]
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], 0
mov eax, dword [esi + 0x50]
push eax
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.004917d0
push 0x40
push dword [esi + 0x50]
call fcn.0055053d
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
add esp, 8
push eax
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.004919b0
push 0x28
push dword [esi + 0x48]
call fcn.0055053d
add esp, 8
lea ecx, [esi + 0x3c]
call fcn.00485510
lea ecx, [esi + 0x10]
call fcn.00405c10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00572795
int3
Function at 0x4924c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x16c]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.0056f6e0
push esi
push 0x5d2398
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1d0], 0
push 0x104
push eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], 0x67452301
mov dword [ebp - 0x1c8], 0xefcdab89
mov dword [ebp - 0x1c4], 0x98badcfe
mov dword [ebp - 0x1c0], 0x10325476
call fcn.00492380
lea ecx, [ebp - 0x16c]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492550
sub ecx, edx
lea edx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.00475d20
lea ecx, [ebp - 0x1d4]
call fcn.00475de0
lea ecx, [ebp - 0x1d4]
call fcn.00475de0
movups xmm0, xmmword [ebp - 0x17c]
push 0x40
lea eax, [ebp - 0x64]
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.0056f6e0
add esp, 0x10
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x20]
xorps xmm0, xmm0
push eax
push str._02x
lea eax, [ebp - 0x10]
movlpd qword [ebp - 0x10], xmm0
push 8
push eax
call fcn.00492380
lea eax, [ebp - 0x64]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4925c7
sub eax, edx
lea ecx, [ebp - 0x10]
mov edx, 0x40
lea edi, [ecx + 1]
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4925e0
sub ecx, edi
lea eax, [ebp - 0x10]
cmp ecx, edx
cmovl edx, ecx
push edx
push eax
lea eax, [ebp - 0x64]
push 0x40
push eax
call fcn.00581c94
inc esi
add esp, 0x10
cmp esi, 0x10
jl 0x4925a0
test ebx, ebx
je 0x49263a
push 0x104
push 0
push ebx
call fcn.0056f6e0
lea eax, [ebp - 0x64]
push eax
push 0x5d2398
push 0x103
push ebx
call fcn.00492380
push 0x104
push ebx
call fcn.00581e0d
add esp, 0x24
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x493230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x49324c
mov dword [ebp - 0x20], ecx
jmp 0x49325c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x493250
sub ecx, edx
mov dword [ebp - 0x20], ecx
push 0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.00472ad0
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
add esp, 4
cmp dword [ebp - 8], 8
cmovae ecx, dword [ebp - 0x1c]
add eax, eax
push eax
push ecx
push 1
push 0x5d3c54
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call fcn.00405c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret