joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4664a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ca5b
mov eax, dword fs:[0]
push eax
mov eax, 0x4524
call fcn.004929f0
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4530], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
test edi, edi
je 0x4664ef
push edi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov edi, eax
lea esi, [ebp - 0x452c]
call fcn.0040b4f0
test ebx, ebx
je 0x46650f
push 0x2f00
mov ecx, esi
push ebx
push ecx
call fcn.00476580
add esp, 0xc
mov eax, dword [ebp - 0x3ce0]
test eax, eax
je 0x46653b
cmp word [eax], 0
je 0x46653b
mov ecx, dword [ebp - 0x4530]
lea edx, [ebp - 0x452c]
call fcn.004698e0
test eax, 0x7000000
jne 0x4665f1
mov eax, 0x3e8
mov ecx, 0xa
cmp dword [ebp - 0x4528], eax
jl 0x466553
mov dword [ebp - 0x4528], ecx
cmp dword [ebp - 0x4524], eax
jl 0x466561
mov dword [ebp - 0x4524], ecx
push 0x110
lea edx, [ebp - 0x128]
push 0
push edx
call fcn.00479dd0
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4665a2
cmp dword [ebp - 0x128], 6
jb 0x4665a2
or dword [ebp - 0x4518], 2
mov edx, dword [ebp - 0x4530]
lea ecx, [ebp - 0x452c]
push ecx
push edx
push edi
mov ecx, str.ioloGovernor
lea edx, [ebp - 0x162c]
call fcn.00466680
push 0x10
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [ebp - 0x162c]
call fcn.00468d60
lea ecx, [ebp - 0x162c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004676e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
Function at 0x4689b0
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4689c0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x468a17
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x468a17
mov edx, eax
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4689f3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4695d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x82c], eax
test eax, eax
je 0x469800
cmp word [eax], 0
je 0x469800
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00479dd0
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + str.Software_]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x469621
push edi
test esi, esi
je 0x469697
cmp word [esi], cx
je 0x469697
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469646
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x469660
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x469683
mov edx, dword [0x4b2220]
mov dword [edi], edx
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x822]
push ecx
mov word [ebp - 0x824], ax
call fcn.00479dd0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x824]
push 0x5c
push eax
call fcn.00475d91
add esp, 8
test eax, eax
jne 0x4696e6
lea eax, [ebp - 0x824]
jmp 0x4696e9
add eax, 2
mov edx, eax
jmp 0x4696f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4696f0
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x469706
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
jmp 0x469730
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x469730
mov ecx, dword [0x4b2220]
lea eax, [ebp - 0x414]
mov dword [edi], ecx
add eax, 0xfffffffe
pop edi
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x469750
mov edx, dword [str.XMessageBox]
mov ecx, dword [0x4b8b38]
mov dword [eax], edx
mov edx, dword [0x4b8b3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b8b40]
mov dword [eax + 8], edx
mov edx, dword [0x4b8b44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4b8b48]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x828]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push SysReAllocString
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x828], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x469800
mov ecx, dword [ebp - 0x828]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push eax
mov eax, dword [ebp - 0x82c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00474985
mov esp, ebp
pop ebp
ret
Function at 0x469c30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fa48
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
jle 0x469ca3
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00401ff0
mov eax, dword [ebp + 8]
push 3
push eax
lea eax, [ebp - 0xfc]
lea edx, [ebp - 0xf8]
push eax
mov dword [ebp - 0xfc], edx
call fcn.00403aa0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ecx - 0xc]
push edx
lea ecx, [ebp - 0x78]
call fcn.0046d260
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
cmp eax, ecx
je 0x469cec
push eax
call fcn.00473a61
add esp, 4
xor eax, eax
mov byte [ebp - 0x20], bl
lea esi, [ebp - 0x78]
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.0046d320
push edi
mov ecx, ebx
call fcn.00469d60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469d3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret 4

Function at 0x46a400
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0xc], 5
je 0x46a413
xor eax, eax
mov word [ebx], ax
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
push esi
push ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x46a431
xor edx, edx
mov word [ebx], dx
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
pop edi
jle 0x46a44f
or eax, 0xffffffff
mov word [ebx], ax
jmp 0x46a454
xor ecx, ecx
mov word [ebx], cx
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x46a477
mov eax, dword [ebp - 4]
push esi
and eax, 2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46a4f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax]
push esi
push ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x46a512
xor edx, edx
mov word [edi], dx
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x46a525
xor eax, eax
mov word [edi], ax
jmp 0x46a52b
or ecx, 0xffffffff
mov word [edi], cx
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x46a548
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46a550
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax]
push esi
push ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x46a572
xor edx, edx
mov word [edi], dx
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x46a585
xor eax, eax
mov word [edi], ax
jmp 0x46a58b
or ecx, 0xffffffff
mov word [edi], cx
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x46a5a8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x474985
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c448c]
jne 0x47498f
repz ret
jmp fcn.0047fe9f

Function at 0x492bf4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047e6ae
and dword [ebp - 0x14], 0
cmp dword [0x4c7488], 0
mov dword [ebp - 0x18], eax
jne 0x492ca7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x492d4f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a885c
push ebx
call edi
test eax, eax
je 0x492d4f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4a884c
push ebx
mov dword [0x4c7488], eax
call edi
push eax
call esi
push 0x4a8838
push ebx
mov dword [0x4c748c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c7490], eax
call edi
push eax
call esi
mov dword [0x4c7498], eax
test eax, eax
je 0x492ca7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c7494], eax
mov eax, dword [0x4c7494]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x492d00
cmp dword [0x4c7498], ecx
je 0x492d00
push eax
call esi
push dword [0x4c7498]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x492d00
test ebx, ebx
je 0x492d00
call edi
test eax, eax
je 0x492cf7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x492cf7
test byte [ebp - 8], 1
jne 0x492d00
or dword [ebp + 0x10], 0x200000
jmp 0x492d33
mov eax, dword [0x4c748c]
cmp eax, dword [ebp - 0x18]
je 0x492d33
push eax
call esi
test eax, eax
je 0x492d33
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x492d33
mov eax, dword [0x4c7490]
cmp eax, dword [ebp - 0x18]
je 0x492d33
push eax
call esi
test eax, eax
je 0x492d33
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c7488]
call esi
test eax, eax
je 0x492d4f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x492d51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474985
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100010b6
Capabilities:
Create http request

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 0xc], ebx
push esi
push edi
mov edi, ecx
jne 0x100010f6
cmp dword [edi + 8], ebx
jne 0x100010e2
push 0x10000000
push ebx
push ebx
push ebx
push str.Asynchronous_WinInet_CLASS
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi + 8], eax
je 0x1000114f
mov eax, dword [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push eax
lea esi, [eax + 0x428]
push dword [edi + 8]
jmp 0x10001136
cmp dword [edi + 4], ebx
jne 0x10001124
push 0x10000000
push ebx
push ebx
push ebx
push str.Asynchronous_WinInet_CLASS
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi + 4], eax
je 0x1000114f
push 0x10001165
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push eax
lea esi, [eax + 0x428]
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, ebx
mov dword [esi], eax
jne 0x10001153
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1000115c
xor eax, eax
jmp 0x1000115f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], ebx
push 1
pop eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x1000152b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 9
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x2e]
cmp byte [ebp + 0x18], bl
mov word [ebp - 0x30], bx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x10001597
cmp dword [ebp + 0x14], ebx
jne 0x1000155a
xor esi, esi
jmp 0x10001588
push dword [ebp + 0x14]
call dword [0x1002aff4]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.10016460
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x14]
mov byte [esi], bl
push ebx
push ebx
call dword [0x1002afe0]
push esi
call fcn.10001eca
test eax, eax
pop ecx
jne 0x10001694
cmp byte [ebp + 0x1c], bl
je 0x10001607
push dword [ebp + 0x10]
call fcn.10016961
lea eax, [eax + eax + 0x2a]
push eax
call fcn.10016450
push dword [ebp + 0x10]
mov edi, eax
mov dword [ebp - 4], edi
push edi
call fcn.100162ad
mov esi, 0x10026ef0
push esi
push edi
call fcn.10016920
add esp, 0x18
test eax, eax
je 0x100015d6
push 0x10026eec
jmp 0x100015d7
push esi
push edi
call fcn.10016283
pop ecx
pop ecx
push str.x_s_b_r
push edi
call fcn.10016283
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push 0xa
push eax
call fcn.10001e03
push eax
call fcn.10016887
push eax
push edi
call fcn.10016283
add esp, 0x14
push 0x14
call fcn.10016450
cmp byte [ebp + 0x1c], bl
pop ecx
mov esi, eax
je 0x1000161e
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x1000163f
push dword [ebp + 0x10]
call fcn.10016961
lea eax, [eax + eax + 2]
push eax
call fcn.10016450
push dword [ebp + 0x10]
mov dword [esi + 4], eax
push eax
call fcn.100162ad
add esp, 0x10
push dword [ebp + 0x14]
call fcn.10016961
lea eax, [eax + eax + 2]
push eax
call fcn.10016450
push dword [ebp + 0x14]
mov dword [esi + 8], eax
push eax
call fcn.100162ad
mov eax, dword [ebp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0x18]
push eax
push ebx
push esi
push 0x1000148b
push ebx
push ebx
call fcn.10016115
add esp, 0x28
cmp eax, 0xffffffff
je 0x10001694
mov ecx, dword [ebp - 8]
push eax
push dword [ebp + 0x18]
call fcn.100016a1
push 1
pop eax
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x1000178b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022398
push 0x10016988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], eax
jge 0x100017f4
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x100017ef
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
jmp 0x100017c8
or dword [ebp - 4], 0xffffffff
call fcn.10001812
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000185b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 8
call fcn.10016450
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [ebp - 4]
push ecx
xor ecx, ecx
push ecx
push eax
push 0x1000181d
push ecx
push ecx
call fcn.10016115
add esp, 0x1c
cmp eax, 0xffffffff
je 0x1000189b
push eax
mov ecx, esi
push dword [ebp - 4]
call fcn.100016a1
push 1
pop eax
pop esi
leave
ret 8

Function at 0x10001afd
Capabilities:
Get common file path

Disassembly:
push esi
push 0
push 0x1c
push dword [esp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x10026ef4
mov esi, eax
push dword [esp + 0xc]
call fcn.10016283
pop ecx
mov eax, esi
pop ecx
pop esi
ret
Function at 0x10001ee2
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
push esi
push edi
mov dword [ebp - 4], ebx
jne 0x10001f3f
cmp dword [ebp + 0xc], ebx
jne 0x10001efe
xor esi, esi
jmp 0x10001f2c
push dword [ebp + 0xc]
call dword [0x1002aff4]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.10016460
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov byte [esi], bl
push ebx
push ebx
call dword [0x1002afe0]
push esi
call fcn.10001eca
test eax, eax
pop ecx
je 0x10001f3f
push 1
pop eax
jmp 0x10001fd7
cmp byte [ebp + 0x14], bl
je 0x10001fb1
push dword [ebp + 8]
call fcn.10016961
lea eax, [eax + eax + 0x2a]
push eax
call fcn.10016450
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], esi
push esi
call fcn.100162ad
mov edi, 0x10026ef0
push edi
push esi
call fcn.10016920
add esp, 0x18
test eax, eax
je 0x10001f7e
push 0x10026eec
jmp 0x10001f7f
push edi
push esi
call fcn.10016283
pop ecx
pop ecx
push str.x_s_b_r
push esi
call fcn.10016283
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0xa
push eax
call fcn.10001e03
push eax
call fcn.10016887
push eax
push esi
call fcn.10016283
add esp, 0x14
jmp 0x10001fb4
mov esi, dword [ebp + 8]
push ebx
push ebx
push dword [ebp + 0xc]
push esi
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x10001fd0
push dword [ebp - 4]
call fcn.1001610a
pop ecx
xor eax, eax
cmp esi, ebx
sete al
lea esp, [ebp - 0x38]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001fdf
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov eax, 0x100215e0
call fcn.10016868
sub esp, 0x44
push ebx
push esi
push edi
mov esi, str.ToolBarContainer
lea edi, [ebp - 0x34]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
movsb byte es:[edi], byte [esi]
call fcn.10016961
lea eax, [eax + eax*2 + 1]
push eax
call fcn.10016450
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
push ebx
push ebx
push dword [ebp + 8]
call fcn.10016961
pop ecx
lea eax, [eax + eax*2]
push eax
push dword [ebp - 0x18]
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push 0xfde9
call dword [0x1002afe0]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push ebx
push 1
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call esi
mov edi, dword [0x1002af84]
test eax, eax
jne 0x10002092
push 8
push 1
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x10002092
push ebx
lea eax, [ebp + 8]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100020cd
push ebx
lea eax, [ebp + 8]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push dword [ebp - 0x18]
call fcn.100162e0
pop ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push dword [ebp - 0x18]
call fcn.1001610a
pop ecx
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
lea ecx, [ebp - 0x20]
pop eax
push ebx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push ecx
push eax
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x1c]
call fcn.10017541
pop ecx
mov edi, eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
push 2
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x50]
call fcn.10002e61
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
push edi
call fcn.10002fbc
lea ecx, [ebp - 0x50]
call fcn.10002ebb
push eax
push dword [ebp + 0xc]
call fcn.10016360
pop ecx
cmp edi, ebx
pop ecx
je 0x10002155
push edi
call fcn.10016ed5
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x10002163
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x14], ebx
je 0x10002172
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10002e94
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret