joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44be69
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b62bc
call fcn.0046c66c
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.00484ac0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0048ca2f
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x220]
push eax
call fcn.00402829
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 2
lea edx, [ebp - 0x224]
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
mov edi, 0x4ce868
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 0x44bfba
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 0x44bfef
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 2
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44bfe7
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c616
ret
Function at 0x44cf36
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x4b660c
call fcn.0046c66c
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x220]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x220]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
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 0x44cfd4
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
call fcn.00402829
push esi
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x44d074
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402829
push 0x519ff4
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
push ecx
mov esi, esp
mov dword [ebp - 0x228], esi
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00449771
pop ecx
push dword [0x519e48]
mov edx, 0x4ce868
mov ecx, SysReAllocString
call fcn.00444895
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c616
ret
Function at 0x44e3b1
Capabilities:
Query environment variable

Disassembly:
push 8
mov eax, 0x4b69d8
call fcn.0046c638
mov ebx, edx
mov edi, ecx
push str.Entered_ExtractPath:
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push ecx
push edi
call fcn.004177bb
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0040b140
push 0
push str..exe
lea ecx, [ebp - 0x10]
call fcn.0040982e
mov esi, eax
cmp esi, 0xffffffff
je 0x44e52b
push str.found_EXE_value_in:
lea ecx, [ebp - 0x14]
call fcn.00402829
push ecx
push edi
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004177bb
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp + 8], 1
jne 0x44e4a8
push 0
push 0x4fe160
lea ecx, [ebp - 0x10]
call fcn.0040982e
cmp eax, 0xffffffff
je 0x44e495
cmp eax, esi
jge 0x44e495
sub esi, eax
mov ecx, edi
add esi, 4
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409a7f
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00402e14
jmp 0x44e520
push str.Could_not_extract_app_path_from:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x44e514
cmp dword [ebp + 8], 2
jne 0x44e52b
push 0
push 0x4fe1ac
lea ecx, [ebp - 0x10]
call fcn.0040982e
cmp eax, 0xffffffff
je 0x44e503
cmp eax, esi
jge 0x44e503
sub esi, eax
mov ecx, edi
add esi, 4
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409a7f
mov esi, 0x104
mov byte [ebp - 4], 5
push esi
mov ecx, ebx
call fcn.00402bd2
push esi
mov esi, dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00409d68
lea ecx, [esi - 0x10]
jmp 0x44e526
push str.Could_not_extract_app_path_from:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 6
push ecx
push edi
lea edx, [ebp - 0x14]
call fcn.004177bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c601
ret
Function at 0x44e53c
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4b6a28
call fcn.0046c638
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ecx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44e56b
xor al, al
jmp 0x44e6dc
call fcn.004527d1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402899
and dword [ebp - 4], 0
call fcn.004527d1
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
xor ebx, ebx
mov esi, 0x400
inc ebx
mov eax, esi
mov byte [ebp - 4], bl
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
cmp edi, 0x32
jge 0x44e6b9
push eax
lea ecx, [ebp - 0x14]
call fcn.00402bd2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00402bd2
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44e6b9
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00409d68
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00409d68
call fcn.004527d1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0044e3b1
mov eax, dword [ebp - 0x10]
pop ecx
cmp dword [eax - 0xc], 0
je 0x44e62b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44e678
push str.App_for_.pdf_progID_not_found:
lea ecx, [ebp - 0x28]
call fcn.00402829
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x28]
call fcn.004177bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], bl
mov eax, 0x400
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x1c]
inc edi
jmp 0x44e5a0
push 0x4fe1b0
lea ecx, [ebp - 0x28]
call fcn.00402829
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x28]
call fcn.004177bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44e6c4
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402e64
mov al, bl
call fcn.0046c601
ret
Function at 0x44e6e2
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x4b6a7c
call fcn.0046c66c
mov edi, ecx
push str.Entered_EnumKeys:
lea ecx, [ebp - 0x228]
call fcn.00402829
push ecx
xor ebx, ebx
lea edx, [ebp - 0x228]
push edi
mov dword [ebp - 4], ebx
call fcn.004177bb
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
push eax
push 8
push ebx
push dword [edi]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e890
mov esi, ebx
cmp esi, 0x32
jae 0x44e884
push 0x208
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 0x238], xmm0
call fcn.00484ac0
add esp, 0xc
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x238]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44e884
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402829
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x44e846
push 0x4d0aa0
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00402459
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004024b8
add esp, 0x18
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x220]
call fcn.0044e53c
mov bl, al
test bl, bl
jne 0x44e858
lea ecx, [ebp - 0x220]
call fcn.0044e6e2
mov bl, al
test bl, bl
jne 0x44e858
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x224]
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0x10]
call fcn.00402e64
inc esi
jmp 0x44e74a
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov al, bl
jmp 0x44e892
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
call fcn.0046c616
ret
Function at 0x457200
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 0x457253
push esi
push dword [ebp + 8]
call fcn.004573f4
mov edi, eax
test edi, edi
je 0x45724e
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 0x45724e
mov eax, dword [ebp - 8]
jmp 0x457265
mov eax, dword [ebp + 0x10]
jmp 0x457265
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 0x457270
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b779b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0046c7e0
mov eax, dword [0x514554]
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 0x4573a7
push 0
push edx
call fcn.004573f4
mov ebx, eax
test ebx, ebx
jne 0x4572d8
push esi
jmp 0x4573cf
call fcn.004527d1
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402899
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 0x457366
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402bd2
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.00409d68
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x457394
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402e64
jmp 0x4573d6
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x45738d
test esi, esi
jne 0x4573b0
mov esi, 0x4d0aa4
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.00402829
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.0046c05a
leave
ret 0x10
Function at 0x458c00
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 0x458c2b
cmp dword [edi + 0x80], 0
jne 0x458c2b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00461453
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.00458e66
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45c4bf
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 0x45c4fe
call fcn.00461453
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45c4fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c506
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00451ae7
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45cc23
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 0x45ccaf
cmp dword [esi + 0x20], 0
je 0x45ccaf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ccaf
cmp dword [ebp + 8], 0
je 0x45ccaf
xor edi, edi
mov ebx, edi
call fcn.00461453
push 0x4c0740
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 0x45cc93
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 0x45ccaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046a30d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45ccab
mov ecx, esi
call fcn.0045c9f1
mov eax, edi
jmp 0x45ccb1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x462dbb
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x514554]
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.00484ac0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00493b83
push eax
call fcn.0040295f
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x4be960]
je 0x462f25
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 0x462f39
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x462f39
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 0x462e54
mov eax, edi
jmp 0x462e83
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x462e71
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00462bae
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x462e7a
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.00455a1c
test eax, eax
je 0x462ea8
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045528b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x462eac
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00455a1c
test eax, eax
je 0x462ed3
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045528b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x462ed7
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00455a1c
test eax, eax
je 0x462eff
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045528b
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x462f01
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x462f13
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x462f25
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.0046c05a
leave
ret 4
xor eax, eax
jmp 0x462f28
Function at 0x4640b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b7e0b
call fcn.0046c6a3
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 0x4641ba
cmp ebx, dword [esi + 0xc]
jge 0x4641ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x464107
cmp ebx, dword [edi + 8]
jl 0x4641a8
cmp dword [ebp + 0xc], 0
je 0x4641a8
xor ebx, ebx
jmp 0x464141
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00463b57
mov edi, eax
test edi, edi
je 0x464121
mov dword [edi], vtable.CThreadData.0
jmp 0x464123
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.00463fdc
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 0x46415c
push 4
push dword [esi + 0xc]
call fcn.004187f2
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x464174
push 2
push 4
push dword [esi + 0xc]
call fcn.004187f2
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4641e1
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.00484ac0
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 0x4641ba
cmp ebx, dword [edi + 8]
jge 0x4641ba
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046c601
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004522ae
int3

Function at 0x4a145d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a110e

Function at 0x4a1468
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a1298
Function at 0x1000a3c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a402
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a402
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a402
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a402
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a402
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000d07f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000d11c
push ebx
push esi
call fcn.1000d048
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000cfdc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d0c9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d11b
push edi
push eax
call fcn.1000e03b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d0e9
call fcn.1000bb24
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d11a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000cfdc
add esp, 0x20
test eax, eax
jne 0x1000d108
push edi
call fcn.1000bb24
jmp 0x1000d110
push ebx
call fcn.1000bb24
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000d389
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014678
push 0x10014670
push str.FlsAlloc
push 0x1f
call fcn.1000d2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d3bd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013158]
call esi
jmp 0x1000d3c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d407
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014688
push 0x10014680
push str.FlsGetValue
push 0x21
call fcn.1000d2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d43e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d446
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014690
push 0x10014688
push str.FlsSetValue
push 0x22
call fcn.1000d2a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d480
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012b2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret