joyce8/EMBER2024-capa huggingface dataset:
Function at 0x552194
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61e0ac
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005a0bb1
call fcn.00401181
mov edx, dword [eax]
push esi
mov edi, 0xa0
push edi
mov ecx, eax
call dword [edx + 8]
call fcn.00401181
push dword [esi + 0x20]
mov ebx, eax
call dword [0x6347f8]
push eax
call fcn.0059d69b
mov edx, dword [ebx]
push eax
push esi
push edi
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [0x6c1d48]
xor ebx, ebx
push ebx
push 0x400
push ebx
add ecx, 4
call fcn.005a8143
lea eax, [esp + 0x28]
push eax
mov dword [esi + 0x194], ebx
call fcn.004fdbef
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x54], ebx
call fcn.004fde0b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x64293c
call fcn.0040518c
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004fe000
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00405172
cmp edi, ebx
je 0x552279
mov dword [esi + 0x194], 1
mov edi, dword [0x63482c]
push str.No_SSL
push ebx
mov ebx, 0x14a
push ebx
push dword [esi + 0x160]
call edi
push str.SSL_TLS
push 1
push ebx
push dword [esi + 0x160]
call edi
push str.STARTTLS
push 2
push ebx
push dword [esi + 0x160]
call edi
push str.APOP
push 3
push ebx
push dword [esi + 0x160]
call edi
push dword [esi + 0x194]
lea eax, [esi + 0x140]
call fcn.004302ed
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.0059d00d
push 0x37
call fcn.004010a2
mov ecx, eax
call fcn.00431dbb
cmp eax, edi
je 0x5522f7
mov dword [esi + 0xe8], edi
push 0
mov ecx, esi
call fcn.0059d00d
call fcn.0055262e
lea ecx, [esp + 0x28]
call fcn.004fdc5e
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55330c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61e0ac
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005a0bb1
call fcn.00401181
mov edx, dword [eax]
push esi
mov edi, 0xa1
push edi
mov ecx, eax
call dword [edx + 8]
call fcn.00401181
push dword [esi + 0x20]
mov ebx, eax
call dword [0x6347f8]
push eax
call fcn.0059d69b
mov edx, dword [ebx]
push eax
push esi
push edi
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [0x6c1d48]
xor ebx, ebx
push ebx
push 0x400
push ebx
add ecx, 4
call fcn.005a8143
lea eax, [esp + 0x28]
push eax
mov dword [esi + 0x144], 1
mov dword [esi + 0x140], ebx
call fcn.004fdbef
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x54], ebx
call fcn.004fde0b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x64293c
call fcn.0040518c
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004fe000
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00405172
cmp edi, ebx
je 0x5533fb
mov dword [esi + 0x140], 1
mov edi, dword [0x63482c]
push str.No_SSL
push ebx
mov ebx, 0x14a
push ebx
push dword [esi + 0x10c]
call edi
push str.SSL_TLS
push 1
push ebx
push dword [esi + 0x10c]
call edi
push str.STARTTLS
push 2
push ebx
push dword [esi + 0x10c]
call edi
push dword [esi + 0x140]
lea eax, [esi + 0xec]
call fcn.004302ed
and dword [esi + 0x148], 0
call fcn.00553488
mov edi, esi
call fcn.00553663
lea ecx, [esp + 0x28]
call fcn.004fdc5e
xor eax, eax
inc eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x558ef3
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60630b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005a0bb1
call fcn.00558eda
call fcn.00401181
push dword [esi + 0x20]
mov edi, eax
call dword [0x6347f8]
push eax
call fcn.0059d69b
mov edx, dword [edi]
push eax
push esi
push 0xd3
mov ecx, edi
call dword [edx + 0xc]
mov ecx, dword [0x6c1d4c]
xor ebx, ebx
push ebx
push 0x400
push ebx
add ecx, 4
call fcn.005a8143
push 0xffffffffffffffff
push 0x7d
push ebx
mov edi, 0x641040
push edi
lea ecx, [esi + 0x8c]
push ebx
call fcn.005a309f
push 0xffffffffffffffff
push 0x64
push ebx
push edi
lea edi, [esi + 0x8c]
push 1
mov ecx, edi
call fcn.005a309f
lea eax, [esp + 0x14]
push eax
call fcn.0044c572
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x96
call fcn.00445586
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.00445586
push 1
push edi
lea eax, [esp + 0x1c]
call fcn.004c76f2
pop ecx
pop ecx
call fcn.00416ef8
call fcn.0040d11a
neg eax
sbb eax, eax
inc eax
push ebx
mov ecx, esi
mov dword [esi + 0xe0], eax
call fcn.0059d00d
lea esi, [esp + 0x14]
call fcn.004e3a7c
xor eax, eax
inc eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55e191
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61a485
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov ebx, dword [0x634828]
push 3
call ebx
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x14]
dec eax
push eax
push dword [edi + 4]
call dword [0x634134]
push eax
mov ecx, esi
push edi
lea esi, [ebp + 0xc]
call fcn.0055e2fc
cmp dword [ebp + 0x20], 0
je 0x55e262
mov esi, dword [esp + 0x10]
add esi, 0x1c
je 0x55e262
cmp dword [esi + 4], 0
je 0x55e262
mov eax, esi
call fcn.0055a175
cmp eax, 1
jne 0x55e262
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 0x20]
call fcn.0043895a
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push 3
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
pop eax
push 1
push ecx
push eax
push 0
push edi
mov ecx, esi
call fcn.00438823
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 3]
mov dword [ebp + 0xc], eax
add dword [ebp + 0xc], 2
mov esi, dword [edi]
push 9
call ebx
push eax
mov ecx, edi
call dword [esi + 0x30]
push 1
mov ecx, edi
mov esi, eax
call fcn.005aad55
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push 0xd
mov ecx, edi
call dword [eax + 0x24]
push dword [ebp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.004050f0
and dword [esp + 0x48], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 0x8024
lea ebx, [ebp + 0xc]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
or dword [esp + 0x48], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00405172
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x30]
push dword [esp + 0x10]
mov ecx, edi
call fcn.005aad55
push dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x567229
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x400], 0
jne 0x56723a
call fcn.005671f6
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 0xc], ecx
jbe 0x567261
push edi
mov edx, dword [esp + 0xc]
movzx edx, byte [ecx + edx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [esi + edx*4]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x567246
pop edi
not eax
pop esi
ret 8
Function at 0x567267
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
cmp dword [eax + 0x14], esi
jne 0x567281
xor eax, eax
jmp 0x56742c
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], esi
jb 0x56728f
mov eax, dword [eax + 4]
jmp 0x567292
add eax, 4
push 0x6662d8
push eax
lea eax, [ebp - 4]
push eax
call fcn.005c8fa1
add esp, 0xc
cmp dword [ebp - 4], esi
je 0x56727a
push 2
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.005cac1e
add esp, 0x10
test eax, eax
jne 0x56727a
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.005c98d5
push dword [ebp - 4]
call fcn.005c9943
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp ebx, esi
jbe 0x567314
xor eax, eax
cmp eax, dword [ebp - 0x14]
jl 0x5672f2
jg 0x5672ed
cmp ebx, edx
jbe 0x5672f2
xor ebx, ebx
mov dword [ebp + 0xc], ebx
cmp ebx, esi
jbe 0x567314
xor eax, eax
cmp eax, dword [ebp - 0x14]
jg 0x567314
jl 0x567303
cmp ebx, edx
jae 0x567314
push esi
push eax
push ebx
push dword [ebp - 4]
call fcn.005cac1e
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, edx
sub eax, ebx
mov ebx, dword [ebp - 0xc]
sbb esi, ebx
mov ecx, 0x4000
mov edi, ecx
test esi, esi
jg 0x56733b
jl 0x567336
cmp eax, ecx
jae 0x56733b
sub edx, dword [ebp + 0xc]
mov edi, edx
lea eax, [edi + 1]
push eax
call fcn.0059a1b8
mov esi, dword [ebp + 8]
cmp dword [esi + 0x400], 0
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
jne 0x56735c
call fcn.005671f6
push dword [ebp - 4]
or dword [ebp + 0xc], 0xffffffff
call fcn.005cafb9
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
xor eax, eax
mov edi, esi
sub edi, dword [ebp + 0x10]
pop ecx
mov ecx, dword [ebp - 0x14]
sbb ecx, eax
cmp edx, ecx
mov dword [ebp - 0x1c], edx
jg 0x567415
jge 0x56740c
mov eax, dword [ebp - 8]
cdq
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
cmp edx, ecx
jl 0x5673a9
jg 0x5673a0
cmp eax, edi
jbe 0x5673a9
sub esi, dword [ebp - 0x20]
sub esi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
push dword [ebp - 4]
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.005c9ca9
add esp, 0x10
test eax, eax
je 0x567415
xor ecx, ecx
test eax, eax
jbe 0x5673e7
mov edx, dword [ebp - 0xc]
movzx esi, byte [ebp + 0xc]
movzx edx, byte [ecx + edx]
mov edi, dword [ebp + 8]
xor edx, esi
mov esi, dword [ebp + 0xc]
shr esi, 8
xor esi, dword [edi + edx*4]
inc ecx
mov dword [ebp + 0xc], esi
cmp ecx, eax
jb 0x5673c6
push dword [ebp - 4]
call fcn.005cafb9
mov esi, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 0x14]
mov edi, esi
sub edi, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x20], eax
pop eax
sbb ecx, eax
cmp edx, ecx
mov dword [ebp - 0x1c], edx
jl 0x56738c
jg 0x567415
cmp dword [ebp - 0x20], edi
jb 0x56738c
push dword [ebp - 0xc]
call fcn.0059a1ad
push dword [ebp - 4]
call fcn.005c924f
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
not eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5674ea
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
sub esp, 0x78
lea ebp, [esp - 4]
mov eax, dword [0x6b9a04]
xor eax, ebp
mov dword [ebp + 0x78], eax
push 0x14
mov eax, 0x5f6dbe
call fcn.005cb8ce
mov ebx, ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x84]
mov esi, dword [ebp + 0x88]
and dword [ebp - 0x18], 0
cmp ebx, 0x40
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x8c]
mov edi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], eax
jle 0x567565
push ebx
lea ecx, [ebp + 0x5c]
call fcn.00567807
mov eax, dword [ebp + 0x60]
pop ecx
push 0x10
pop ebx
cmp dword [ebp + 0x74], ebx
jae 0x56754c
lea eax, [ebp + 0x60]
push dword [ebp + 0x70]
push eax
push esi
call fcn.005c7510
add esp, 0xc
push 0
push 1
lea ecx, [ebp + 0x5c]
call fcn.004055c2
push 0x41
lea esi, [edi + 0x5c]
push 0
push esi
call fcn.005c6d70
push 0x41
add edi, 0x9d
push 0
push edi
mov dword [ebp - 0x20], edi
call fcn.005c6d70
push ebx
push dword [ebp - 0x10]
push esi
call fcn.005c7510
push ebx
push dword [ebp - 0x10]
push edi
call fcn.005c7510
add esp, 0x30
push 0x40
pop eax
xor byte [edi - 0x41], 0x36
xor byte [edi], 0x5c
inc edi
dec eax
jne 0x56759f
lea eax, [ebp]
call fcn.0056765f
push esi
push 0x40
pop eax
lea ecx, [ebp]
mov dword [ebp - 4], 1
call fcn.00434b94
push dword [ebp - 0x1c]
mov eax, dword [ebp + 0x90]
lea ecx, [ebp]
call fcn.00434b94
mov ebx, dword [ebp - 0x14]
lea edi, [ebp]
call fcn.00567841
mov esi, edi
mov dword [ebp - 0x18], 1
call fcn.00567694
push dword [ebp - 0x20]
mov ecx, edi
push 0x40
pop eax
call fcn.00434b94
mov esi, ebx
cmp dword [esi + 0x18], 0x10
jb 0x567609
mov eax, dword [esi + 4]
jmp 0x56760c
lea eax, [esi + 4]
push eax
push 0x10
pop eax
lea ecx, [ebp]
call fcn.00434b94
lea ebx, [ebp + 0x5c]
lea edi, [ebp]
call fcn.00567841
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040529a
push 0
push 1
mov ecx, ebx
call fcn.004055c2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.005c30b2
add ebp, 0x7c
leave
ret 0x10

Function at 0x567694
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 4]
push 0
push eax
call fcn.005c6d70
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
ret
Function at 0x568d66
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fa8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6b9a04]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, str.Verification_Error
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040518c
and dword [esp + 0x70], 0
lea eax, [esp + 0x28]
lea esi, [edi + 0x9c]
push eax
call fcn.00403872
push eax
lea ecx, [esp + 0x48]
call fcn.004051ae
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.004055c2
mov ecx, esi
call fcn.00404301
push ebx
lea ecx, [esp + 0x10]
call fcn.0040518c
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x74], 3
call fcn.00403872
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.0040529a
push ebx
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.004055c2
mov esi, 0x641040
push esi
lea ecx, [edi + 0xbc]
call fcn.0040556d
push esi
lea ecx, [edi + 0xd8]
call fcn.0040556d
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004055c2
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005c30b2
mov esp, ebp
pop ebp
ret
Function at 0x56e781
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6b9a04]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
push 0x20
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.005c6d70
add esp, 0xc
test esi, esi
jne 0x56e7ee
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x7a
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x67
mov byte [ebp - 0x20], 0x48
mov byte [ebp - 0x1f], 0x51
mov byte [ebp - 0x1e], 0x70
mov byte [ebp - 0x1d], 0x78
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x1b], 0x31
mov byte [ebp - 0x1a], 0x5c
mov byte [ebp - 0x19], 0x6d
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x36
mov byte [ebp - 0x14], 0x58
jmp 0x56e90a
cmp esi, 1
jne 0x56e834
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x6a
mov byte [ebp - 0x22], 0x48
mov byte [ebp - 0x21], 0x37
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0x38
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x4b
mov byte [ebp - 0x1b], 0x6a
mov byte [ebp - 0x1a], 0x4d
mov byte [ebp - 0x19], 0x39
mov byte [ebp - 0x18], 0x33
mov byte [ebp - 0x17], 0x32
mov byte [ebp - 0x16], 0x43
jmp 0x56e90e
cmp esi, 2
jne 0x56e87a
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x56
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x34
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0x51
mov byte [ebp - 0x1d], 0x63
mov byte [ebp - 0x1c], 0x78
mov byte [ebp - 0x1b], 0x67
mov byte [ebp - 0x1a], 0x48
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x49
mov byte [ebp - 0x17], 0x32
mov byte [ebp - 0x16], 0x59
jmp 0x56e90e
cmp esi, 3
jne 0x56e8bd
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x62
mov byte [ebp - 0x22], 0x51
mov byte [ebp - 0x21], 0x39
mov byte [ebp - 0x20], 0x34
mov byte [ebp - 0x1f], 0x30
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x4c
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], 0x7a
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x59
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x36
jmp 0x56e90e
cmp esi, 4
jne 0x56e90e
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x67
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x39
mov byte [ebp - 0x20], 0x34
mov byte [ebp - 0x1f], 0x37
mov byte [ebp - 0x1e], 0x55
mov byte [ebp - 0x1d], 0x4b
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x4c
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x32
mov byte [ebp - 0x12], 0x38
mov byte [ebp - 0x15], 0x4f
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0040518c
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.005c30b2
leave
ret
Function at 0x577e4b
Capabilities:
Reference sql statements

Disassembly:
push 0x98
mov eax, 0x6088ce
call fcn.005cb937
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x80]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], 3
call fcn.00581ad8
push 0x10
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x4c]
pop eax
cmp dword [ebp + 0x60], eax
jae 0x577e95
lea esi, [ebp + 0x4c]
mov edx, dword [ebp + 0x30]
cmp dword [ebp + 0x44], eax
jae 0x577ea0
lea edx, [ebp + 0x30]
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x28], eax
jae 0x577eab
lea ecx, [ebp + 0x14]
cmp dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x68]
jae 0x577eb6
lea eax, [ebp + 0x68]
push esi
push edx
push ecx
push eax
push str.SELECT__s_FROM__s_WHERE__s_s
mov ecx, 0x800
lea edx, [ebp - 0xa4]
call fcn.0054aa9f
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0040529a
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.004055c2
cmp dword [edi + 0x18], 0x10
jb 0x577f00
mov edi, dword [edi + 4]
jmp 0x577f03
add edi, 4
push edi
lea ecx, [ebp - 0xa4]
call fcn.0040518c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
mov edi, 0x641040
push edi
mov byte [ebp - 4], 6
call fcn.0040518c
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x64]
call fcn.00581b63
mov ecx, dword [ebp - 0x6c]
push ebx
mov dword [ecx], eax
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.004055c2
mov eax, dword [ebp - 0x6c]
cmp dword [eax], ebx
je 0x577f68
mov ecx, dword [ebp - 0x68]
push edi
call fcn.0040518c
lea edi, [ebp - 0x64]
call fcn.00581b18
jmp 0x577ff9
lea eax, [ebp - 0x88]
push eax
call fcn.0044c572
lea esi, [ebp - 0x44]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.00578059
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push 0x18
cdq
pop ecx
idiv ecx
cmp eax, ebx
jne 0x577f99
push edi
jmp 0x577fdb
cmp eax, 1
jne 0x577fd6
push ebx
lea esi, [ebp - 0x88]
call fcn.0057814f
mov ecx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 1
jne 0x577fd6
push ebx
push ebx
call fcn.0057814f
mov esi, eax
call fcn.0040ba07
mov ecx, dword [ebp - 0x68]
push eax
call fcn.004051ae
jmp 0x577fe3
push 0x642ab8
mov ecx, dword [ebp - 0x68]
call fcn.0040518c
lea esi, [ebp - 0x88]
call fcn.0057802c
lea edi, [ebp - 0x64]
call fcn.00581b18
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp + 0x10]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp + 0x2c]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp + 0x48]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp + 0x64]
call fcn.004055c2
mov eax, dword [ebp - 0x68]
call fcn.005cb9ba
ret 0x7c
Function at 0x578e34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6b9a04]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 0x18], 0x37
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x62
mov byte [ebp - 0x14], 0x6a
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x42
mov byte [ebp - 0x11], 0x39
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0xf], 0x4f
mov byte [ebp - 0xe], 0x51
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x56
mov byte [ebp - 9], 0x4d
mov byte [ebp - 8], 0
call fcn.0040518c
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005c30b2
leave
ret
Function at 0x57b8d3
Capabilities:
Reference sql statements

Disassembly:
push 0xe4
mov eax, 0x617114
call fcn.005cb937
mov eax, dword [ebp + 8]
sub esp, 0x1c
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ebx
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov esi, 0x641040
push esi
mov dword [ebp - 0xc8], eax
call fcn.0040518c
mov ecx, edi
call fcn.00579249
cmp eax, ebx
jne 0x57b930
mov ecx, dword [ebp - 0xc4]
push esi
call fcn.0040518c
jmp 0x57ba9b
lea eax, [edi + 0x58]
push eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00581ad8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.MessagePersistDb::GetMessageA
mov dword [ebp - 4], ebx
call fcn.0040518c
lea ecx, [edi + 0xc0]
mov dword [ebp - 0xc0], ecx
call fcn.00525fdb
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 0x18], 0x10
jb 0x57b980
mov eax, dword [eax + 4]
jmp 0x57b983
add eax, 4
push eax
push str.SELECT_msgSource._strText_FROM_messages_INNER_JOIN_msgSource_ON_messages._nIdxmsgSource._nIdxLink_WHERE_messages._strUid_s
mov ecx, 0x400
lea edx, [ebp - 0x68]
call fcn.0054aa9f
pop ecx
pop ecx
push edi
mov byte [ebp - 4], 1
call fcn.0057e663
push edi
mov dword [edi + 8], eax
call fcn.0057e751
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.BinData
mov dword [edi + 0xc], eax
call fcn.0040518c
lea eax, [edi + 0xa0]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00577ca8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 2
call fcn.0040529a
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.004055c2
push 0xf
pop esi
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], esi
call fcn.004055a6
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], esi
call fcn.004055a6
mov esi, dword [ebp - 0xcc]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xd4], edi
push 0x579b03
lea edi, [ebp - 0x68]
call fcn.00576a57
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.MessagePersistDb::GetMessageA
call fcn.0040518c
mov ecx, dword [ebp - 0xc0]
call fcn.005266dc
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x30]
push eax
call fcn.004051ae
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004055c2
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004055c2
push ebx
push 1
mov ecx, edi
call fcn.004055c2
lea edi, [ebp - 0xbc]
call fcn.00581b18
mov eax, dword [ebp - 0xc4]
call fcn.005cb9ba
ret 8