joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4489e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473663
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x491654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0xb8
mov dword [ebp - 4], ebx
call fcn.00453347
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x448a61
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x18]
push edi
push ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
sub esp, 8
mov eax, esp
mov dword [ebp + 0x18], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [ebp + 0x28]
call fcn.00449720
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.0044e800
mov esi, eax
jmp 0x448a63
xor esi, esi
mov byte [ebp - 4], 0
mov al, byte [ebp + 0x24]
push 0x24
mov byte [esi + 0xac], al
call fcn.00453347
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x448a8a
lea eax, [ebx + 4]
call fcn.004025a7
jmp 0x448a8c
xor ebx, ebx
push edi
lea ecx, [ebx + 4]
push ecx
mov dword [ebx], esi
call fcn.0040260d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0xa8], ecx
test eax, eax
je 0x448aba
push eax
lea edi, [esi + 0x40]
call fcn.00402628
lea edx, [ebp - 0x14]
push edx
push 0
push ebx
push 0x4486e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 8
mov edi, eax
call fcn.00453347
add esp, 4
test eax, eax
je 0x448ae7
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x448ae9
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0x24], eax
add esi, 0x1c
lea eax, [ebp + 0x24]
call fcn.0043ed60
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x2c]
test esi, esi
je 0x448b31
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x448b31
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x448b31
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x449870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x449933
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x449933
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x449933
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44992c
push esi
push edi
push eax
call fcn.00456a40
add esp, 0xc
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x449925
mov ecx, dword [ebp - 4]
push ecx
call fcn.00449830
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x449925
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x449915
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp ecx, edi
je 0x449923
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d98b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x491654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, ebx
add edi, 0x34
call fcn.0040107f
mov esi, dword [edi + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, esi
cmp esi, ecx
jae 0x449cbe
mov ecx, esi
push ecx
mov eax, edi
call fcn.0040331c
mov ecx, ebx
call fcn.00404307
add esp, 4
test eax, eax
jne 0x449ce8
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x449ce8
xor ecx, ecx
cmp esi, eax
setne cl
mov eax, ecx
test eax, eax
je 0x449d41
push ebx
call fcn.00402628
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x24
call fcn.00453347
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x449d29
push ebx
call fcn.004025ce
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
jmp 0x449d2b
xor esi, esi
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push 0x449b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44a090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44a0a8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44a0da
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x44a0d6
cmp esi, eax
jae 0x44a0da
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x44a0c8
cmp esi, eax
jb 0x44a0e0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x44ceb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46edd8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x491654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x20]
mov eax, edi
mov dword [ebp - 4], 0
call fcn.00404ff2
lea esi, [eax - 1]
cmp dword [edi + 0x10], esi
ja 0x44cef5
call fcn.004037c6
mov eax, edi
call fcn.0040331c
movzx eax, word [eax + esi*2]
cmp eax, 0x5c
je 0x44cf0a
cmp eax, 0x2f
jne 0x44cf18
push 0
lea eax, [ebp + 8]
push eax
or eax, 0xffffffff
call fcn.004030d3
mov eax, edi
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x482d40
mov eax, edi
call fcn.00402639
push eax
call fcn.00453b3b
add esp, 8
mov dword [ebx + 0x1c], eax
lea ecx, [ebp + 8]
test eax, eax
jne 0x44cf60
call fcn.004025ff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004025ff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44cf80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1c]
push 0
push eax
push ecx
call fcn.0045ae9d
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push 1
push ecx
call fcn.004540f0
mov edx, dword [esi + 0x1c]
push edx
call fcn.00454da1
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44d050
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dd2d
mov eax, dword fs:[0]
push eax
mov eax, 0x227c
call fcn.004675f0
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, ebx
mov esi, ecx
mov dword [ebp - 0x2280], ebx
mov dword [ebp - 0x227c], edi
call fcn.004025a7
mov dword [ebp - 4], edi
mov dword [ebp - 0x227c], 1
cmp dword [esi + 0x1c], edi
je 0x44d1c6
lea ebx, [esi + 4]
push ebx
mov dword [ebp - 0x2288], ebx
mov byte [ebp - 0x2284], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c]
push edi
push edi
push eax
mov dword [ebp - 0x2278], 0x67452301
mov dword [ebp - 0x2274], 0xefcdab89
mov dword [ebp - 0x2270], 0x98badcfe
mov dword [ebp - 0x226c], 0x10325476
mov dword [ebp - 0x2268], edi
mov dword [ebp - 0x2264], edi
call fcn.0045ae9d
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push 1
push edx
call fcn.00453f07
add esp, 0x1c
cmp eax, edi
jbe 0x44d161
lea ecx, [ecx]
push eax
lea eax, [ebp - 0x2220]
push eax
lea eax, [ebp - 0x2278]
call fcn.0044fa60
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push 1
push edx
call fcn.00453f07
add esp, 0x18
cmp eax, edi
ja 0x44d130
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x2278]
call fcn.0044fb70
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor ecx, ecx
add esp, 4
mov word [ebp - 0x220], cx
xor esi, esi
movzx edx, byte [ebp + esi - 0x20]
push edx
lea eax, [ebp - 0x220]
push eax
push str._s_02x
mov ecx, eax
push 0x100
push ecx
call edi
inc esi
add esp, 0x14
cmp esi, 0x10
jb 0x44d184
mov edi, dword [ebp - 0x2280]
lea edx, [ebp - 0x220]
push edx
call fcn.00402628
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x44d1c8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 4
Function at 0x44e800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dce1
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x491654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.download::FileDownloader.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x14]
mov eax, edi
call fcn.004025a7
lea eax, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [ebp + 0x10]
call fcn.00449720
lea eax, [esi + 0x40]
call fcn.004025a7
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
push edx
push eax
lea ecx, [esi + 0x5c]
push ecx
mov byte [ebp - 4], 4
call fcn.0044e3f0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 5
mov dword [esi + 0xa4], edx
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xa0], esi
call fcn.00402628
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0xa8], ebx
mov byte [esi + 0xac], bl
mov dword [esi + 0xa4], edx
cmp eax, ebx
je 0x44e908
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x44e908
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x44e908
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x450bd0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x5000
push 0x40
mov byte [ebp - 1], 0
call esi
push 0x5000
push 0x40
mov ebx, eax
call esi
push 0x5000
mov edi, eax
push 0x40
mov dword [ebp - 0xc], edi
call esi
push 0x5000
push 0x40
mov dword [ebp - 8], eax
call esi
push 0x5000
push 0x40
mov dword [ebp - 0x10], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, 0x2800
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
mov eax, 0x104
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x450ca1
mov edi, dword [ebp + 0xc]
push ebx
mov byte [ebp - 1], 1
call fcn.00402628
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x10]
push ecx
call fcn.00402628
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
push edx
call fcn.00402628
mov edi, dword [ebp - 0xc]
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov word [ecx], ax
call ebx
push edi
call ebx
mov edx, dword [ebp - 0x10]
push edx
call ebx
push esi
call ebx
mov eax, dword [ebp - 8]
push eax
call ebx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450cd0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0
push 0
push 0
push 0
push str.httpget
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x450dd2
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1f
push eax
mov dword [ebp - 8], 0x3100
call edi
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0x32
push ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x450d55
test byte [ebp - 4], 0x10
je 0x450d55
mov eax, dword [esi + 0x1c]
push 8
lea edx, [ebp - 0x14]
push edx
push 0x32
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
call edi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
xor ecx, ecx
push edx
mov word [ebx], cx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.00402639
push eax
call fcn.00450bd0
add esp, 0x14
test al, al
je 0x450dd2
mov eax, dword [esi + 0x1c]
push 4
lea edx, [esi + 0x28]
push edx
push 2
push eax
call edi
test eax, eax
je 0x450dd2
mov edx, dword [esi + 0x1c]
push 4
lea ecx, [esi + 0x2c]
push ecx
push 6
push edx
call edi
test eax, eax
je 0x450dd2
movzx eax, word [ebx]
push 0
push 0
push 3
push 0
push 0
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402639
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
xor edx, edx
test eax, eax
mov dword [esi + 0x20], eax
setne al
pop edi
mov esp, ebp
pop ebp
ret 0x10
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450de0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], edx
mov esi, 0x460c000
je 0x450e26
mov esi, 0x4e0f000
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
call fcn.00403325
lea eax, [ebp - 0x2c]
call fcn.004025a4
push 0
push 0
lea edi, [ebp - 0x2c]
call fcn.004032db
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
push eax
xor eax, eax
mov ecx, edi
call fcn.004031db
mov ecx, dword [ebp - 0x38]
push 0
push ecx
or eax, 0xffffffff
mov dword [ebp - 4], 0
call fcn.004030d3
push 0
push esi
push 0
push 0
push str.HTTP_1.1
mov eax, edi
call fcn.00402639
mov edx, dword [ebp - 0x34]
push eax
push edx
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x450ee0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0x1f
push esi
mov dword [ebp - 0x34], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x450ec0
or dword [ebp - 0x30], 0x3100
push 4
lea edx, [ebp - 0x30]
push edx
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp byte [ebp + 0x10], 0
je 0x450ee0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x450ee0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.004025ff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret

Function at 0x452dc2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491654]
jne 0x452dcc
repz ret
jmp fcn.0045b1d2
Function at 0x46516f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x491654]
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.0045c2ab
and dword [ebp - 0x14], 0
cmp dword [0x49606c], 0
mov dword [ebp - 0x18], eax
jne 0x465222
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4652ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47967c
push ebx
call edi
test eax, eax
je 0x4652ca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49606c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x496070], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x496074], eax
call edi
push eax
call esi
mov dword [0x49607c], eax
test eax, eax
je 0x465222
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x496078], eax
mov eax, dword [0x496078]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46527b
cmp dword [0x49607c], ecx
je 0x46527b
push eax
call esi
push dword [0x49607c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46527b
test ebx, ebx
je 0x46527b
call edi
test eax, eax
je 0x465272
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x465272
test byte [ebp - 8], 1
jne 0x46527b
or dword [ebp + 0x10], 0x200000
jmp 0x4652ae
mov eax, dword [0x496070]
cmp eax, dword [ebp - 0x18]
je 0x4652ae
push eax
call esi
test eax, eax
je 0x4652ae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4652ae
mov eax, dword [0x496074]
cmp eax, dword [ebp - 0x18]
je 0x4652ae
push eax
call esi
test eax, eax
je 0x4652ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49606c]
call esi
test eax, eax
je 0x4652ca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4652cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dc2
leave
ret
Function at 0xc78370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xc7838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xca1074
push ecx
mov edi, eax
call fcn.00c8c198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc783cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c8c02e
push esi
call fcn.00c8bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xc7b850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xc7b8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xca6720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc7b8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00c8c1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xc7b8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xca6720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc7b92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00c8d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xc7b957
mov word [eax], si
add eax, 2
push eax
call fcn.00c8d030
add esp, 4
jmp 0xc7b959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xc7b8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xc7b8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xc7bff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret