joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2020
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.004c6ca0
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x4c205a
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.004c6ca0
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x4c6db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x4c6e4b
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x4c6e03
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x4c6e28
test edx, edx
jne 0x4c6e3a
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.0048b050
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c6eaa
jmp 0x4c6e41
movzx ecx, byte [ecx + 0x5a98e0]
movzx edx, byte [edx + 0x5a98e0]
sub edx, ecx
jne 0x4c6e3d
inc eax
jmp 0x4c6df0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x4c6dd0
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x4c6e76
test ecx, ecx
jne 0x4c6e88
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x4c6e8b
neg eax
sbb eax, eax
jmp 0x4c6e9a
movzx eax, byte [eax + 0x5a98e0]
movzx ecx, byte [ecx + 0x5a98e0]
sub ecx, eax
jne 0x4c6ea8
inc ebp
jmp 0x4c6e52
test eax, eax
je 0x4c6ea8
mov edx, eax
call fcn.00489bb0
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x4c6ea8
mov ebp, str.sqlite_temp_master
jmp 0x4c6dc3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4c71f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x4c728a
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4c7249
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x4c7275
test edx, edx
jne 0x4c7287
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.0048b050
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4c726b
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x4c7212
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x5a98e0]
movzx edx, byte [edx + 0x5a98e0]
sub edx, ecx
jne 0x4c7261
inc eax
jmp 0x4c7236
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x51d600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.0050db90
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x51d7de
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.005190f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x51d7de
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.00519210
mov esi, eax
cmp esi, 0x64
jne 0x51d7de
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.00509de0
lea esi, [edi + eax]
cmp esi, ebp
jae 0x51d7be
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.00509de0
add esi, eax
cmp esi, ebp
jae 0x51d7ba
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x51d766
cmp ecx, 1
jne 0x51d726
test edx, edx
je 0x51d766
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.0051d550
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x51d7b2
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x51d788
lea edx, [esp + 0x30]
call fcn.00509de0
add esi, eax
jmp 0x51d7b2
lea edx, [esp + 0x20]
call fcn.00509de0
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x51d7aa
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x51d7b2
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x51d6f1
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.00519210
mov esi, eax
cmp esi, 0x64
je 0x51d6b4
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x51d7e6
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.00519970
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x527c10
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x527c4c
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.00527b30
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x527d0c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.004ac6b0
push edi
call fcn.004ab400
add esp, 0x14
cmp eax, 0x65
jne 0x527ca3
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.00527bb0
add esp, 0x1c
jmp 0x527cfa
cmp eax, 0x64
jne 0x527cfa
push 0
push edi
call fcn.004abd20
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x527cc5
cmp edx, ecx
je 0x527cfa
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.00527bb0
add esp, 0x2c
push edi
call fcn.004aa450
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x527d0c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x5342b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598117
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x18
mov byte [edi], 0
call fcn.0057d388
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005365b0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005365b0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00404580
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.00442c30
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00404580
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xf0]
call fcn.00404580
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.0041e610
call fcn.00404690
lea edx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
mov ecx, eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.004198d0
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.0041e610
call fcn.00404690
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0xd]
mov ecx, eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.004198d0
mov dword [ebp - 4], 0xffffffff
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
Function at 0x536920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x5f5698], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x5f5398], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x5f5598], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x5f5498], al
inc esi
cmp esi, 0x100
jl 0x536a30
pop esi
add esp, 0x80
ret
Function at 0x53bd50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598f38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x53be28
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.00536200
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040b6a0
test al, al
jne 0x53be19
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
call fcn.00404530
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x53be19
test esi, esi
je 0x53be19
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d0c6
mov esp, ebp
pop ebp
ret 4
Function at 0x53e770
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599533
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.005365b0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00460f80
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00542200
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00460f80
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00542160
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005420c0
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005420c0
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.005420c0
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea esi, [edi + 0x40]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00404580
mov byte [ebp - 4], 0x18
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0x19
lea ecx, [edi + 0x78]
call fcn.00404580
mov dword [ebp - 4], 0xffffffff
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
Function at 0x53ea10
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5996a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.00404570
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
call fcn.00404570
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.00541940
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.00541940
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.00541a40
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x12
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00541f00
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x16
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00541fa0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.00541bb0
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.0057d635
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1b
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00541fa0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.0057d635
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1d
mov ecx, ebx
call fcn.00536400
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.0057d635
add esp, 8
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 0x53ee70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599778
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ee034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 8]
lea ecx, [ebx + 8]
push dword [esi + 4]
call fcn.00541fa0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x18]
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0x18]
push dword [esi + 4]
call fcn.00541fa0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [eax], esi
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], esi
mov dword [ebx + 0x1c], 0
call fcn.00541bb0
mov esi, dword [ebx + 0x20]
lea ecx, [ebx + 0x20]
push dword [esi + 4]
call fcn.00541f00
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x28]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
mov dword [eax + 8], esi
mov dword [ebx + 0x24], 0
call fcn.00541a40
lea ecx, [ebx + 0x30]
call fcn.00541940
push 0
push 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.005365b0
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x14]
cmp ebx, eax
je 0x53ef60
mov eax, dword [ebx]
lea edx, [ebp - 0x10]
mov dword [ebx], ecx
lea ecx, [ebx + 4]
mov dword [ebp - 0x14], eax
call fcn.00406480
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00536400
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebp - 0x14]
call fcn.0057d635
add esp, 8
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 0x56a6b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ea2b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x260], eax
call fcn.004486d0
mov eax, dword [edi]
test eax, eax
je 0x56a8f1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5b879c
push eax
call esi
push str.RegEnumKeyExW
push dword [edi]
mov dword [ebp - 0x25c], eax
call esi
push str.RegCloseKey
push dword [edi]
mov ebx, eax
mov dword [ebp - 0x268], ebx
call esi
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x26c], eax
test ecx, ecx
je 0x56a8f1
test ebx, ebx
je 0x56a8f1
test eax, eax
je 0x56a8f1
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x56a8f1
push 0x208
xor edi, edi
lea eax, [ebp - 0x250]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x250]
push eax
push edi
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x56a8e5
lea ecx, [ebp - 0x284]
call fcn.00404690
mov ecx, dword [ebp - 0x260]
mov ebx, eax
call fcn.00404690
add eax, 4
mov dword [ebp - 0x264], eax
call fcn.00404910
mov dword [ebp - 0x25c], eax
call fcn.00404680
mov esi, eax
nop dword [eax + eax]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x284]
call fcn.00406350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x264]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x56a88f
mov edx, dword [esi]
call fcn.004044b0
push ebx
mov ecx, eax
call fcn.00419500
add dword [esi], 0x18
jmp 0x56a89d
mov ecx, dword [ebp - 0x260]
push ebx
push dword [esi]
call fcn.00448c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00404570
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc edi
push eax
push edi
push dword [ebp - 0x258]
call dword [ebp - 0x268]
test eax, eax
je 0x56a850
push dword [ebp - 0x258]
call dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d0c6
mov esp, ebp
pop ebp
ret 4