joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b080
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x41ea88]
test eax, eax
jne 0x40b0ba
mov eax, dword [0x41ea64]
push 1
push eax
mov dword [0x41ea88], 1
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00408b20
push 0
call fcn.00408aa0
add esp, 4
call fcn.00408b70
jmp fcn.00409130
ret

Function at 0x40b770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov ecx, 8
xor eax, eax
lea edx, [esp + 0x20]
push ebx
push esi
push edi
mov edi, dword [esp + 0x238]
rep stosd dword es:[edi], eax
mov ecx, 0xc
mov esi, str.SoftwareOntrackPowerDeskCurrentVersionPDFind
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, 0x41d790
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x23c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [esp + 0x34]
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b88a
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, 8
push esi
lea edx, [esp + 0x1c]
push 0x41d9c0
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x130]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x40b876
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x130]
push edx
push eax
call fcn.0040b6a0
add esp, 8
dec esi
test esi, esi
jg 0x40b822
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40b88a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x228
ret

Function at 0x40ba70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov ecx, dword [0x422b20]
lea edx, [esp]
xor eax, eax
push edx
mov dword [esp + 4], 0x3c
mov dword [esp + 8], eax
mov dword [esp + 0x10], str.print
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
add esp, 0x3c
ret
Function at 0x40e3e0
Capabilities:
Get common file path

Disassembly:
push ecx
mov eax, dword [0x41ecf0]
test eax, eax
jne 0x40e3fd
push 0x41ecf0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x40e3fd
xor eax, eax
pop ecx
ret
mov ecx, dword [0x41ea58]
lea eax, [esp]
push eax
push 9
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x41ecf4]
test eax, eax
jne 0x40e425
push 0x41ecf4
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov edx, dword [esp]
mov eax, dword [0x41ecf4]
push esi
push 1
push 0x41ecf8
push edx
push eax
mov dword [0x41ecec], 0x34bc
mov dword [0x41ece8], 0x14
call fcn.0040dee0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x40e48c
mov eax, dword [0x41ecf4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x41ecf0]
mov ecx, dword [esp + 4]
mov dword [0x41ecf4], esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
mov eax, dword [0x41ecf0]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [0x41ecf0], esi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x40ea80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x404
add eax, 0x2c
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
push ecx
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x14]
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40eb85
mov edi, dword [esp + 0x420]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
jne 0x40eafe
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x404
ret
cmp edi, 0x400
jg 0x40eb7e
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
cmp esi, edi
jl 0x40eb50
mov ecx, dword [esp + 0x424]
mov eax, dword [esp + 0x420]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
push eax
call fcn.0040eba0
add esp, 0x10
test eax, eax
jne 0x40eae7
lea ecx, [edi - 1]
test ecx, ecx
jle 0x40eb4e
mov edx, eax
sub edx, edi
add edx, esi
inc eax
cmp eax, ecx
mov dl, byte [esp + edx + 0x15]
mov byte [esp + eax + 0x13], dl
jl 0x40eb3b
mov esi, ecx
mov ecx, 0x400
lea eax, [esp + 0x10]
push 0
sub ecx, esi
push eax
lea edx, [esp + esi + 0x1c]
push ecx
push edx
push ebp
call ebx
test eax, eax
je 0x40eb7e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40eb7e
add esi, eax
mov eax, dword [0x41da3c]
test eax, eax
je 0x40eb0e
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x404
ret
Function at 0x412370
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x41ea68]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4123b7
mov ecx, dword [0x41ea74]
push ecx
call edi
test eax, eax
je 0x4123b7
mov edx, dword [0x41ea68]
push 0
push 0
push 0x7e9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x41ea74]
push 0
push eax
call esi
mov ecx, dword [0x41ea6c]
push ecx
call edi
test eax, eax
je 0x4123df
call dword [0x421ff4]
mov edx, dword [0x41ea6c]
push 0
push edx
mov dword [0x41ea78], 0
call esi
mov eax, dword [0x41ea74]
mov ecx, dword [0x41ea68]
push eax
push ecx
call fcn.00411120
mov edx, dword [0x41ea70]
add esp, 8
push 0
push edx
call esi
mov al, byte [0x41e998]
pop edi
mov byte [0x421ffc], al
pop esi
ret
Function at 0x412690
Capabilities:
Check if file exists
Get file attributes
Hide graphical window

Disassembly:
mov eax, dword [0x41ea68]
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412821
mov ebx, dword [esp + 0x11c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp byte [ebx], 0
jne 0x412731
call fcn.00412370
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x421ffc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004053b0
add esp, 4
test eax, eax
je 0x41276a
mov edx, dword [0x41ea58]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x20], 0
call fcn.00405260
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call ebp
test al, 0x10
je 0x412749
call fcn.00412370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x4126c5
call fcn.00412370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x41ea70]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push eax
call esi
mov edi, dword [esp + 0x120]
test di, di
jne 0x4127d7
push ebx
call dword [0x421ff0]
test eax, eax
je 0x4127d7
mov eax, dword [0x41ea74]
test eax, eax
je 0x41279f
push 0
push eax
call esi
mov eax, dword [0x41ea68]
test eax, eax
je 0x4127ad
push 0
push eax
call esi
push ebx
call dword [0x422314]
push 0x411550
push 0xfffffffffffffffc
push eax
mov dword [0x41ea78], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
pop ebp
mov dword [0x421ff8], eax
pop ebx
add esp, 0x108
ret
mov ecx, dword [0x41ea6c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4127ee
call dword [0x421ff4]
mov eax, dword [0x41ea78]
test eax, eax
je 0x4127fc
push 0
push eax
call esi
mov eax, dword [0x41ea6c]
test eax, eax
je 0x41280a
push 0
push eax
call esi
mov edx, dword [0x41ea74]
mov eax, dword [0x41ea68]
push edi
push ebx
push edx
push eax
call fcn.00412560
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x41725d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41e1f8
cmp edx, dword [eax]
je 0x41727f
add eax, 8
inc ecx
cmp eax, 0x41e288
jl 0x417270
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41e1f8]
jne 0x4173ad
mov eax, dword [0x42246c]
cmp eax, 1
je 0x417387
test eax, eax
jne 0x4172b0
cmp dword [0x41e014], 1
je 0x417387
cmp edx, 0xfc
je 0x4173ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4172e7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00417b00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004155e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41732a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004155e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41b914
push edi
call fcn.004132d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00417b00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00417b10
lea eax, [ebp - 0xa0]
push 0x41b8f4
push eax
call fcn.00417b10
push dword [esi + 0x41e1fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00417b10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00418b35
add esp, 0x2c
pop edi
jmp 0x4173ad
lea eax, [ebp + 8]
lea esi, [esi + 0x41e1fc]
push 0
push eax
push dword [esi]
call fcn.004155e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x594a6cc0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, str.eUy
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x55252fc9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6fbc1be0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x6fbc1c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6fbc5034]
test esi, esi
jle 0x6fbc1d60
mov eax, dword [0x6fbc5038]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6fbc1c74
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6fbc1cf7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6fbc1c60
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x6fbc1d87
mov eax, dword [0x6fbc5038]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x6fbc5038]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6fbc1d67
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6fbc1cf0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6fbc1d00
add dword [0x6fbc5034], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6fbc5038]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6fbc1cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6fbc1c7e
mov eax, dword [0x6fbc5038]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop
Function at 0x6fbc2020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6fbc5044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6fbc503c]
sub esp, 4
test ebx, ebx
je 0x6fbc2075
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6fbc206e
test esi, esi
je 0x6fbc206e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6fbc2050
mov dword [esp], 0x6fbc5044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6fbc23a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6fbc0000], 0x5a4d
jne 0x6fbc23c5
mov ecx, dword [0x6fbc003c]
cmp dword [ecx + 0x6fbc0000], 0x4550
lea edx, [ecx + 0x6fbc0000]
je 0x6fbc23d0
ret
cmp word [ecx + 0x6fbc0018], 0x10b
jne 0x6fbc23c5
push esi
movzx eax, word [ecx + 0x6fbc0014]
push ebx
movzx esi, word [ecx + 0x6fbc0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6fbc0000
test esi, esi
je 0x6fbc2418
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6fbc240e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6fbc241a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6fbc2400
xor eax, eax
pop ebx
pop esi
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x113d611a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3644756c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
push 0x40429c
mov edi, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40301c
pop edi
pop esi
pop ecx
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40307b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, edi
mov eax, ebx
call fcn.00402a70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0xc]
push ecx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x403082
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.00401180
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4015dc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x41a6ea
call fcn.00417264
mov eax, 0x10d8
call fcn.00414700
push ebx
push esi
xor eax, eax
push edi
mov word [ebp - 0x38], ax
xor ebx, ebx
push 0x20
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], ebx
call fcn.0040377d
push ebx
push ebx
push ebx
push ebx
push str.Download
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x401745
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x40163a
lea eax, [ebp - 0x38]
push ebx
push 0x84000100
push ebx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x40165f
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x401745
lea eax, [ebp - 0xe4]
push eax
call fcn.004020a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd8], 6
je 0x401691
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
jmp 0x40171e
lea eax, [ebp - 0x14]
push eax
mov edi, 0x1000
push edi
lea eax, [ebp - 0x10e4]
push eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x4016d6
cmp dword [ebp - 0x14], ebx
jbe 0x4016dc
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10e4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00401cf0
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x10e4]
push eax
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x4016ab
lea ecx, [ebp - 0xe0]
call fcn.00402b4b
test eax, eax
jne 0x401710
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xe4]
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x401709
or eax, 4
push ebx
push eax
call fcn.0040141d
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.0040217b
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], vtable.std::ios_base.0
call fcn.00405069
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x38]
call fcn.00402aed
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret