joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7b3d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28e000]
push edi
or ebp, 0xffffffff
jmp 0x7b3da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7b3da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b3d98
mov eax, 1
add ebx, ebx
jne 0x7b3dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7b3dcc
jne 0x7b3ddc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b3ddc
dec eax
add ebx, ebx
jne 0x7b3dd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7b3db0
xor ecx, ecx
sub eax, 3
jb 0x7b3df4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7b3e66
sar eax, 1
mov ebp, eax
jmp 0x7b3dff
add ebx, ebx
jne 0x7b3dff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7b3e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7b3e30
inc ecx
add ebx, ebx
jne 0x7b3e1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7b3e11
jne 0x7b3e2d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7b3e11
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7b3e50
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7b3e41
jmp 0x7b3d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7b3e50
add edi, ecx
jmp 0x7b3d9e
pop esi
mov edi, esi
mov ecx, 0xb213
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7b3e6e
cmp byte [edi], 0x1f
jne 0x7b3e6e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x7b3e73
lea edi, [esi + 0x3af000]
mov eax, dword [edi]
or eax, eax
je 0x7b3eeb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b3068]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b3194]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7b3ea0
mov ecx, edi
jns 0x7b3ecf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b3198]
or eax, eax
je 0x7b3ee5
mov dword [ebx], eax
add ebx, 4
jmp 0x7b3ebd
call dword [esi + 0x3b319c]
popal
jmp 0x4014dc
Function at 0x403d10
Capabilities:
Access peb ldr_data
Connect network resource

Disassembly:
push 0xffffffffffffffff
push 0x40d143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x13c], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x30]
push eax
push str._s
push ecx
mov byte [esp + 0x148], 1
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x154]
add esp, 0xc
cmp eax, ebx
je 0x403ded
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x10]
push ebx
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x18]
lea edx, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], edx
call sub.MPR.dll_WNetAddConnection2A
cmp eax, ebx
je 0x403dfa
lea ecx, [esp + 0xc]
push 0x4137b4
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x154]
add esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esi + 0x60]
push 0xffff0002
push edx
push ebx
push ebx
push ebx
push 3
push 2
push eax
push 0x23
call sub.MFC42.DLL_CTreeCtrl::InsertItem
jmp 0x403dfa
push 1
lea ecx, [esp + 0x34]
push ebx
push ecx
call sub.MPR.dll_WNetCancelConnection2A
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.0040c472
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040c472
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret 0xc
Function at 0x404190
Capabilities:
Enumerate network shares
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40d1bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
xor edi, edi
push 1
push ecx
mov dword [esp + 0xe8], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
call sub.NETAPI32.dll_NetShareEnum
cmp eax, edi
je 0x404207
cmp eax, 0xea
jne 0x40429e
mov edx, dword [esp + 0xd8]
push 0xffff0002
push edx
push edi
push edi
push edi
push 3
add ebx, 0x60
push 2
push 0x413848
push 0x23
mov ecx, ebx
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x4042a4
mov ecx, dword [esi]
push 0
push 0
lea eax, [esp + 0x2c]
push 0x64
push eax
push 0x96
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esi + 8]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x413840
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0xffff0002
push ebp
push 0
push 0
push 0
push 5
push 4
push edx
push 0x23
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov eax, dword [esp + 0x18]
add esi, 0xc
inc edi
cmp edi, eax
jb 0x40423a
xor edi, edi
mov esi, dword [esp + 0x14]
jmp 0x4042a6
xor edi, edi
cmp esi, edi
je 0x4042b0
push esi
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0040c472
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 8
Function at 0x4042f0
Capabilities:
List user account groups

Disassembly:
push 0xffffffffffffffff
push 0x40d1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push ebp
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
xor edi, edi
push 2
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call sub.NETAPI32.dll_NetGroupEnum
cmp eax, edi
je 0x40435d
cmp eax, 0xea
jne 0x4043df
mov edx, dword [esp + 0x34]
push 0xffff0002
push edx
push edi
push edi
push edi
push 3
add ebx, 0x60
push 2
push 0x413874
push 0x23
mov ecx, ebx
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov ebp, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jbe 0x4043df
mov eax, dword [esp + 0x10]
push esi
lea esi, [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi - 4]
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push 0x413854
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0xffff0002
push ebp
push 0
push 0
push 0
push 5
push 4
push eax
push 0x23
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov eax, dword [esp + 0x10]
add esi, 0x10
inc edi
cmp edi, eax
jb 0x404391
xor edi, edi
pop esi
mov eax, dword [esp + 0x10]
cmp eax, edi
pop edi
pop ebp
pop ebx
je 0x4043f0
push eax
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040c472
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x404420
Capabilities:
List user account groups

Disassembly:
push 0xffffffffffffffff
push 0x40d1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push ebp
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
xor edi, edi
push 2
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call sub.NETAPI32.dll_NetLocalGroupEnum
cmp eax, edi
jne 0x404508
mov edx, dword [esp + 0x34]
push 0xffff0002
push edx
push edi
push edi
push edi
push 3
add ebx, 0x60
push 2
push 0x4138a4
push 0x23
mov ecx, ebx
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov ebp, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jbe 0x404508
mov eax, dword [esp + 0x10]
push esi
lea esi, [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi - 4]
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push 0x413880
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0xffff0002
push ebp
push 0
push 0
push 0
push 5
push 4
push eax
push 0x23
call sub.MFC42.DLL_CTreeCtrl::InsertItem
mov eax, dword [esp + 0x10]
add esi, 0x10
inc edi
cmp edi, eax
jb 0x4044ba
xor edi, edi
pop esi
mov eax, dword [esp + 0x10]
cmp eax, edi
pop edi
pop ebp
pop ebx
je 0x404519
push eax
call sub.NETAPI32.dll_NetApiBufferFree
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040c472
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x40b330
Capabilities:
Access peb ldr_data
Connect network resource
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40e138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esi + 0x120]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CIPAddressCtrl::GetAddress
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x20]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x1c]
push str._d._d._d._dipc_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], ebx
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [esp + 0x50]
push ebx
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x28]
push edi
push eax
call sub.MPR.dll_WNetAddConnection2A
cmp eax, ebx
mov edi, 0x64
jne 0x40b45b
mov ecx, dword [esp + 0x50]
lea edx, [esi + 0x160]
push ecx
push 0x414584
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push 1
push ebx
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.MPR.dll_WNetCancelConnection2A
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x18c], edi
cmp dword [0x20ba984], ebx
jne 0x40b493
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x18c], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
call fcn.0040c472
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], bl
call fcn.0040c472
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040c472
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410360]
jne 0x403d8d
repz ret
jmp fcn.004094e0

Function at 0x407e35
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.0040471e
and dword [ebp - 4], 0
cmp dword [0x411554], 0
mov ebx, eax
jne 0x407ee6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407f97
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40da84
push edi
call esi
test eax, eax
je 0x407f97
push eax
call fcn.004046ac
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411554], eax
call esi
push eax
call fcn.004046ac
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411558], eax
call esi
push eax
call fcn.004046ac
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41155c], eax
call esi
push eax
call fcn.004046ac
pop ecx
mov dword [0x411564], eax
test eax, eax
je 0x407ee6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004046ac
pop ecx
mov dword [0x411560], eax
mov eax, dword [0x411560]
cmp eax, ebx
je 0x407f3e
cmp dword [0x411564], ebx
je 0x407f3e
push eax
call fcn.00404727
push dword [0x411564]
mov esi, eax
call fcn.00404727
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407f3e
test edi, edi
je 0x407f3e
call esi
test eax, eax
je 0x407f35
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407f35
test byte [ebp - 0xc], 1
jne 0x407f3e
or dword [ebp + 0x10], 0x200000
jmp 0x407f77
mov eax, dword [0x411558]
cmp eax, ebx
je 0x407f77
push eax
call fcn.00404727
pop ecx
test eax, eax
je 0x407f77
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407f77
mov eax, dword [0x41155c]
cmp eax, ebx
je 0x407f77
push eax
call fcn.00404727
pop ecx
test eax, eax
je 0x407f77
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411554]
call fcn.00404727
pop ecx
test eax, eax
je 0x407f97
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407f99
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x40f197
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a16b
mov dword [ebp - 0x14], eax
cmp dword [0x453d7c], esi
jne 0x40f28a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f217
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f36a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f36a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f36a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x453d7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x453d80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x453d84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x453d8c], eax
test eax, eax
je 0x40f287
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x453d88], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f2af
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f2a2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push 4
pop eax
jmp 0x40f36c
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push dword [0x453d7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f2a9
mov eax, dword [0x453d88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f322
cmp dword [0x453d8c], edi
je 0x40f322
push eax
call ebx
push dword [0x453d8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f322
test eax, eax
je 0x40f322
call ecx
test eax, eax
je 0x40f317
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f317
test byte [ebp - 8], 1
jne 0x40f322
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f352
mov eax, dword [0x453d80]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
call eax
mov esi, eax
test esi, esi
je 0x40f34f
mov eax, dword [0x453d84]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x453d7c]
call ebx
test eax, eax
je 0x40f36a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f36c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040482b
mov esp, ebp
pop ebp
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1002aaee
pop dword [ebp - 0x14]
mov eax, 0x2a916261
sub eax, 0x1a8eb773
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x15f4d287
sub dword [ebp - 0x24], 0xc7a28d3c
mov dword [ebp - 0x20], 0xa83e0a2c
add dword [ebp - 0x20], 0x89f54219
mov dword [ebp - 0x1c], 0x19e22ad4
sub dword [ebp - 0x1c], 0xcd95e6a6
mov dword [ebp - 0x18], 0x74c59c8
sub dword [ebp - 0x18], 0x74c59c8
lea eax, [ebp - 0x24]
push eax
mov eax, 0x2269995f
sub eax, 0x1266d927
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7c210c52
add dword [ebp - 0x24], 0xf8515d04
mov dword [ebp - 0x20], 0x12d4d491
sub dword [ebp - 0x20], 0xd168731c
mov dword [ebp - 0x1c], 0x58b9262a
sub dword [ebp - 0x1c], 0xf549b9be
mov dword [ebp - 0x18], 0x2d364f15
add dword [ebp - 0x18], 0xd2c9b0eb
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x48eb55a7
add eax, 0xc7176a81
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x36b24
push 0
call eax
mov ecx, 0x48ea
xor ebx, ebx
add ebx, eax
mov esi, 0x2bbcab51
add esi, 0xe446eaaf
add esi, dword [ebp - 0x14]
mov edi, 0xc1652f8e
add edi, 0xe356a4c2
add dword [ebp - 0x10], 0x3a66fbc7
mov edx, dword [esi]
xor dword [ebp - 8], 0x840f26dd
add edx, edi
sub dword [ebp - 0xc], eax
mov dword [ebx], edx
mov dword [ebp - 8], 0xe01f6873
add ebx, 0x42644562
sub ebx, 0x4264455e
add esi, 0x4f5b148e
add esi, 0xb0a4eb76
loop 0x1002ac0c
add eax, 0x8005cab
add eax, 0xf800b9d0
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10013c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10013c44
xor eax, eax
jmp 0x10013cc4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10013c5b
xor eax, eax
jmp 0x10013cc4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10013ca7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10013ca7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10013c7e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10013cb3
xor eax, eax
jmp 0x10013cc4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10013cc1
xor eax, eax
jmp 0x10013cc4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10016c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e704b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x10124014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.100bcbf0
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.100195e0
test eax, eax
je 0x10016c87
push 0x100f726c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x10016ccf
push 1
lea eax, [ebp - 0x424]
push eax
call fcn.100b33d0
add esp, 8
lea ecx, [ebp - 0x424]
call fcn.10009140
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x424]
call fcn.10010160
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.100bcbf0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x428], eax
push str._PopMgrStub.log
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0x100f729c
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.1000fb70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x42c]
push edx
mov ecx, 0x10127ebc
call fcn.10019040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.10010160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d946
mov esp, ebp
pop ebp
ret