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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x46f06c]
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.0042c6a0
add esp, 0x10
test eax, eax
jne 0x42a63f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x42a654
push eax
mov edx, ebx
lea ecx, [ebp - 0x64]
call fcn.0042d0d0
add esp, 4
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.0042d180
test esi, esi
je 0x42a66f
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.0043223c
mov esp, ebp
pop ebp
ret

Function at 0x42a690
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x46f06c]
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.0042c8d0
add esp, 0xc
test eax, eax
jne 0x42a6ee
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x60]
mov ecx, esi
call fcn.0042d180
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0043223c
mov esp, ebp
pop ebp
ret
Function at 0x42afd0
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 0x42b00a
push str.ReadFile__
push eax
push 0xfc
push str.QHImageHlp.c
call fcn.0042e040
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebp - 4]
je 0x42b02f
push 0x469538
push 1
push 0xfe
push str.QHImageHlp.c
call fcn.0042e140
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 0x42bd90
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 0x42bdd8
push str.GetFileSizeEx__
push eax
push 0x11e
push str.QHImageHlp.c
call fcn.0042e040
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 0x42be02
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x42be08
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 0x42be94
push 0
push 0
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x42bf48
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 0x42bf26
cmp esi, dword [ebp - 0x1c]
jne 0x42bf04
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0042e5c0
add esp, 4
add ebx, esi
mov esi, 0x8000
adc edi, 0
sub dword [ebp - 0x14], 1
jne 0x42be37
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
cmp edx, esi
jae 0x42bee6
mov eax, dword [ecx]
test eax, eax
je 0x42bef8
cmp dword [ecx + 4], 0
je 0x42bedc
cmp eax, 0x8000
ja 0x42bf6a
mov ebx, dword [ebp - 8]
push eax
push 0
push ebx
call fcn.004352b0
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, ebx
push dword [eax]
call fcn.0042e5c0
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 0x42bdf6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x469538
push 1
push 0xfe
push str.QHImageHlp.c
call fcn.0042e140
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.0042e040
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.0042e040
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4695b0
push 8
push 0x3d8
push str.QHImageHlp.c
call fcn.0042e140
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c510
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 0x42c55a
push str.GetFileSizeEx__
push eax
push 0x11e
push str.QHImageHlp.c
call fcn.0042e040
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 0x42c5e8
jg 0x42c57a
cmp esi, dword [ebx + 0xb4]
jb 0x42c5e8
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 0x42c5ae
push str.SetFilePointerEx__
push eax
push 0xf9
push str.QHImageHlp.c
call fcn.0042e040
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.0042afd0
add esp, 4
test eax, eax
je 0x42c5a5
mov eax, dword [ebp + 8]
test eax, eax
je 0x42c5d0
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42c5f4
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 0x42c5f4
xor ecx, ecx
mov word [eax], cx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ebc0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46f06c]
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 0x42ecff
test eax, eax
je 0x42ecff
push esi
mov ecx, 0x2800
call fcn.0042ef60
mov esi, eax
test esi, esi
jne 0x42ec19
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043223c
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.0042cda0
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 0x42ecd0
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.004352b0
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 0x42ecc0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42ecc0
mov edx, dword [ebp - 0x20]
add eax, esi
push eax
push dword [ebp - 0x1c]
mov ecx, str.DISKID:
call fcn.0042e970
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 0x42ecdd
jmp 0x42ecd3
mov ebx, dword [ebp - 0x14]
inc edi
cmp edi, 0x10
jl 0x42ec20
mov eax, dword [0x46fb28]
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.0043223c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret
Function at 0x42edb0
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 0x42ef4f
test edx, edx
je 0x42ef4f
mov ecx, 0x200
call fcn.0042ef60
mov esi, eax
test esi, esi
je 0x42ef4f
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 0x42ef35
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 0x42eeeb
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 0x42eeb9
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 0x42eeb0
mov ecx, esi
mov dword [esi], 0x5c2e5c5c
call fcn.0042ed10
cmp edx, ebx
jb 0x42eeb0
ja 0x42eeac
cmp eax, edi
jbe 0x42eeb0
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 0x42ee48
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x42eefc
test edi, edi
je 0x42ef35
push ebx
push edi
push str._012I64X
push 0x200
push esi
call fcn.0042cda0
add esp, 0x14
test eax, eax
jne 0x42ef1e
mov dword [ebp - 0xc], 0xffffffff
jmp 0x42ef35
mov edx, dword [ebp - 0x20]
mov ecx, str.MAC:
push esi
push dword [ebp - 0x18]
call fcn.0042e970
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [0x46fb28]
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 0x42fbf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x46f06c]
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 [0x4d6840], 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.0040b802
add esp, 0x14
xor eax, eax
mov word [ebp - 0x18], ax
xor esi, esi
lea eax, [ebp - 0x98]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x42fd51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42fc8b
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.0042fa50
test eax, eax
je 0x42fca5
mov dword [0x4d6840], eax
jmp 0x42fd32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x42fcc0
push 0x5c0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0xa8], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42fcd8
push edi
mov ecx, esi
call fcn.00430030
jmp 0x42fcda
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4d6840], eax
test eax, eax
jne 0x42fd02
push 0x46c854
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
push eax
call fcn.00433b7f
mov ecx, eax
mov esi, 1
call fcn.0042fae0
test eax, eax
jne 0x42fd2d
push 0x46c854
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 3
push eax
call fcn.00433b7f
mov eax, dword [0x4d6840]
inc dword [eax + 0x5bc]
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
jne 0x42fd51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4d6840
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.0043223c
mov esp, ebp
pop ebp
ret
Function at 0x42fdb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x46f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x4d6840]
test eax, eax
je 0x42fec1
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x42fdf9
mov dword [ebp - 0x14], 0
jmp 0x42fe10
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x42fec3
mov eax, dword [0x4d6840]
mov eax, dword [eax]
test eax, eax
je 0x42fec1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42fec1
mov ecx, 0x4d6840
mov dword [ebp - 4], eax
call fcn.0042fee0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x42fe56
push 0x46c854
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
call fcn.00433b7f
mov eax, dword [0x4d6840]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x42fe6f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42fe9a
push 0x46c854
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
call fcn.00433b7f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42fe91
push eax
call fcn.004301c0
mov eax, 0x42fe97
ret
mov ecx, dword [0x4d6840]
mov eax, dword [ecx]
test eax, eax
je 0x42fead
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 0x42fee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d66
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46f06c]
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 0x430000
mov eax, dword [esi + 0x5a8]
mov dword [edx + 0x5b0], eax
test esi, esi
je 0x430000
mov eax, dword [esi]
cmp ecx, eax
jne 0x42ff4c
mov edi, esi
jmp 0x42ffc2
push eax
push 1
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
jne 0x42ffbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42ffae
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 0x42ffa5
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
jmp 0x42ffc2
push 0x469988
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42ffc2
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 0x42ffe8
mov ecx, dword [esi + 0x5a8]
mov dword [edx + 0x5b0], ecx
mov ecx, dword [ebp - 0x10]
test esi, esi
jne 0x42ff42
test edi, edi
je 0x430000
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.00430240
test eax, eax
je 0x430013
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 0x430030
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46f06c]
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.004352b0
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 0x4300c9
push 0x46c854
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
call fcn.00433b7f
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 0x4308a0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov edx, esp
jb 0x4308c4
mov ecx, dword [eax]
jmp 0x4308c6
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00423d90
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4308e3
mov esi, dword [esi]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.00423d90
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4308fc
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 0xc]
setne bl
cmp eax, 8
jb 0x43095c
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x4309c3
add eax, eax
cmp eax, 0x1000
jb 0x430953
test cl, 0x1f
jne 0x4309c8
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4309cd
sub ecx, eax
cmp ecx, 4
jb 0x4309d2
cmp ecx, 0x23
ja 0x4309d7
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
cmp eax, 8
jb 0x4309af
mov ecx, dword [ebp - 0x38]
inc eax
cmp eax, 0x7fffffff
ja 0x4309dc
add eax, eax
cmp eax, 0x1000
jb 0x4309a6
test cl, 0x1f
jne 0x4309e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4309e6
sub ecx, eax
cmp ecx, 4
jb 0x4309eb
cmp ecx, 0x23
ja 0x4309f0
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
mov ecx, dword [ebp - 8]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223c
mov esp, ebp
pop ebp
ret 0xc
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
int3

Function at 0x430a00
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00423d90
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x430a2a
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 8]
setne bl
cmp eax, 8
jb 0x430a77
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x430a8a
add eax, eax
cmp eax, 0x1000
jb 0x430a6e
test cl, 0x1f
jne 0x430a8f
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x430a94
sub ecx, eax
cmp ecx, 4
jb 0x430a99
cmp ecx, 0x23
ja 0x430a9e
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0043223c
mov esp, ebp
pop ebp
ret 8
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
int3

Function at 0x44c83f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c6be

Function at 0x450ea3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00450b63
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x4d5f6e4b
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x13a007f8
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4106a0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0
movsd xmm0, qword [0x4a7348]
addsd xmm0, qword [0x49b7c8]
movss xmm4, dword [0x499ae8]
movsd xmm3, qword [0x499af0]
movsd qword [0x4a7348], xmm0
mov dword [ecx + 4], 0
imul eax, dword [0x4a7080], 0x186dbb30
mov dword [0x4a7080], eax
mov dword [ecx + 8], 0x67452301
movss xmm0, dword [0x4a701c]
subss xmm0, dword [0x49ca50]
movss dword [0x4a701c], xmm0
movss xmm0, dword [0x49dafc]
mov dword [ecx + 0xc], 0xefcdab89
movss xmm1, dword [0x4a70b0]
ucomiss xmm0, xmm1
movss xmm0, dword [0x4a70b0]
subss xmm0, xmm4
lahf
movss dword [0x4a70b0], xmm0
test ah, 0x44
jnp 0x4107d3
movsd xmm0, qword [0x4a7488]
addsd xmm0, xmm3
movsd qword [0x4a7488], xmm0
movss xmm0, dword [0x4a7408]
movsx eax, word [0x4a70a4]
movsd xmm1, qword [0x4a7488]
add eax, 0x11e781b6
cvtps2pd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movss xmm0, dword [0x4a7408]
subss xmm0, xmm4
comisd xmm2, xmm1
movss dword [0x4a7408], xmm0
jb 0x41079e
movsd xmm0, qword [0x4a7340]
jmp 0x4107d3
movsx eax, word [0x4a7268]
movsd xmm0, qword [0x4a7200]
subsd xmm0, qword [0x4a7298]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, qword [0x49cb00]
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x4a7268], ax
mov dword [ecx + 0x10], 0x98badcfe
movss xmm0, dword [0x4a721c]
subss xmm0, dword [0x49bfac]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4a7470]
subsd xmm1, xmm0
movsd xmm0, qword [0x49d950]
ucomisd xmm0, xmm1
movsd xmm0, qword [0x4a7470]
addsd xmm0, xmm3
lahf
movsd qword [0x4a7470], xmm0
test ah, 0x44
jnp 0x410839
movsd xmm0, qword [0x4a70d0]
mulsd xmm0, qword [0x499d30]
movsd qword [0x4a70d0], xmm0
jmp 0x410861
movsx eax, word [0x4a74e4]
movsd xmm0, qword [0x4a74d0]
add eax, 0x7f55bb95
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movsd qword [0x4a74d0], xmm0
movsd xmm1, qword [0x49d648]
mov dword [ecx + 0x14], 0x10325476
movsd xmm0, qword [0x4a74c0]
subsd xmm1, xmm0
movsd xmm0, qword [0x4a74c0]
addsd xmm0, xmm3
comisd xmm1, xmmword [0x49d848]
movsd qword [0x4a74c0], xmm0
jbe 0x4108c9
movsd xmm0, qword [0x4a7260]
movsd xmm1, qword [0x49a8a0]
subsd xmm1, xmm0
movss xmm0, dword [0x4a70f0]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4a70f0], xmm0
ret