joyce8/EMBER2024-capa huggingface dataset:
Function at 0x526310
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push edi
xor edi, edi
mov byte [esp + 8], 0x41
test ebp, ebp
mov byte [esp + 9], 0x42
mov byte [esp + 0xa], 0x43
mov byte [esp + 0xb], 0x44
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x46
mov byte [esp + 0xe], 0x47
mov byte [esp + 0xf], 0x48
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x11], 0x4a
mov byte [esp + 0x12], 0x4b
mov byte [esp + 0x13], 0x4c
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], 0x4e
mov byte [esp + 0x16], 0x4f
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x51
mov byte [esp + 0x19], 0x52
mov byte [esp + 0x1a], 0x53
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x59
mov byte [esp + 0x21], 0x5a
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x62
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x28], 0x67
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6a
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], 0x75
mov byte [esp + 0x37], 0x76
mov byte [esp + 0x38], 0x77
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0x7a
mov byte [esp + 0x3c], 0x30
mov byte [esp + 0x3d], 0x31
mov byte [esp + 0x3e], 0x32
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x34
mov byte [esp + 0x41], 0x35
mov byte [esp + 0x42], 0x36
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x38
mov byte [esp + 0x45], 0x39
mov byte [esp + 0x46], 0x2b
mov byte [esp + 0x47], 0x2f
jle 0x5264d1
lea edx, [ebp + 2]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [esp + 0x4c]
push ebx
push esi
mov esi, edx
shr esi, 1
lea edi, [esi + esi*2]
movsx edx, byte [eax]
sar edx, 2
inc ecx
add eax, 3
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
mov dl, byte [eax - 3]
movsx ebx, byte [eax - 2]
sar ebx, 4
and edx, 3
shl edx, 4
lea ebx, [esp + ebx + 0x10]
inc ecx
mov dl, byte [ebx + edx]
mov byte [ecx - 1], dl
mov dl, byte [eax - 2]
movsx ebx, byte [eax - 1]
sar ebx, 6
and edx, 0xf
inc ecx
lea ebx, [esp + ebx + 0x10]
mov dl, byte [ebx + edx*4]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
and edx, 0x3f
inc ecx
dec esi
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
jne 0x52647a
pop esi
pop ebx
lea eax, [ebp + 1]
cmp edi, eax
jne 0x5264e7
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc
add ebp, 2
cmp edi, ebp
jne 0x5264f6
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc
Function at 0x52d5f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x52d604
mov eax, dword [eax + 0x10]
jmp 0x52d60d
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x52d6a0
cmp dword [esi + 0x7c], 0x10
je 0x52d6a0
mov eax, dword [esi + 0x3338]
test eax, eax
je 0x52d646
mov edx, dword [esi + 0x315c]
mov ecx, dword [esi + 0x333c]
xor eax, eax
cmp eax, edx
jg 0x52d657
jl 0x52d646
cmp ecx, dword [esi + 0x3158]
jae 0x52d657
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
test eax, eax
je 0x52d657
cmp eax, 0x2733
jne 0x52d69c
mov edx, dword [esi + 0x315c]
mov ecx, dword [esi + 0x333c]
xor eax, eax
cmp eax, edx
jg 0x52d673
jl 0x52d620
cmp ecx, dword [esi + 0x3158]
jb 0x52d620
mov eax, dword [esi + 0x3158]
mov ecx, dword [esi + 0x333c]
sub ecx, eax
mov dword [esi + 0x333c], ecx
mov esi, dword [esi + 0x3338]
add eax, esi
push ecx
push eax
push esi
call fcn.00592770
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x2dc]
xor edi, edi
test eax, eax
jle 0x52d6ce
mov edi, dword [esi + 0x3158]
cmp edi, eax
jl 0x52d6b8
mov edi, eax
mov edx, dword [esi + 0x2d8]
add edx, edi
sub eax, edi
mov dword [esi + 0x2d8], edx
mov dword [esi + 0x2dc], eax
mov ecx, dword [esi + 0x315c]
mov eax, edi
cdq
cmp edx, ecx
jg 0x52d69a
jl 0x52d6e5
cmp eax, dword [esi + 0x3158]
jae 0x52d69a
mov eax, dword [esi + 0x30e4]
push 0x1e
push eax
mov ecx, esi
call fcn.005145a0
test eax, eax
jne 0x52d69c
mov ecx, dword [esi + 0x311c]
mov edx, dword [esi + 0x3118]
mov eax, dword [esi + 0x30e4]
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_recv
mov ecx, eax
test ecx, ecx
jl 0x52d75c
mov ebx, dword [esi + 0x315c]
add edi, ecx
mov eax, edi
cdq
cmp edx, ebx
jg 0x52d69a
jl 0x52d73c
cmp eax, dword [esi + 0x3158]
jae 0x52d69a
test ecx, ecx
je 0x52d69a
mov ecx, dword [esi + 0x30e4]
push 0x1e
push ecx
mov ecx, esi
call fcn.005145a0
test eax, eax
je 0x52d6f9
pop edi
pop esi
pop ebx
ret
call sub.WSOCK32.dll_WSAGetLastError
pop edi
pop esi
pop ebx
ret
Function at 0x532d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x30ec]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x70]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
call fcn.0056e5f0
mov eax, dword [esi + 0x30ec]
mov edi, 1
mov dword [eax + 0xf0], edi
mov eax, dword [esi + 0x30ec]
add eax, 0x80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x532e62
mov ecx, dword [0x691b84]
lea edx, [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push str.bIgnMTCh
push ecx
xor bl, bl
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x532e03
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x532e03
mov bl, 1
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 8]
test eax, eax
je 0x532e62
test bl, bl
jne 0x532e62
push 0x3f
push eax
call fcn.00591740
add esp, 8
test eax, eax
jne 0x532e62
mov eax, dword [esi + 0x30ec]
mov ecx, dword [eax + 0xf4]
test ecx, ecx
jne 0x532e55
mov ecx, dword [esi + 0xa0]
mov eax, dword [0x692ab0]
push 0x50044
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x532e62
mov dword [esi + 0x3138], edi
mov byte [esi + 0x313c], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x533cb0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov eax, 0xaaaaaaab
push edi
lea ecx, [esi + 3]
mov edi, dword [esp + 0x18]
mul ecx
shr edx, 1
lea edx, [edx + esi + 7]
push edx
push edi
call fcn.00533910
add esp, 8
test eax, eax
jne 0x533cdf
pop edi
pop esi
pop ecx
ret 0xc
push edi
call fcn.00533900
mov ecx, eax
add esp, 4
xor eax, eax
test esi, esi
jbe 0x533db4
lea edx, [esi + 2]
mov eax, 0xaaaaaaab
mul edx
push ebx
push ebp
mov edi, dword [esp + 0x18]
mov ebp, edx
shr ebp, 1
mov ebx, 2
lea eax, [ebp + ebp*2]
mov dword [esp + 0x10], eax
lea edx, [ebx - 1]
cmp edx, esi
jae 0x533d25
mov al, byte [edi + 1]
mov byte [esp + 0x20], al
jmp 0x533d2a
mov byte [esp + 0x20], 0
cmp ebx, esi
jae 0x533d37
mov dl, byte [edi + 2]
mov byte [esp + 0x18], dl
jmp 0x533d3c
mov byte [esp + 0x18], 0
xor eax, eax
add ebx, 3
mov al, byte [edi]
add edi, 3
shr eax, 2
inc ecx
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Unknown_error_in_HTTPConnection_constructor._n]
mov eax, dword [esp + 0x20]
mov byte [ecx - 1], dl
mov dl, byte [edi - 3]
and eax, 0xff
and edx, 3
mov esi, eax
and eax, 0xf
shl edx, 4
shr esi, 4
or edx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
inc ecx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Unknown_error_in_HTTPConnection_constructor._n]
mov byte [ecx - 1], dl
mov edx, esi
shr edx, 6
shl eax, 2
or edx, eax
and esi, 0x3f
inc ecx
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Unknown_error_in_HTTPConnection_constructor._n]
mov byte [ecx - 1], al
mov dl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Unknown_error_in_HTTPConnection_constructor._n]
mov esi, dword [esp + 0x1c]
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x533d15
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
lea edx, [esi + 1]
cmp eax, edx
jne 0x533dcd
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc
add esi, 2
cmp eax, esi
jne 0x533ddc
mov al, 0x3d
mov byte [ecx - 1], al
mov byte [ecx - 2], al
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc

Function at 0x5343e0
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x682e74
push edi
mov dword [ebx], edi
call fcn.00592f40
mov esi, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov dword [esi], eax
jne 0x534439
mov al, byte [0x69202c]
test al, al
jne 0x534426
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
push 0x69202c
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebx], 0x69202c
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
mov byte [eax], 0
mov edx, dword [esi]
inc edx
mov dword [esi], edx
mov esi, edx
mov al, byte [esi]
test al, al
je 0x53445c
cmp al, 0x5c
je 0x53445c
cmp al, 0x2f
je 0x53445c
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x534bd0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
push 0
push 1
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
lea ecx, [esi + 0x7ec]
cmp eax, 0xffffffff
mov dword [ecx], eax
je 0x534c08
xor eax, eax
mov edx, dword [esi + 0x1dc]
add eax, 0x3348
cmp eax, 0x33480
mov dword [edx + eax - 0x3278], ecx
jl 0x534bed
pop esi
ret
xor eax, eax
mov ecx, dword [esi + 0x1dc]
add eax, 0x3348
cmp eax, 0x33480
mov dword [ecx + eax - 0x3278], 0
jl 0x534c0a
pop esi
ret
Function at 0x547760
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x5d4e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, 0xf0
push ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
xor eax, eax
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3128]
lea edx, [esp + 0x14]
push ecx
xor ebx, ebx
push edx
push eax
mov byte [esp + 0x30], 0xef
mov byte [esp + 0x34], 0xff
mov byte [esp + 0x35], 0xff
mov byte [esp + 0x36], 0xff
mov byte [esp + 0x37], 0xff
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0xa0
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 2
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov dword [esp + 0x1c], 0x10
call sub.WSOCK32.dll_getsockname
cmp eax, ebx
je 0x547825
call sub.WSOCK32.dll_WSAGetLastError
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [0x68d01c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x16]
mov dword [esp + 0x40], ebx
push edx
call sub.WSOCK32.dll_ntohs
mov ecx, dword [esp + 0x1b]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x21]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x24]
push str._d._d._d._d_s_ld
push edx
call fcn.005a6a18
mov eax, dword [esp + 0x2c]
add esp, 0x20
lea ecx, [esp + 0x24]
push eax
push 0x14
push ecx
push 2
mov ecx, esi
call fcn.00547180
mov edi, eax
cmp edi, ebx
je 0x5478c7
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.005adc4d
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push 0x18
lea ecx, [esi + 0x311c]
call fcn.0054fb50
mov ecx, esi
call fcn.00514da0
lea ecx, [esp + 0xc]
mov dword [esi + 0x7c], 4
mov dword [esp + 0x40], 0xffffffff
call fcn.005adc4d
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x548d50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [ecx + 0x30f0]
push esi
push edi
test ebx, ebx
mov dword [esp + 0x10], ecx
jne 0x548d6d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp ebx, 0x186a0
jbe 0x548d7a
mov ebx, 0x186a0
mov eax, dword [ecx + 0xa0]
push 0
push 0
push 3
mov ecx, dword [eax + 0x30]
push 0
push 3
push accept
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x548dba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x548e40
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
push ebx
call fcn.005a9fe9
mov esi, eax
add esp, 4
test esi, esi
jne 0x548ddc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 0x753b
pop ebx
add esp, 0xc
ret
push ebp
lea edx, [esp + 0x10]
push 0
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x548e2a
cmp dword [esp + 0xc], ebx
jne 0x548e2a
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.00548ed0
push esi
mov edi, eax
call fcn.005aa012
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push esi
call fcn.005aa012
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x548e40
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x54b930
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, dword [ebp + 0x30f0]
cmp esi, 0x186a0
jbe 0x54b94c
mov esi, 0x186a0
mov eax, dword [ebp + 0xa0]
push 0
push 0
push 3
mov ecx, dword [eax + 0x30]
push 0
push 3
push accept
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x54b98f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x54ba3f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
push esi
call fcn.005a9fe9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x54b9b4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0x753b
pop ebx
add esp, 0xc
ret 4
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54ba29
cmp dword [esp + 0x14], esi
jne 0x54ba29
mov edi, dword [ebp + 0x3174]
mov ecx, esi
mov esi, ebx
xor eax, eax
mov edx, dword [esp + 0x20]
push ebx
repe cmpsb byte [esi], byte es:[edi]
setne cl
mov byte [edx], cl
call fcn.005aa012
mov eax, dword [ebp + 0x3174]
push eax
call fcn.005aa012
add esp, 8
mov dword [ebp + 0x3174], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push ebx
call fcn.005aa012
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x54ba3f
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x54f480
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d5500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x5dd2f8
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x68d01c]
lea edi, [esi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [edi], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x20], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x30], ecx
lea ebp, [esi + 0x34]
lea edx, [ebp + 4]
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov word [edx], bx
mov ecx, dword [0x68d01c]
lea eax, [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], 7
push edx
push 0x665f68
push eax
mov dword [esi], 0x604738
call fcn.005a6a18
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push 0x665f68
push edi
call fcn.005a6a18
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x54f54d
push eax
lea eax, [esi + 0x1c]
push 0x665f68
push eax
call fcn.005a6a18
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x54f567
push eax
lea eax, [esi + 0x20]
push 0x665f68
push eax
call fcn.005a6a18
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push eax
lea eax, [esi + 0x2c]
push 0x665f68
push eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.005a6a18
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp edx, ebx
je 0x54f5b3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x54f5b3
push edx
lea eax, [esi + 0x30]
push 0x665f68
push eax
call fcn.005a6a18
add esp, 0xc
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x54f680
push edi
call fcn.00591712
add esp, 4
test eax, eax
je 0x54f680
cmp dword [ebp], ebx
je 0x54f63c
push edi
call fcn.00591712
add esp, 4
test eax, eax
je 0x54f63c
mov eax, dword [ebp]
cmp eax, edi
ja 0x54f63c
push eax
call fcn.00591712
mov ecx, dword [ebp]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x54f63c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00401ee0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 8
cmp eax, ebx
jne 0x54f624
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401ee0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.00401070
jmp 0x54f680
mov ecx, ebp
call fcn.00401070
push edi
call fcn.00591712
add esp, 4
test eax, eax
je 0x54f680
push edi
call fcn.00591712
lea eax, [eax + eax + 2]
push eax
call fcn.005a9fe9
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
je 0x54f680
push edi
call fcn.00591712
mov ecx, dword [ebp]
push edi
push ecx
mov dword [ebp + 8], eax
call fcn.005918aa
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x24
Function at 0x54f6c0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5d5570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x604738
mov dword [esp + 0x10], 7
call fcn.0054f790
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.005adc4d
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 5
call fcn.00401070
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.005adc4d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 3
call fcn.005adc4d
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.005adc4d
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 1
call fcn.005adc4d
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 0
call fcn.005adc4d
add esi, 4
mov dword [esp + 4], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 8
test eax, eax
je 0x54f77d
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.005a6aa5
mov edx, dword [esi + 4]
push edx
call fcn.005aa012
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x550dd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov edi, dword [esi + 0x7c]
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
mov eax, dword [esi + 0x30e4]
cmp dword [eax + 0xec], 2
jne 0x550e36
cmp dword [esi + 0x44], ebx
jl 0x550e36
jg 0x550e1b
cmp dword [esi + 0x40], ebx
jbe 0x550e36
mov dword [esi + 0x7c], 7
mov dword [esi + 0x74], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x18
je 0x550e40
cmp edi, 0x15
jne 0x550e25
cmp dword [esi + 0xb8], ebx
je 0x550e25
cmp dword [eax + 0xf8], 0x757b
jne 0x550e25
mov ecx, esi
call fcn.00557540
cmp eax, ebx
je 0x550f4a
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.005133a0
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
push str._dkf
push eax
call fcn.005920ea
mov edx, dword [esi + 0x30e4]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov eax, dword [edx + 0xbc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x10]
push edx
call fcn.00518590
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x5c], ebx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
cmp eax, ebx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc0], ebx
fstp qword [esi + 0x30e8]
jne 0x550f0d
mov eax, dword [esi + 0x30e4]
cmp ecx, dword [eax + 0x68]
jne 0x550f0d
push str.This_is_first_part__n
mov ecx, esi
call fcn.005133a0
mov byte [esi + 0x30f9], 1
mov byte [esi + 0x30fb], bl
jmp 0x550f14
mov byte [esi + 0x30fb], 1
mov byte [esi + 0x30fd], bl
mov byte [esi + 0x30fe], bl
mov dword [esi + 0x4918], ebx
mov dword [esi + 0x491c], ebx
mov byte [esi + 0x30f5], bl
mov byte [esi + 0x30f4], bl
mov dword [esi + 0x312c], ebx
mov byte [esi + 0x3101], bl
mov byte [esi + 0x3100], bl
mov ecx, esi
mov byte [esi + 0xb6], 1
call fcn.00515fa0
mov edx, dword [esi]
lea eax, [esi + 0x30e0]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
je 0x550e25
mov ecx, dword [esi + 0x30e4]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne 0x550e25
mov ecx, dword [esi + 0x30e4]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret