joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56075a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 1
push eax
lea esi, [ebp - 0x28]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
call fcn.005606fb
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x560796
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov esi, dword [ebp - 0x60]
push 0
push dword [ebp - 0x64]
call fcn.005606fb
test eax, eax
jne 0x5607b1
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0x63e360
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x5c], 0x24
mov dword [ebp - 0x58], esi
test esi, esi
je 0x5607f5
lea eax, [ebp - 0x5c]
push eax
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x38]
push eax
push esi
call ebx
test byte [ebp - 0x60], 2
je 0x560855
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_SubtractRect]
test byte [ebp - 0x60], 1
je 0x560860
mov eax, dword [ebp - 0x18]
cmp dword [edi], eax
je 0x560825
add eax, 2
mov dword [edi], eax
jmp 0x560860
mov eax, dword [ebp - 0x10]
cmp dword [edi + 8], eax
je 0x560835
add eax, 0xfffffffe
mov dword [edi + 8], eax
jmp 0x560860
mov eax, dword [ebp - 0x14]
cmp dword [edi + 4], eax
je 0x560845
add eax, 2
mov dword [edi + 4], eax
jmp 0x560860
mov eax, dword [ebp - 0xc]
cmp dword [edi + 0xc], eax
je 0x560860
add eax, 0xfffffffe
mov dword [edi + 0xc], eax
jmp 0x560860
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 4
Function at 0x563aa8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, ebx
call fcn.0055c598
mov ecx, dword [ebp + 0xc]
and dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], ecx
call fcn.00563b34
push 1
lea esi, [ebx + 0x14]
mov edi, eax
call fcn.00564b83
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
lea eax, [ebx + 0x10]
push 0xff
push eax
mov eax, 0x12c
mov dword [ebx + 0xcc], 1
call fcn.0055e3cf
lea eax, [ebx + 0x10]
call fcn.0055e4c0
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.0055c56d
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x28

Function at 0x56615f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push ebx
push esi
push ecx
mov eax, esp
mov dword [eax], str.NEW_SKIN
push ecx
mov eax, esp
lea esi, [ebp - 0xc]
mov dword [eax], str.SKIN
call fcn.0043affa
push dword [ebp - 8]
push dword [0x6d08a8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ebx, [edi + 0x28]
push ebx
push esi
push eax
push 0x67ab00
call fcn.004e3593
mov ecx, dword [ebx]
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push 0x60
push eax
call dword [ecx + 0x24]
mov esi, edi
call fcn.0056643c
mov eax, dword [0x6bcad4]
mov esi, dword [0x6bcad0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x412
push eax
call dword [ecx + 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x413
push eax
call dword [ecx + 0x54]
push 0x50
push dword [ebp - 4]
push eax
push dword [ebp - 0x10]
push esi
xor esi, esi
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
mov ecx, dword [eax]
push esi
push dword [edi + 0x2c]
push 0x1450
push eax
call dword [ecx + 0x44]
mov eax, dword [ebx]
mov ecx, dword [eax]
push esi
push dword [edi + 0x30]
push 0x1394
push eax
call dword [ecx + 0x44]
mov ebx, dword [ebx]
mov eax, dword [ebx]
push esi
push dword [edi + 0x34]
push 0x1395
push ebx
call dword [eax + 0x44]
cmp dword [ebp - 0xc], esi
je 0x566253
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x568d10
Capabilities:
Check for time delay via gettickcount
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x38]
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x568d31
mov dword [ebx], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
mov eax, esp
mov dword [eax], str.NEW_SKIN
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, esp
lea esi, [esp + 0x20]
mov dword [eax], str.SKIN
call fcn.0043affa
push dword [esp + 0x1c]
push dword [0x6d08a8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
push eax
push dword [edi + 0x34]
call fcn.004e3593
mov ebx, dword [ebx]
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18]
lea ebx, [edi + 0x230]
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x568d9d
mov dword [ebx], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax]
push ebx
push 0x64fea0
push str.root
push eax
call dword [ecx + 0xb4]
test eax, eax
jns 0x568dc1
cmp dword [esp + 0x18], esi
jmp 0x568ea7
push esi
push 0xa
push 0x168
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
fldz
lea esi, [edi + 0x1c8]
lea eax, [edi + 0x228]
mov dword [edi + 0x1f0], eax
fstp qword [esi + 0x38]
mov eax, dword [esi + 0x2c]
and eax, 0xfffffff7
or eax, 1
and eax, 0xfffffff7
or eax, 2
mov dword [esi + 0x2c], eax
fld qword [0x618ad8]
fstp qword [esi + 0x40]
mov dword [edi + 0x1d0], 0x12c
fld qword [edi + 0x200]
mov ebx, dword [ebx]
fstp dword [esp + 0x10]
mov dword [esp + 0x14], ebx
fld dword [esp + 0x10]
mov ebx, dword [ebx]
fmul qword [0x68bd50]
call fcn.00401c8c
movzx eax, al
push eax
push 0x3fe
push dword [esp + 0x1c]
call dword [ebx + 0x80]
call fcn.004e3790
fldz
lea esi, [edi + 0x160]
lea eax, [edi + 0x1c0]
mov dword [edi + 0x188], eax
fstp qword [esi + 0x38]
mov ecx, dword [esi + 0x2c]
and ecx, 0xfffffff7
or ecx, 1
and ecx, 0xfffffff7
or ecx, 2
mov dword [esi + 0x2c], ecx
fld qword [0x618ad8]
fstp qword [esi + 0x40]
push ecx
fld qword [edi + 0x198]
push ecx
fstp dword [esp + 0x1c]
mov ecx, edi
fld dword [esp + 0x1c]
mov dword [edi + 0x168], 0x190
fstp qword [esp]
call fcn.00568ebe
call fcn.004e3790
cmp dword [esp + 0x18], 0
je 0x568eb3
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x569c2b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
sub eax, dword [esi + 0x8c]
cmp eax, 0x12c
jae 0x569c7e
call ebx
sub eax, dword [esi + 0x8c]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x569c5d
fadd dword [0x65dde0]
fdiv qword [0x65f258]
fsubr qword [0x618ad8]
fmul qword [0x68bd50]
call fcn.00401c8c
lea ecx, [esi + 4]
call fcn.00564c4f
jmp 0x569c98
push esi
call fcn.00569dc1
cmp dword [esi + 0xb0], 0
je 0x569c98
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
push esi
call dword [eax]
pop edi
pop ebx
leave
ret

Function at 0x569e70
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
mov esi, 0x6f2700
cmp ax, word [0x6f2700]
jne 0x569e9f
push eax
push 0x26
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x663b00
push 0x104
push esi
call fcn.004147db
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x569ea3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x569f63
cmp eax, 0x3fff
ja 0x569f63
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x569f63
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x6403a4
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x569f63
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x103
push edi
call fcn.00409645
xor eax, eax
add esp, 0x1c
mov word [edi + 0x204], ax
inc eax
jmp 0x569f65
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
leave
ret
Function at 0x569fc9
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x63e360
push str.Shell_TrayWnd
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push 2
pop ebx
mov dword [ebp - 0x3c], 0x24
mov dword [ebp - 0x38], esi
test esi, esi
je 0x56a013
lea eax, [ebp - 0x3c]
push eax
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
and dword [ebp - 0x18], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test bl, 1
je 0x56a03a
mov edi, dword [ebp - 0x40]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x56a047
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x56a056
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6a4350
push 0x412c28
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x10a4
call fcn.00405ecb
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x1080], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x107c], ebx
push 0x3c
pop esi
push esi
push 0
lea eax, [ebp - 0x10bc]
push eax
call fcn.00402394
mov dword [ebp - 0x10bc], esi
mov dword [ebp - 0x10ac], ebx
mov esi, 0x824
mov dword [ebp - 0x10a8], esi
push 0x1048
push 0
push ebx
call fcn.00402394
add esp, 0x18
test edi, edi
je 0x56a241
cmp word [edi], 0
je 0x56a241
push 0x67092c
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, edi
jne 0x56a118
push 0x67092c
push esi
push ebx
call fcn.00404de3
add esp, 0xc
xor eax, eax
inc eax
jmp 0x56a252
push str.res:__
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, edi
jne 0x56a12f
push str.res:__
jmp 0x56a106
and dword [ebp - 4], 0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x56a138
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x10bc]
push ecx
push 0x10000000
push eax
push edi
mov ebx, dword [sym.imp.WININET.dll_InternetCrackUrlW]
call ebx
test eax, eax
jne 0x56a225
push 7
push str.http:__
push edi
call fcn.0043d3af
add esp, 0xc
test eax, eax
je 0x56a225
xor eax, eax
mov word [ebp - 0x1078], ax
push 0x105a
push eax
lea eax, [ebp - 0x1076]
push eax
call fcn.00402394
push edi
push str.http:___s
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1078]
push eax
call fcn.00413801
add esp, 0x20
lea eax, [ebp - 0x1078]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x56a1b9
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x10bc]
push ecx
push 0x10000000
push eax
lea eax, [ebp - 0x1078]
push eax
call ebx
test eax, eax
jne 0x56a225
push 0xffffffffffffffff
lea eax, [ebp - 0x1078]
push eax
push esi
push dword [ebp - 0x107c]
call fcn.004190f0
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
jmp 0x56a250
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x107c]
test eax, eax
je 0x56a250
cmp word [eax], 0
je 0x56a250
jmp 0x56a110
push str.http:__
push esi
push ebx
call fcn.00404de3
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00403fc1
leave
ret
Function at 0x572166
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
jne 0x5722c1
mov ecx, dword [esi + 4]
xor edi, edi
test ecx, ecx
je 0x57219f
lea eax, [esi + 8]
add edi, dword [eax]
add eax, 4
imul edi, edi, 0x401
mov edx, edi
shr edx, 6
xor edi, edx
dec ecx
jne 0x57218a
mov ecx, dword [ebx + 0xc]
imul edi, edi, 9
mov eax, edi
shr eax, 0xb
xor edi, eax
mov eax, edi
and eax, 0x3fff
shl eax, 2
mov dword [ebp - 8], eax
mov eax, dword [eax + ecx]
test eax, eax
je 0x572226
cmp dword [eax], edi
jne 0x5721d0
mov ecx, dword [esi + 4]
cmp dword [eax + 8], ecx
jne 0x5721d0
mov cl, 1
jmp 0x5721d2
xor cl, cl
and dword [ebp + 8], 0
test cl, cl
je 0x572203
lea ecx, [esi + 8]
mov dword [ebp - 4], ecx
lea ecx, [eax + 0xc]
mov edx, dword [ebp + 8]
cmp edx, dword [esi + 4]
jae 0x57220f
mov esi, dword [ebp - 4]
mov edx, dword [ecx]
cmp edx, dword [esi]
mov esi, dword [ebp + 0xc]
jne 0x572203
inc dword [ebp + 8]
add ecx, 4
add dword [ebp - 4], 4
jmp 0x5721e3
mov eax, dword [eax + 0x8c]
test eax, eax
jne 0x5721c0
jmp 0x572212
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x572226
inc dword [eax + 0x88]
mov ecx, dword [esi]
add dword [eax + 4], ecx
jmp 0x5722c1
mov eax, dword [esi + 4]
add dword [ebx + 4], eax
inc dword [ebx + 8]
push 0x6b4698
call fcn.00402109
test eax, eax
jne 0x572298
push 4
pop eax
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], eax
mov edi, esp
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov dword [eax], 2
mov dword [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov eax, esp
push 0x60
movsd dword es:[edi], dword [esi]
push str....._third_party_tcmallocchromium_src_stack_trace_table.cc
push ecx
movsd dword es:[edi], dword [esi]
mov dword [eax], ecx
mov dword [eax + 8], str.tcmalloc:_could_not_allocate_bucket
call fcn.00571e8c
add esp, 0x4c
mov byte [ebx], 1
jmp 0x5722c1
mov dword [eax], edi
push 0x21
lea edi, [eax + 4]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x88], 1
mov edx, dword [ebx + 0xc]
mov edx, dword [ecx + edx]
mov dword [eax + 0x8c], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + edx], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5725a8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xa68], eax
lea eax, [ebp - 0xa60]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0xa64], edi
call fcn.0057248c
xor ebx, ebx
xor esi, esi
mov byte [edi], 1
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x24c]
cmp dword [ebp - 0x248], ebx
jne 0x57260e
mov dword [ebp - 0x248], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x572614
call dword [sym.imp.KERNEL32.dll_Module32Next]
cmp eax, ebx
je 0x57266e
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
xor edi, edi
xor ecx, ecx
add eax, edx
adc ecx, edi
lea edi, [ebp - 0x128]
push edi
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
xor eax, eax
push eax
mov eax, dword [ebp + 0xc]
sub eax, esi
push edx
push eax
mov eax, dword [ebp - 0xa68]
add eax, esi
push eax
mov eax, str.r_xp
call fcn.005724fe
add esp, 0x2c
cmp eax, ebx
jne 0x572667
mov eax, dword [ebp - 0xa64]
mov byte [eax], bl
jmp 0x5725e7
add esi, eax
jmp 0x5725e7
cmp dword [ebp - 0x24c], 0xffffffff
je 0x572683
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call fcn.00404e46
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret

Function at 0x572cd5
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor ecx, ecx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x60]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.00574928
push edi
mov ecx, esi
call fcn.005749ce
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x572e45
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x572fbd
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [ebp - 8]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xc]
push str.Operator
mov edi, 0x400
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x572ed5
cmp dword [ebp - 8], 1
jne 0x572fa7
mov eax, ebx
mov ebx, dword [ebp - 4]
sub edi, ebx
mov dword [esi], eax
lea ebx, [ebx + eax]
je 0x572fa7
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.IssueDate
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x572f10
cmp dword [ebp - 8], 1
jne 0x572fa7
mov eax, dword [ebp - 4]
mov dword [esi + 4], ebx
add ebx, eax
sub edi, eax
je 0x572fa7
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x572f43
cmp dword [ebp - 8], 1
jne 0x572fa7
mov eax, dword [ebp - 4]
mov dword [esi + 8], ebx
add ebx, eax
sub edi, eax
je 0x572fa7
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.SignData
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x572fa7
cmp dword [ebp - 8], 3
jne 0x572fa7
mov eax, dword [ebp - 4]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x572fa7
lea eax, [esi + 0xc]
call fcn.00572d33
test eax, eax
je 0x572fa7
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x573399
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x64]
push edx
push eax
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00573e66
add esp, 0xc
test eax, eax
jne 0x5733ff
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x573412
push esi
lea esi, [ebp - 0x64]
call fcn.00574928
add esp, 4
push ebx
lea ecx, [ebp - 0x64]
call fcn.005749ce
add esp, 4
test edi, edi
je 0x57342f
mov ecx, dword [ebp - 0x6c]
xor eax, eax
cmp ecx, dword [ebp - 0x68]
sete al
mov dword [edi], eax
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00403fc1
mov esp, ebp
pop ebp
ret

Function at 0x573485
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
push edi
lea eax, [ebp - 0x60]
mov edi, ecx
push eax
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.005740e3
add esp, 4
test eax, eax
jne 0x5734db
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x60]
call fcn.005749ce
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00403fc1
mov esp, ebp
pop ebp
ret