joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b552
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
xor esi, esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [edi + 4]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi], eax
test eax, eax
je 0x40b58f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b581
inc esi
jmp 0x40b58f
cmp dword [edi], esi
je 0x40b58f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [edi], esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x40b6cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x410], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x40b736
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40b736
call fcn.0040a5c7
mov esi, eax
jmp 0x40b7d7
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40b756
call fcn.0040a5c7
jmp 0x40b7ca
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40b74f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x40b77c
mov esi, 0x8007000e
jmp 0x40b7cc
push eax
lea ecx, [ebp - 0x408]
call fcn.0040a3ed
cmp dword [ebp - 0x408], 0
je 0x40b775
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40b74f
mov eax, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.0040b594
mov esi, eax
test edi, edi
je 0x40b7d7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x40b7f0
lea ecx, [ebp - 0x408]
call fcn.0040aa26
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret 0x10
Function at 0x40be77
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x40be8a
push 0xd
pop eax
jmp 0x40bece
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x40be9d
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40be95
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40bed3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40bee5
push 0xd
pop eax
jmp 0x40bf17
push ebx
mov ecx, edx
push edi
lea edi, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40beee
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x40c5e8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x2d0]
push ecx
xor esi, esi
push eax
mov dword [ebp - 0x2d0], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
push 0x43ef2c
push edi
push dword [ebp - 0x2d0]
call fcn.0040a6f8
add esp, 0xc
test eax, eax
js 0x40c655
lea ecx, [eax + 3]
cmp dword [ebp - 0x2d0], ecx
jl 0x40c655
push dword [edi + eax*4 + 8]
push dword [edi + eax*4 + 4]
call fcn.0040a83c
pop ecx
pop ecx
xor eax, eax
jmp 0x40c76f
lea ecx, [ebp - 0x10c]
call fcn.00409d15
lea ecx, [ebp - 0x10c]
call fcn.0040b552
test eax, eax
jne 0x40c6b9
push 0x43d70c
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x40c6b1
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40c6a2
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
pop esi
jmp 0x40c762
xor esi, esi
inc esi
jmp 0x40c762
push edi
push dword [ebp - 0x2d0]
call fcn.0040ac15
pop ecx
pop ecx
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call fcn.0040fcee
pop ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.0040a5f3
pop ecx
push esi
push ebx
mov ebx, 0x44dbd8
push esi
mov ecx, ebx
call fcn.0040ab33
call fcn.0040440c
mov ecx, eax
call fcn.0040446e
test eax, eax
je 0x40c73d
lea ecx, [ebp - 0x2cc]
call fcn.004010b2
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0040a92d
lea ecx, [ebp - 0x2cc]
mov esi, eax
call fcn.004011a1
call fcn.0040440c
mov ecx, eax
call fcn.0040533d
mov ecx, ebx
call fcn.0040bffe
call fcn.0040fcdf
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
call fcn.00413c62
pop ecx
test edi, edi
je 0x40c762
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x10c]
call fcn.0040c12b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret 0x10
Function at 0x40fa81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, word [ebp + 8]
push 0x43f064
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40fb4d
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40fb0d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x40fb0d
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40fb0d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40fb0d
push ebx
push edi
push eax
call fcn.00421750
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
xor edi, edi
inc edi
push edi
xor ebx, ebx
push esi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x40fb11
xor eax, eax
jmp 0x40fb4c
push ebx
push dword [ebp + 0xc]
call fcn.0040fa11
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
test eax, eax
je 0x40fb2f
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
test ecx, ecx
je 0x40fb31
mov edi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x40fd05
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00421734
leave
ret

Function at 0x41200e
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, ecx
push ebx
push dword [edi]
call fcn.00424fac
push dword [edi]
lea esi, [edi + 4]
push 1
push 8
push esi
call fcn.00425182
mov dword [esi], ebx
add esp, 0x1c
mov dword [esi + 4], ebx
cmp dword [edi], ebx
je 0x412043
push dword [edi]
call fcn.00424c37
pop ecx
mov dword [edi], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x41235c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x11c
push edi
lea eax, [ebp - 0x120]
push 0
xor esi, esi
push eax
inc esi
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call edi
test eax, eax
jne 0x4123ca
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call edi
test eax, eax
jne 0x4123ca
push dword [0x44c08c]
jmp 0x4124de
mov eax, dword [ebp - 0x110]
dec eax
je 0x4124af
dec eax
je 0x4123e1
push 2
jmp 0x4124d6
cmp dword [ebp - 0x11c], 6
jb 0x412421
cmp byte [ebp - 6], 1
jne 0x41241a
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x412413
dec eax
je 0x41240c
dec eax
jne 0x4124d7
push 0xf
jmp 0x4124d6
push 0xd
jmp 0x4124d6
push 0xc
jmp 0x4124d6
push 0xe
jmp 0x4124d6
cmp dword [ebp - 0x11c], 5
jne 0x4124a2
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x41249e
dec eax
je 0x41249a
dec eax
jne 0x4124d7
and dword [ebp - 0x144], eax
push 8
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x140]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412474
lea ecx, [ebp - 0x144]
push ecx
call eax
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x412484
push 0xb
jmp 0x4124d6
cmp byte [ebp - 6], 1
jne 0x412496
push 9
pop esi
cmp word [ebp - 0x144], si
je 0x4124d7
push 0xa
jmp 0x4124d6
push 8
jmp 0x4124d6
push 7
jmp 0x4124d6
cmp dword [ebp - 0x11c], 4
ja 0x4124d7
push 6
jmp 0x4124d6
cmp dword [ebp - 0x11c], 4
jne 0x4124d7
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x4124d4
cmp eax, 0xa
je 0x4124d0
cmp eax, 0x5a
jne 0x4124d7
push 5
jmp 0x4124d6
push 4
jmp 0x4124d6
push 3
pop esi
push dword [esi*4 + 0x44c088]
mov ecx, ebx
call fcn.00401052
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret

Function at 0x4126d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [eax + 0x10], ebx
jne 0x4126ed
xor al, al
jmp 0x41273e
cmp dword [eax + 0x14], 8
jb 0x4126f5
mov eax, dword [eax]
push 0x43f4d4
push eax
call fcn.00425200
pop ecx
pop ecx
mov dword [esi], eax
test eax, eax
je 0x4126e9
push edi
push eax
push 1
lea edi, [esi + 4]
push 8
push edi
mov dword [edi], 0x72647979
mov dword [esi + 8], ebx
call fcn.00425182
add esp, 0x10
cmp eax, 1
je 0x41273b
mov dword [edi], ebx
mov dword [edi + 4], ebx
push dword [esi]
call fcn.00424c37
pop ecx
mov dword [esi], ebx
xor al, al
jmp 0x41273d
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x412744
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x10], 0
mov esi, ecx
jne 0x412757
xor al, al
jmp 0x4127a3
cmp dword [eax + 0x14], 8
jb 0x41275f
mov eax, dword [eax]
push 0x43f4dc
push eax
call fcn.00425200
pop ecx
pop ecx
mov dword [esi], eax
test eax, eax
je 0x412753
push edi
push eax
push 1
lea edi, [esi + 4]
push 8
push edi
call fcn.00424e71
add esp, 0x10
cmp eax, 1
jne 0x412791
cmp dword [edi], 0x72647979
je 0x4127a0
push dword [esi]
call fcn.00424c37
and dword [esi], 0
pop ecx
xor al, al
jmp 0x4127a2
mov al, 1
pop edi
pop esi
pop ebp
ret 4
Function at 0x412c71
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0x43f560
push eax
push 0x43f564
push ecx
lea eax, [ebp - 0x64]
push eax
call fcn.00408ed9
add esp, 0xc
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040fd5a
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041102b
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.00401180
lea ecx, [ebp - 0x64]
call fcn.00401180
and dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x1c], ax
push 0xfde9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 8], 7
call fcn.00412bf3
add esp, 0xc
test al, al
jne 0x412d07
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x412d19
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
lea ecx, [ebp - 0x34]
call fcn.00401180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421734
leave
ret
Function at 0x41333b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [eax + 0x14], 0xf
xor edx, edx
mov dword [eax + 0x10], edx
mov byte [eax], dl
push 0xb
pop ecx
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x48], eax
xor eax, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x2c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x58], eax
pop eax
push 0x2e
mov word [ebp - 0x5c], ax
pop eax
mov word [ebp - 0x5a], ax
lea eax, [ebp - 0x5c]
push str.ntdll.dll
mov dword [ebp - 0x64], 0xf0000
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x54], 0xffff
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x70], 0x40
mov dword [ebp - 0x7c], 0x18
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.ZwOpenSection
push edi
call esi
mov ebx, eax
push str.ZwMapViewOfSection
push edi
call esi
push str.ZwUnmapViewOfSection
push edi
mov dword [ebp - 0x44], eax
call esi
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x50]
push eax
call ebx
test eax, eax
jne 0x413472
push 2
push eax
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
push 0xffff
push 0
lea eax, [ebp - 0x4c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [ebp - 0x44]
test eax, eax
jne 0x413472
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00418180
pop ecx
test eax, eax
jne 0x413456
lea eax, [ebp - 0x44]
push eax
call fcn.004180de
pop ecx
test eax, eax
jne 0x413456
lea eax, [ebp - 0x44]
push eax
call fcn.00418222
pop ecx
test eax, eax
je 0x413466
mov esi, dword [ebp - 0x48]
push eax
push dword [ebp - 0x44]
mov ecx, esi
call fcn.004056b7
jmp 0x413469
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0xffffffffffffffff
call edi
jmp 0x413475
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret

Function at 0x4138e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
cmp dword [0x44dd6c], ebx
jne 0x413927
push ebx
push ebx
push ebx
push 0x413959
push ebx
push ebx
mov dword [0x44dd6c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x413927
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [0x44dd6c], 2
jne 0x413953
mov eax, 0x44c0f4
cmp esi, eax
je 0x413953
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.004020b3
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x413dec
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4189a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
je 0x4189cb
test eax, eax
je 0x4189cb
xor eax, eax
jmp 0x418a3e
push esi
push 0x448ee4
push 1
push ebx
push 0x448e84
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4189c7
push str.ROOTCIMV2
lea ecx, [ebp - 4]
call fcn.00418794
mov eax, dword [eax]
test eax, eax
je 0x4189fa
mov edx, dword [eax]
jmp 0x4189fc
mov edx, ebx
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
add esi, 4
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x418a1e
call fcn.00418a42
test edi, edi
pop edi
js 0x4189c7
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
pop esi
pop ebx
leave
ret

Function at 0x41a3a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x38], edi
cmp dword [ebp + 0x18], edi
je 0x41a3e8
xor eax, eax
push 0xffffffffffffffff
mov word [ebp - 0x1c], ax
push edi
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1c]
inc ebx
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edi
call fcn.004021c0
lea eax, [ebp - 0x1c]
jmp 0x41a3f8
push 2
pop ebx
push 0x43fab8
lea ecx, [ebp - 0x34]
call fcn.00401081
push eax
lea ecx, [esi + 0xb0]
call fcn.00407a9a
test bl, 2
je 0x41a417
push edi
push 1
lea ecx, [ebp - 0x34]
and ebx, 0xfffffffd
call fcn.0040206d
test bl, 1
je 0x41a427
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
push edi
push 4
push esi
push 0x41a647
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
test eax, eax
push 1
lea ecx, [ebp + 8]
mov dword [esi + 4], eax
setne bl
call fcn.0040206d
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret 0x18

Function at 0x41a9f3
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x41abd2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0xa8]
sub eax, dword [esi + 0xa4]
push edi
mov edi, ebx
test eax, 0xfffffff8
jle 0x41ac16
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + edi*8]
test ecx, ecx
je 0x41ac02
push dword [eax + edi*8 + 4]
call ecx
pop ecx
mov eax, dword [esi + 0xa8]
sub eax, dword [esi + 0xa4]
inc edi
sar eax, 3
cmp edi, eax
jl 0x41abee
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xa8], eax
lea eax, [esi + 0xb0]
cmp dword [eax + 0x14], 8
jb 0x41ac30
mov eax, dword [eax]
push 0x10000000
push ebx
push ebx
push ebx
push eax
mov ecx, 0x44ddb0
call fcn.0041bf5c
mov dword [esi + 0xc8], eax
test eax, eax
jne 0x41ac53
inc eax
jmp 0x41ad32
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ac66
mov ecx, esi
call fcn.0041a1ca
push 1
call edi
cmp byte [esi + 0x60], bl
je 0x41ac5b
cmp dword [esi + 0x64], 1
jne 0x41acce
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, esi
call fcn.0041a1f6
jmp 0x41ac9c
call ebx
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0041a27b
mov ecx, esi
call fcn.00419fc8
push 1
call edi
mov ecx, esi
call fcn.0041a53e
test al, al
je 0x41ac82
mov ecx, esi
call fcn.00419cd0
mov ecx, esi
call fcn.0041a33f
push dword [esi + 0xc8]
mov ecx, 0x44ddb0
call fcn.0041bd44
and dword [esi + 0xc8], 0
jmp 0x41ad30
cmp dword [esi + 0x64], ebx
je 0x41ad1a
mov ecx, esi
call fcn.00419bef
mov ecx, esi
call fcn.0041ab7f
jmp 0x41ad01
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.00419c7d
mov ecx, esi
call fcn.00419fc8
push 1
call edi
mov ecx, esi
call fcn.0041a53e
test al, al
je 0x41ace3
mov ecx, esi
call fcn.00419cd0
mov ecx, esi
call fcn.0041a33f
push dword [esi + 0xc8]
mov ecx, 0x44ddb0
call fcn.0041bd44
mov dword [esi + 0xc8], ebx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41bd96
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
mov ebx, ecx
call fcn.00422240
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00426444
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x41bf31
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
mov dword [0x44ddc4], eax
push dword [ebx]
call esi
push str.WinHttpOpenRequest
mov dword [0x44ddc8], eax
push dword [ebx]
call esi
push str.WinHttpAddRequestHeaders
mov dword [0x44ddcc], eax
push dword [ebx]
call esi
push str.WinHttpSendRequest
mov dword [0x44ddd0], eax
push dword [ebx]
call esi
push str.WinHttpReceiveResponse
mov dword [0x44ddd4], eax
push dword [ebx]
call esi
push str.WinHttpQueryHeaders
mov dword [0x44ddd8], eax
push dword [ebx]
call esi
push str.WinHttpReadData
mov dword [0x44dddc], eax
push dword [ebx]
call esi
push str.WinHttpCloseHandle
mov dword [0x44dde0], eax
push dword [ebx]
call esi
push str.WinHttpCrackUrl
mov dword [0x44dde4], eax
push dword [ebx]
call esi
push str.WinHttpSetOption
mov dword [0x44dde8], eax
push dword [ebx]
call esi
push str.WinHttpSetTimeouts
mov dword [0x44ddec], eax
push dword [ebx]
call esi
push str.WinHttpSetStatusCallback
mov dword [0x44ddf0], eax
push dword [ebx]
call esi
mov dword [0x44ddf4], eax
cmp dword [0x44ddc4], edi
je 0x41bf29
cmp dword [0x44ddd0], edi
je 0x41bf29
cmp dword [0x44dde4], edi
je 0x41bf29
cmp dword [0x44ddc8], edi
je 0x41bf29
cmp dword [0x44ddcc], edi
je 0x41bf29
cmp dword [0x44dddc], edi
je 0x41bf29
cmp dword [0x44dde0], edi
je 0x41bf29
cmp dword [0x44ddd8], edi
je 0x41bf29
cmp dword [0x44ddd4], edi
je 0x41bf29
cmp dword [0x44dde8], edi
je 0x41bf29
cmp dword [0x44ddec], edi
je 0x41bf29
cmp dword [0x44ddf0], edi
je 0x41bf29
inc edi
mov dword [0x44ddc0], edi
jmp 0x41bf37
mov edi, dword [0x44ddc0]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret