joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445f63
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x48de9c
call fcn.00464e7c
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x4e25f4
mov ecx, dword [eax]
mov eax, dword [0x4e25f0]
cmp eax, dword [ecx + 4]
jle 0x445fc8
mov esi, 0x4e25f0
push esi
call fcn.00464c26
cmp dword [0x4e25f0], 0xffffffff
pop ecx
jne 0x445fc8
call fcn.0044afe1
push eax
mov ecx, edi
call fcn.00402824
push 0x48fda0
call fcn.00464aed
pop ecx
push esi
call fcn.00464bdc
pop ecx
mov eax, dword [0x4e25f4]
cmp dword [eax - 0xc], 0
jne 0x4460d6
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x428]
call fcn.00402824
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00466990
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jne 0x446128
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.004027df
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.0040252d
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00466990
add esp, 0xc
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x42c]
push esi
push esi
mov esi, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.msi.dll_MsiMessageBoxW]
mov edi, eax
test edi, edi
jne 0x4460f4
lea eax, [ebp - 0x420]
mov edi, 0x4e25f4
push eax
mov ecx, edi
call fcn.004027df
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.0040279b
push 0
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 2
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402def
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402def
mov edx, ebx
mov ecx, edi
call fcn.004413e2
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.00464e26
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.0040279b
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 3
pop ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x446160
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.0040279b
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
pop ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov esi, dword [ebp - 0x428]
lea ecx, [esi - 0x10]
call fcn.00402def
mov eax, edi
jmp 0x4460ee
Function at 0x446f27
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x48e18c
call fcn.00464e7c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push ebx
push eax
call fcn.00466990
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0046c704
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x220]
push eax
call fcn.0040279b
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.0040279b
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 2
lea edx, [ebp - 0x224]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402def
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x21c]
mov edi, 0x49dc68
push eax
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x447078
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push ebx
push str.iNotify
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4470ad
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.0040279b
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 2
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x4470a5
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x228]
call fcn.0040279b
push ebx
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e26
ret
Function at 0x448496
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x48e5cc
call fcn.00464e7c
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x220]
call fcn.0040279b
xor edi, edi
lea edx, [ebp - 0x220]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x448534
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
call fcn.0040279b
push esi
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, esi
jmp 0x4485d4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040279b
push 0x4e212c
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push str.AdobeARMUpgradeCache_
push eax
call fcn.00402381
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402def
push ecx
mov esi, esp
mov dword [ebp - 0x228], esi
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0044493b
pop ecx
push dword [0x4e1f7c]
mov edx, 0x49dc68
mov ecx, SysReAllocString
call fcn.0043fd12
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402def
xor eax, eax
call fcn.00464e26
ret
Function at 0x44bc5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebp
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0044b966
cmp byte [ebp + 5], al
mov word [ebp - 0x17af3fbb], cs
invalid

Function at 0x44bd1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0044b976
push eax
push esi
push dword [ebp + 8]
call fcn.0044b92b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0044b976
push eax
push esi
push dword [ebp + 8]
call fcn.0044b92b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0044b966
or eax, 0x88e0690f
popfd
jl 0x44bdeb
invalid
invalid

Function at 0x44be05
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0044b966
movsd dword es:[edi], dword [esi]
salc
add eax, 0x7c858da1
invalid
Function at 0x44fa20
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x44fa73
push esi
push dword [ebp + 8]
call fcn.0044fc14
mov edi, eax
test edi, edi
je 0x44fa6e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x44fa6e
mov eax, dword [ebp - 8]
jmp 0x44fa85
mov eax, dword [ebp + 0x10]
jmp 0x44fa85
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x44fa90
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ef4b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.00464ff0
mov eax, dword [0x4dd554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x44fbc7
push 0
push edx
call fcn.0044fc14
mov ebx, eax
test ebx, ebx
jne 0x44faf8
push esi
jmp 0x44fbef
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402824
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x44fb86
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402b5d
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.004097d8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x44fbb4
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402d2a
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402def
jmp 0x44fbf6
push esi
mov ecx, edi
call fcn.0040279b
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x44fbad
test esi, esi
jne 0x44fbd0
mov esi, 0x49fb6c
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.0040279b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046486a
leave
ret 0x10
Function at 0x451420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x45144b
cmp dword [edi + 0x80], 0
jne 0x45144b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00459c53
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00451686
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x454cdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x454d1e
call fcn.00459c53
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x454d1e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x454d26
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0044a2f7
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x455443
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4554cf
cmp dword [esi + 0x20], 0
je 0x4554cf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4554cf
cmp dword [ebp + 8], 0
je 0x4554cf
xor edi, edi
mov ebx, edi
call fcn.00459c53
push 0x496160
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4554b3
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4554cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00462b0d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4554cb
mov ecx, esi
call fcn.00455211
mov eax, edi
jmp 0x4554d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45b5bb
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4dd554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.00466990
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.0047418a
push eax
call fcn.004028ea
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x494380]
je 0x45b725
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x45b739
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45b739
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x45b654
mov eax, edi
jmp 0x45b683
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x45b671
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0045b3ae
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x45b67a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0044e22c
test eax, eax
je 0x45b6a8
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044da9b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x45b6ac
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044e22c
test eax, eax
je 0x45b6d3
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044da9b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x45b6d7
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044e22c
test eax, eax
je 0x45b6ff
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0044da9b
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x45b701
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x45b713
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x45b725
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046486a
leave
ret 4
xor eax, eax
jmp 0x45b728
Function at 0x45c8b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x48f5bb
call fcn.00464eb3
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x45c9ba
cmp ebx, dword [esi + 0xc]
jge 0x45c9ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x45c907
cmp ebx, dword [edi + 8]
jl 0x45c9a8
cmp dword [ebp + 0xc], 0
je 0x45c9a8
xor ebx, ebx
jmp 0x45c941
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.0045c357
mov edi, eax
test edi, edi
je 0x45c921
mov dword [edi], vtable.CThreadData.0
jmp 0x45c923
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.0045c7dc
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x45c95c
push 4
push dword [esi + 0xc]
call fcn.00414f39
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x45c974
push 2
push 4
push dword [esi + 0xc]
call fcn.00414f39
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x45c9e1
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.00466990
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x45c9ba
cmp ebx, dword [edi + 8]
jge 0x45c9ba
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00464e11
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0044aabe
int3

Function at 0x47d01b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047cccc

Function at 0x47d026
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047ce56
Function at 0x40140d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x150
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
call esi
push edx
mov dword [ebp - 0x124], eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x118], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edx
push edx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x11c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ecx
push ecx
mov dword [esp], 0
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push eax
mov dword [esp], 0
call esi
lea esi, [ebp - 0x10c]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathA]
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
sub esp, 0x1c
call ebx
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x401647
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.0040140d
test eax, eax
jne 0x4016e1
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40214a
sub eax, 0x4016e8
mov dword [esp], 0x4016e8
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016e1
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.0040137c
mov dword [esp + 4], ebx
mov dword [esp], 0
jmp loc.00465000
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret