joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458e90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], 0
push eax
push ecx
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.0045af60
add esp, 0x10
test eax, eax
jne 0x458eff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x458f14
push eax
mov edx, ebx
lea ecx, [ebp - 0x64]
call fcn.0045b980
add esp, 4
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.0045ba30
test esi, esi
je 0x458f2f
mov eax, dword [ebp - 0x68]
xor ecx, ecx
cmp eax, dword [ebp - 0x6c]
sete cl
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret

Function at 0x458f50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
push eax
push ecx
mov esi, edx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.0045b190
add esp, 0xc
test eax, eax
jne 0x458fae
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x60]
mov ecx, esi
call fcn.0045ba30
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x459890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4598ca
push str.ReadFile__
push eax
push 0xfc
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebp - 4]
je 0x4598ef
push 0x4abfa8
push 1
push 0xfe
push str.QHImageHlp.c
call fcn.0045c9e0
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a650
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea eax, [ecx + 0xccc]
mov esi, edx
mov dword [ebp - 8], eax
mov eax, dword [ecx]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x45a698
push str.GetFileSizeEx__
push eax
push 0x11e
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
lea ecx, [esi + 8]
mov esi, dword [ebp + 8]
xor edx, edx
movlpd qword [ebp - 0x20], xmm0
cmp edx, esi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
jne 0x45a6c2
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x45a6c8
mov esi, dword [ecx - 8]
mov eax, dword [ecx - 4]
sub esi, ebx
mov edx, esi
sbb eax, edi
shrd edx, eax, 0xf
shr eax, 0xf
and esi, 0x7fff
mov dword [ebp - 0x14], esi
mov eax, 0x8000
cmove esi, eax
cmp dword [ebp - 0x14], 0
lea eax, [edx + 1]
cmovne edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x45a754
push 0
push 0
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x45a808
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45a7e6
cmp esi, dword [ebp - 0x1c]
jne 0x45a7c4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0045ce60
add esp, 4
add ebx, esi
mov esi, 0x8000
adc edi, 0
sub dword [ebp - 0x14], 1
jne 0x45a6f7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
cmp edx, esi
jae 0x45a7a6
mov eax, dword [ecx]
test eax, eax
je 0x45a7b8
cmp dword [ecx + 4], 0
je 0x45a79c
cmp eax, 0x8000
ja 0x45a82a
mov ebx, dword [ebp - 8]
push eax
push 0
push ebx
call fcn.00463e50
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, ebx
push dword [eax]
call fcn.0045ce60
mov ecx, dword [ebp - 4]
add esp, 4
mov edx, dword [ebp - 0xc]
mov ebx, dword [ecx]
xor edi, edi
add ebx, dword [ecx - 8]
adc edi, dword [ecx - 4]
inc edx
add ecx, 0x18
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp edx, esi
jbe 0x45a6b6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4abfa8
push 1
push 0xfe
push str.QHImageHlp.c
call fcn.0045c9e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ReadFile__
push 0
push 0xfc
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SetFilePointerEx__
push 0
push 0xf9
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ac020
push 8
push 0x3d8
push str.QHImageHlp.c
call fcn.0045c9e0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45add0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
push dword [ebx]
mov edi, dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x45ae1a
push str.GetFileSizeEx__
push eax
push 0x11e
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x10]
sub esi, edi
mov edi, dword [ebp - 0xc]
sbb edi, 0
sub esi, 0x298
sbb edi, 0
js 0x45aea8
jg 0x45ae3a
cmp esi, dword [ebx + 0xb4]
jb 0x45aea8
mov ebx, dword [ebx]
push 0
push 0
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x45ae6e
push str.SetFilePointerEx__
push eax
push 0xf9
push str.QHImageHlp.c
call fcn.0045c8e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov ecx, ebx
push 0x298
call fcn.00459890
add esp, 4
test eax, eax
je 0x45ae65
mov eax, dword [ebp + 8]
test eax, eax
je 0x45ae90
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45aeb4
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45aeb4
xor ecx, ecx
mov word [eax], cx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d460
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x45d59f
test eax, eax
je 0x45d59f
push esi
mov ecx, 0x2800
call fcn.0045d800
mov esi, eax
test esi, esi
jne 0x45d4b9
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor edi, edi
nop dword [eax]
push edi
push str..PhysicalDrive_d
push 0x2800
push esi
call fcn.0045b650
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45d570
push 0x2800
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
push 0
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.00463e50
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
push 0x2800
push esi
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45d560
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45d560
mov edx, dword [ebp - 0x20]
add eax, esi
push eax
push dword [ebp - 0x1c]
mov ecx, str.DISKID:
call fcn.0045d210
add esp, 8
mov dword [ebp - 0x14], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x45d57d
jmp 0x45d573
mov ebx, dword [ebp - 0x14]
inc edi
cmp edi, 0x10
jl 0x45d4c0
mov eax, dword [0x4b2a14]
push esi
push eax
mov eax, dword [eax + 0x10]
call eax
add esp, 8
mov eax, ebx
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x45d650
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov eax, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x28], xmm0
push esi
push edi
test eax, eax
je 0x45d7ef
test edx, edx
je 0x45d7ef
mov ecx, 0x200
call fcn.0045d800
mov esi, eax
test esi, esi
je 0x45d7ef
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d7d5
push eax
push eax
push eax
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp - 8]
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
test eax, eax
jne 0x45d78b
mov ecx, 0x80000002
mov eax, dword [ebp - 8]
test eax, eax
cmove eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d759
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [esi + 4]
mov dword [ebp - 4], 0x200
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d750
mov ecx, esi
mov dword [esi], 0x5c2e5c5c
call fcn.0045d5b0
cmp edx, ebx
jb 0x45d750
ja 0x45d74c
cmp eax, edi
jbe 0x45d750
mov edi, eax
mov ebx, edx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 4]
push 0
push 0
push 0
push 0
push ecx
inc eax
mov dword [ebp - 4], 0x100
push esi
push eax
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, 0x80000002
test eax, eax
je 0x45d6e8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x45d79c
test edi, edi
je 0x45d7d5
push ebx
push edi
push str._012I64X
push 0x200
push esi
call fcn.0045b650
add esp, 0x14
test eax, eax
jne 0x45d7be
mov dword [ebp - 0xc], 0xffffffff
jmp 0x45d7d5
mov edx, dword [ebp - 0x20]
mov ecx, str.MAC:
push esi
push dword [ebp - 0x18]
call fcn.0045d210
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [0x4b2a14]
push esi
push ecx
mov ecx, dword [ecx + 0x10]
call ecx
mov eax, dword [ebp - 0xc]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e490
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4860cb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [0x4b68b0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp - 0x98]
push 0x40
push eax
call fcn.0045c1e0
add esp, 0x14
xor eax, eax
mov word [ebp - 0x18], ax
xor edi, edi
lea eax, [ebp - 0x98]
push eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
je 0x45e5f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45e52b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.0045e2f0
test eax, eax
je 0x45e545
mov dword [0x4b68b0], eax
jmp 0x45e5d2
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x45e560
push 0x5c0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x45e578
push esi
mov ecx, edi
call fcn.0045e8d0
jmp 0x45e57a
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4b68b0], eax
test eax, eax
jne 0x45e5a2
push 0x4af66c
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
push eax
call fcn.0046272b
mov ecx, eax
mov edi, 1
call fcn.0045e380
test eax, eax
jne 0x45e5cd
push 0x4af66c
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 3
push eax
call fcn.0046272b
mov eax, dword [0x4b68b0]
inc dword [eax + 0x5bc]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x45e5f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4b68b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
Function at 0x45e650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486100
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x4b68b0]
test eax, eax
je 0x45e761
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x45e699
mov dword [ebp - 0x14], 0
jmp 0x45e6b0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x45e763
mov eax, dword [0x4b68b0]
mov eax, dword [eax]
test eax, eax
je 0x45e761
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45e761
mov ecx, 0x4b68b0
mov dword [ebp - 4], eax
call fcn.0045e780
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x45e6f6
push 0x4af66c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
call fcn.0046272b
mov eax, dword [0x4b68b0]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x45e70f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x45e73a
push 0x4af66c
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
call fcn.0046272b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45e731
push eax
call fcn.0045ea60
mov eax, 0x45e737
ret
mov ecx, dword [0x4b68b0]
mov eax, dword [ecx]
test eax, eax
je 0x45e74d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e780
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486126
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebx]
mov ecx, eax
add edx, 8
mov dword [ebp - 0x10], ecx
mov esi, dword [edx + 0x5a8]
mov dword [edx + 0x5b0], esi
cmp esi, edx
je 0x45e8a0
mov eax, dword [esi + 0x5a8]
mov dword [edx + 0x5b0], eax
test esi, esi
je 0x45e8a0
mov eax, dword [esi]
cmp ecx, eax
jne 0x45e7ec
mov edi, esi
jmp 0x45e862
push eax
push 1
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
jne 0x45e85b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45e84e
mov ecx, dword [esi + 0x5ac]
mov eax, dword [esi + 0x5a8]
mov dword [ecx + 0x5a8], eax
mov ecx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [ecx + 0x5ac], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x45e845
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
jmp 0x45e862
push 0x4ac35c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x45e862
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx]
add edx, 8
mov esi, dword [edx + 0x5b0]
cmp esi, edx
je 0x45e888
mov ecx, dword [esi + 0x5a8]
mov dword [edx + 0x5b0], ecx
mov ecx, dword [ebp - 0x10]
test esi, esi
jne 0x45e7e2
test edi, edi
je 0x45e8a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
add ecx, 8
call fcn.0045eae0
test eax, eax
je 0x45e8b3
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e8d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48615b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b206c]
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 + 8]
mov dword [edi], 0
push 0x5a0
lea eax, [esi + 8]
mov dword [edi + 4], 0xffffffff
push 0
push eax
mov dword [esi], 0
call fcn.00463e50
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [ebp - 4], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x45e969
push 0x4af66c
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
call fcn.0046272b
mov eax, dword [ebp + 8]
mov dword [edi], eax
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 4

Function at 0x47ad64
Capabilities:
Read file on windows

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

Function at 0x47f313
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047efd3
Function at 0x44c940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3c000]
push edi
jmp 0x44c95a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44c961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c950
mov eax, 1
add ebx, ebx
jne 0x44c973
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44c984
jne 0x44c9a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c9a3
dec eax
add ebx, ebx
jne 0x44c990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44c968
add ebx, ebx
jne 0x44c99f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44c9f5
xor ecx, ecx
sub eax, 3
jb 0x44c9bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44ca2a
sar eax, 1
mov ebp, eax
jmp 0x44c9c6
add ebx, ebx
jne 0x44c9c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c994
inc ecx
add ebx, ebx
jne 0x44c9d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c994
add ebx, ebx
jne 0x44c9e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44c9d6
jne 0x44c9f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44c9d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44ca14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44ca06
jmp 0x44c956
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44ca14
add edi, ecx
jmp 0x44c956
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44ca32
cmp byte [edi], 0x12
jne 0x44ca32
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 al, bl
loop 0x44ca37
lea edi, [esi + 0x4a000]
mov eax, dword [edi]
or eax, eax
je 0x44caaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x73554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x73634]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44ca64
mov ecx, edi
jns 0x44ca93
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 + 0x7363c]
or eax, eax
je 0x44caa9
mov dword [ebx], eax
add ebx, 4
jmp 0x44ca81
call dword [esi + 0x73638]
mov ebp, dword [esi + 0x73640]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44cae3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x9bb850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push 0x80000000
call edi
test eax, eax
jne 0x9bb8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x9e6720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9bb8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009cc1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push 0x80000000
call edi
test eax, eax
jne 0x9bb8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9e6720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9bb92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.009cd082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9bb957
mov word [eax], si
add eax, 2
push eax
call fcn.009cd030
add esp, 4
jmp 0x9bb959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9bb8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9bb8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x9bbff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret