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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4135bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.00411b50
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
call fcn.00411b50
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.00411b50
push edi
lea ecx, [esi + 0x5c]
push str.Ras_TotalBytes_Received
mov byte [ebp - 4], 2
call fcn.0040de90
push edi
lea ecx, [esi + 0x68]
push str.Ras_TotalBytes_Transmitted
mov byte [ebp - 4], 3
call fcn.0040de90
lea ebx, [esi + 0x74]
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.0040df30
lea ecx, [esi + 0x1c]
xor eax, eax
xor edx, edx
mov byte [ebp - 4], 5
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0xc]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [esi + 0x38]
mov dword [esi + 0x38], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, dword [0x41ae7c]
cmp eax, edi
je 0x40f222
push edi
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0040df50
lea eax, [esi + 0x5c]
mov ecx, ebx
push eax
call fcn.0040df90
lea eax, [esi + 0x68]
mov ecx, ebx
push eax
call fcn.0040df90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410680
Capabilities:
Query service status

Disassembly:
mov eax, dword [0x41ae7c]
sub esp, 0x1c
test eax, eax
je 0x4106dc
mov eax, dword [0x41ae78]
test eax, eax
jne 0x4106af
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
xor eax, eax
add esp, 0x1c
ret
lea edx, [esp]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 4], 4
je 0x4106dc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [0x41ae70]
test eax, eax
jne 0x41078e
push str.RASAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x41ae70], eax
jne 0x410713
mov edx, dword [esp + 0x24]
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [eax], 0
xor eax, eax
add esp, 0x1c
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumConnectionsA
push eax
call esi
mov ecx, dword [0x41ae70]
push str.RasGetConnectStatusA
push ecx
mov dword [0x41ae68], eax
call esi
mov ecx, dword [0x41ae68]
mov dword [0x41ae6c], eax
test ecx, ecx
pop esi
je 0x410749
test eax, eax
jne 0x41078e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
mov ecx, dword [0x41ae70]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x41ae70], 0
mov dword [0x41ae6c], 0
mov dword [0x41ae68], 0
xor eax, eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call dword [0x41ae68]
add esp, 0x1c
ret

Function at 0x4107b0
Capabilities:
Query service status

Disassembly:
mov eax, dword [0x41ae74]
sub esp, 0x1c
test eax, eax
push edi
je 0x4107d6
mov ecx, dword [0x41ae78]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 8], 4
jne 0x4107f7
mov eax, dword [0x41ae70]
test eax, eax
jne 0x41089b
push str.RASAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x41ae70], eax
jne 0x410818
mov edx, dword [esp + 0x28]
mov ecx, 0x28
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0xa0
mov dword [edx + 4], 0x2001
pop edi
add esp, 0x1c
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumConnectionsA
push eax
call esi
mov edx, dword [0x41ae70]
push str.RasGetConnectStatusA
push edx
mov dword [0x41ae68], eax
call esi
mov ecx, dword [0x41ae68]
mov dword [0x41ae6c], eax
test ecx, ecx
pop esi
je 0x41084e
test eax, eax
jne 0x4108a0
mov edx, dword [esp + 0x28]
mov ecx, 0x28
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0xa0
mov dword [edx + 4], 0x2001
mov eax, dword [0x41ae70]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x41ae70], 0
mov dword [0x41ae6c], 0
mov dword [0x41ae68], 0
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [0x41ae6c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call eax
pop edi
add esp, 0x1c
ret
Function at 0x410d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x413779
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea eax, [eax + eax*2]
mov dword [esp + 8], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, edi
push esi
call sub.MFC42.DLL_CString::CString_1
lea edx, [esi + 4]
lea ecx, [edi + 4]
push edx
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esi + 8]
lea ecx, [edi + 8]
push eax
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
lea edx, [edi + 0xc]
mov byte [esp + 0x14], 2
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
lea eax, [edi + 0x1c]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x34]
lea eax, [esi + 0x38]
mov dword [edi + 0x34], edx
lea ecx, [edi + 0x38]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x48], ecx
mov edx, dword [esi + 0x4c]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], ecx
mov edx, dword [esi + 0x58]
lea ecx, [esi + 0x60]
mov dword [edi + 0x58], edx
mov eax, dword [esi + 0x5c]
push ecx
lea ecx, [edi + 0x60]
mov dword [edi + 0x5c], eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 0x64]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x68]
lea ecx, [esi + 0x6c]
push ecx
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
mov dword [edi + 0x68], eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 0x70]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x70], edx
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x402800
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403c74
test esi, esi
jne 0x402836
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403d64
jmp 0x402854
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004026b4
mov edi, eax
test esi, esi
je 0x402854
cmp dword [ebx], 0
je 0x402854
dec esi
jmp 0x40283d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4031b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40900c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40324c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40322c
xor eax, eax
push ebp
push 0x403225
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403268
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40322c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40900c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40900c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403af8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403b59
cmp word [0x40a218], 0xd7b2
jne 0x403b21
cmp dword [0x40a220], 0
jbe 0x403b21
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403b80
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409018], 0
jne 0x403b75
push 0
push 0x409090
push 0x409070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404558
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404788
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4045db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404788
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4045db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4047a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404664
xor eax, eax
push ebp
push 0x40465d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004043a0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404642
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4047c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404642
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404664
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40477e
cmp byte [ebp - 0xd], 0
jne 0x4046ab
cmp byte [ebp - 0x12], 0
je 0x40477e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4046c4
dec ebx
cmp byte [ebx], 0x2e
je 0x4046d3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4046c3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40477e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404710
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40477e
cmp byte [ebp - 0xd], 0
je 0x40477e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40477e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4065b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4065f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d64
jmp 0x4065fa
mov eax, ebx
mov edx, esi
call fcn.00403cc8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406604
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406625
mov al, byte [esp]
jmp 0x406627
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406cac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406b24
mov eax, dword [0x4093b4]
cmp byte [eax], 0
je 0x406d14
mov eax, dword [0x409314]
call fcn.00402b68
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405a10
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406d5c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406d4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a710]
call fcn.00404364
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x4076dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407740
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403eb8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004058e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407747
lea eax, [ebp - 0xc]
call fcn.00403c74
ret
Function at 0x408268
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffaa4
mov ebp, edx
mov edi, eax
push 0
push 0
push 0
push 0
push 0x408388
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x408367
push 0
push 0x80000000
push 0
push 0
mov eax, edi
call fcn.00403fb4
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x408330
mov edx, ebp
lea eax, [esp + 0x408]
call fcn.00402ab8
mov edx, 1
lea eax, [esp + 0x408]
call fcn.00402da8
call fcn.00402618
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x401
call fcn.00402c80
push esp
push 0x401
lea eax, [esp + 0xc]
push eax
push esi
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [esp + 8]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x40c]
call fcn.00402c08
call fcn.00402618
cmp dword [esp], 0
jne 0x4082d5
push esi
call sub.wininet.dll_InternetCloseHandle
lea eax, [esp + 0x408]
call fcn.00402c28
call fcn.00402618
jmp 0x40835f
mov dword [esp + 0x554], edi
mov byte [esp + 0x558], 0xb
lea eax, [esp + 0x554]
push eax
push 0
mov ecx, 0x40839c
mov dl, 1
mov eax, dword [0x404ecc]
call fcn.00406d9c
call fcn.004036d4
push ebx
call sub.wininet.dll_InternetCloseHandle
jmp 0x40837d
mov ecx, 0x4083b8
mov dl, 1
mov eax, dword [0x404ecc]
call fcn.00406d60
call fcn.004036d4
add esp, 0x55c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4025d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4338bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x449214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x5c]
mov dword [esi], 0xb18c5a78
mov dword [esi + 4], 0x34f1cc93
mov dword [esi + 8], 0x26a862d
mov dword [esi + 0xc], 0xb47b5e45
mov dword [esi + 0x10], 0x8a1fb40b
mov dword [esi + 0x14], 0x96d88b7f
mov dword [esi + 0x18], 0x4f9fa12d
mov dword [esi + 0x1c], 0x89f60427
mov dword [esi + 0x20], 0x88328cf0
mov dword [esi + 0x24], 0xc8445ffd
mov dword [esi + 0x28], 0x43e99d4c
mov dword [esi + 0x2c], 0x7777fbd8
mov dword [esi + 0x30], 0xace3eeae
mov dword [esi + 0x34], 0xfbb86346
mov dword [esi + 0x38], 0x2eecb99
mov dword [esi + 0x3c], 0x4632ce24
mov dword [esi + 0x40], 0xd675abc6
mov dword [esi + 0x44], 0x5993d793
mov dword [esi + 0x48], 0xefae7b7d
mov dword [esi + 0x4c], 0x53821f02
mov dword [esi + 0x50], 0x13d3578e
mov word [esi + 0x54], 0x5633
mov byte [esi + 0x56], 0x35
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax + 0x5c]
test edi, edi
je 0x4026fe
mov dword [esi + 0x58], 0
cmp dword [edi], 0x736d6864
jne 0x4026fe
cmp dword [edi + 8], 0
jbe 0x4026fe
cmp dword [edi + 4], 0
jbe 0x4026fe
mov eax, dword [ebx]
mov ecx, ebx
push ebx
mov dword [ebx + 4], eax
push dword [edi + 4]
call fcn.00401c50
push dword [edi + 4]
push edi
push dword [ebx]
call fcn.00418eb0
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [esi + 0x58], eax
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 4
Function at 0x402720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4338eb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x449214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x5c]
mov dword [edi], 0xb18c5a78
mov dword [edi + 4], 0x34f1cc93
mov dword [edi + 8], 0x26a862d
mov dword [edi + 0xc], 0xb47b5e45
mov dword [edi + 0x10], 0x8a1fb40b
mov dword [edi + 0x14], 0x96d88b7f
mov dword [edi + 0x18], 0x4f9fa12d
mov dword [edi + 0x1c], 0x89f60427
mov dword [edi + 0x20], 0x88328cf0
mov dword [edi + 0x24], 0xc8445ffd
mov dword [edi + 0x28], 0x43e99d4c
mov dword [edi + 0x2c], 0x7777fbd8
mov dword [edi + 0x30], 0xace3eeae
mov dword [edi + 0x34], 0xfbb86346
mov dword [edi + 0x38], 0x2eecb99
mov dword [edi + 0x3c], 0x4632ce24
mov dword [edi + 0x40], 0xd675abc6
mov dword [edi + 0x44], 0x5993d793
mov dword [edi + 0x48], 0xefae7b7d
mov dword [edi + 0x4c], 0x53821f02
mov dword [edi + 0x50], 0x13d3578e
mov word [edi + 0x54], 0x5633
mov byte [edi + 0x56], 0x35
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi + 0x58], 0
mov ecx, esi
mov eax, dword [esi]
push esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x736d6864
mov dword [ebp - 0x18], 0xc
mov dword [esi + 4], eax
call fcn.00401c50
mov eax, dword [esi]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405450
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push esi
push edi
test ecx, ecx
je 0x40564a
mov eax, dword [ebp + 8]
test eax, eax
je 0x40564a
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x400
push edx
lea edx, [ebp - 4]
mov dword [ebp - 0x10], 0
push edx
push 0
push 1
push ecx
push eax
mov dword [ebp - 0xc], 0
call esi
push dword [ebp - 4]
call fcn.00417762
push dword [ebp - 4]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x14], edi
call fcn.004199b0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
push dword [ebp - 4]
call fcn.0041c5da
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
test edi, edi
je 0x40564a
push dword [ebp - 4]
mov esi, dword [ebp - 0x14]
push esi
push edi
call fcn.00418eb0
push esi
call fcn.0041776b
xor ecx, ecx
add esp, 0x10
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 4], ecx
ja 0x4055a2
mov edx, ebx
cmp dword [ebp + 0x10], 0
je 0x40562b
cmp dword [edi], 0x736d6864
jne 0x405633
cmp dword [edi + 8], 0
jbe 0x405633
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x405633
mov esi, dword [edx + 0x60]
lea edi, [edx + 0x5c]
sub esi, dword [edi]
add ebx, 0xfffffff4
push edi
mov ecx, edi
lea eax, [esi + ebx]
push eax
call fcn.00401c50
mov eax, dword [ebp + 8]
add eax, 0xc
push ebx
push eax
mov eax, dword [edi]
add eax, esi
push eax
call fcn.00418eb0
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add dword [edx + 0x58], eax
mov ecx, dword [edi]
mov edi, dword [ebp + 8]
push edi
add dword [ecx + 4], ebx
mov eax, dword [edx + 0x58]
mov dword [ecx + 8], eax
call fcn.0041c5d5
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, edx
mov eax, 0xea0ea0eb
mov esi, ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x23
sub esi, eax
mov eax, 0x4bda12f7
imul ecx
mov bl, byte [esi + ebx + 0x34]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 8]
imul eax, eax, 0x1b
sub ecx, eax
mov eax, 0x78787879
xor bl, byte [ecx + edx + 0x19]
imul dword [ebp + 0xc]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 8]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
xor bl, byte [eax + edx + 8]
mov eax, ecx
and eax, 0x80000007
jns 0x405613
dec eax
or eax, 0xfffffff8
inc eax
xor bl, byte [eax + edx]
xor byte [ecx + edi], bl
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebp - 4]
jb 0x4055a0
jmp 0x405513
push edi
mov ecx, edx
call fcn.00405ea0
push edi
call fcn.0041c5d5
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4056c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00417c20
mov eax, dword [0x449214]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x435674]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x3ffe
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push 0
push eax
call fcn.004199b0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x4057c3
test edi, edi
je 0x4057c3
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4057c3
cmp eax, 0x3fff
ja 0x4057c3
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4057c3
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x436aa4
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4057c3
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004199b0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00407780
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417c0e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00417c0e
mov esp, ebp
pop ebp
ret