joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f8d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x4e5d87
mov esi, dword [eax]
jmp 0x4e5d89
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x4e5da5
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4e5d94
mov eax, dword [ebx + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], ecx
mov edi, dword [eax + ecx]
cmp edi, dword [ebx + 4]
jne 0x4e5dc4
mov esi, dword [ebx + 4]
jmp 0x4e5dca
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x4e5de7
nop
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.00422bf0
test al, al
jne 0x4e5e2e
cmp esi, edi
jne 0x4e5dd0
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4e5e14
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x4e5e71
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x4e5e93
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.004e5cd0
push edi
call fcn.005b1685
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4e5e79
mov dword [ecx], edi
jmp 0x4e5e93
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4e5e93
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004e5ee0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ec760
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4ec933
cmp eax, 0x7c
je 0x4ec933
cmp eax, 0x29
jne 0x4ec798
cmp dword [esi + 0x10], 0
jne 0x4ec933
test dword [esi + 0x50], 0x10000000
je 0x4ec940
cmp eax, 0x2e
jne 0x4ec7f5
push 5
lea ecx, [esi + 0x24]
call fcn.00445b80
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4ec7e9
cmp word [eax], 0x5c
jne 0x4ec7e6
add eax, 2
cmp eax, ecx
je 0x4ec7e6
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4ec7d2
movzx edx, word [eax]
cmp edx, 0x28
je 0x4ec7e4
cmp edx, 0x29
je 0x4ec7e4
test cl, 0x10
jne 0x4ec7e6
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4ec7e4
cmp ecx, 0x7d
jne 0x4ec7e6
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00443920
jmp 0x4ec91e
cmp eax, 0x5c
jne 0x4ec85c
mov ecx, esi
call fcn.004457a0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4ec828
cmp word [esi + 0x48], 0x62
jne 0x4ec828
push 4
lea ecx, [esi + 0x24]
call fcn.00445b80
mov ecx, esi
call fcn.004457a0
jmp 0x4ec925
test eax, eax
je 0x4ec850
cmp word [esi + 0x48], 0x42
jne 0x4ec850
push 4
lea ecx, [esi + 0x24]
call fcn.00445b80
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004457a0
jmp 0x4ec925
mov ecx, esi
call fcn.004eca10
jmp 0x4ec91e
cmp eax, 0x5b
jne 0x4ec87e
mov ecx, esi
call fcn.004457a0
mov ecx, esi
call fcn.004ec960
cmp dword [esi + 0x4c], 0x5d
je 0x4ec917
jmp 0x4ec939
cmp eax, 0x28
jne 0x4ec8aa
mov ecx, esi
call fcn.004457a0
mov ecx, esi
call fcn.004ecbc0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4ec940
mov ecx, esi
call fcn.004457a0
test bl, bl
je 0x4ec925
jmp 0x4ec91e
cmp eax, 0x5e
jne 0x4ec8c2
push 2
lea ecx, [esi + 0x24]
call fcn.00445b80
mov ecx, esi
call fcn.004457a0
jmp 0x4ec925
cmp eax, 0x24
jne 0x4ec8da
push 3
lea ecx, [esi + 0x24]
call fcn.00445b80
mov ecx, esi
call fcn.004457a0
jmp 0x4ec925
cmp eax, 0x2a
je 0x4ec94e
cmp eax, 0x2b
je 0x4ec94e
cmp eax, 0x3f
je 0x4ec94e
cmp eax, 0x7b
je 0x4ec94e
cmp eax, 0x7d
jne 0x4ec8fc
test dword [esi + 0x50], 0x10000000
je 0x4ec947
cmp eax, 0x5d
jne 0x4ec90a
test dword [esi + 0x50], 0x10000000
je 0x4ec939
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00447d80
mov ecx, esi
call fcn.004457a0
mov ecx, esi
call fcn.00447c40
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4ec773
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 4
call fcn.0059dd53
push 5
call fcn.0059dd53
push 6
call fcn.0059dd53
push 0xa
call fcn.0059dd53
int3
Function at 0x4f1e80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6111a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [esi], vtable.EFRSalCommon::EfrRecord.0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x30]
mov dword [esi], vtable.EFRSalCommon::EfrRegRecord.0
lea edx, [edi + 0x30]
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4f1f0f
mov eax, dword [ecx]
jmp 0x4f1f11
mov eax, ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push edx
mov word [eax], bx
call fcn.00434d60
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 7
lea edx, [edi + 0x48]
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 8
jb 0x4f1f3d
mov eax, dword [ecx]
jmp 0x4f1f3f
mov eax, ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push edx
mov word [eax], bx
call fcn.00434d60
mov byte [ebp - 4], 2
lea ecx, [esi + 0x64]
mov eax, dword [edi + 0x60]
lea edx, [edi + 0x64]
mov dword [esi + 0x60], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 8
jb 0x4f1f71
mov eax, dword [ecx]
jmp 0x4f1f73
mov eax, ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push edx
mov word [eax], bx
call fcn.00434d60
xor edx, edx
mov byte [ebp - 4], 3
push 0xffffffffffffffff
lea ecx, [esi + 0x7c]
lea eax, [edi + 0x7c]
mov dword [ecx + 0x14], 7
push edx
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00434d60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb2c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607728
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6ba394]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4fb3ee
cmp byte [ebx + 0x3d], 0
je 0x4fb3ee
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4fb319
xor al, al
jmp 0x4fb3f0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0049b7e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4fb37f
sub eax, 1
je 0x4fb383
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x4fb3d6
xor bl, bl
jmp 0x4fb3d8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4fb3b8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005dd96b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4fb37b
cmp byte [ebx + 0x3d], 0
je 0x4fb3d6
test esi, esi
jne 0x4fb341
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00433d50
jmp 0x4fb33e
mov bl, 1
cmp ecx, 0x10
jb 0x4fb3ea
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433e40
mov al, bl
jmp 0x4fb3f0
mov al, 1
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.005b168a
mov esp, ebp
pop ebp
ret

Function at 0x4fbbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f89e6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005b1b6c
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0059e259
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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 0x4fcc70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dl, byte [ebx]
inc ebx
test dl, dl
je 0x4fcd6e
push esi
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
mov byte [ebp - 1], al
cmp al, 0x2d
jne 0x4fccf8
mov cl, byte [ebx]
inc ebx
mov byte [ebp - 1], cl
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x4fcd36
movsx eax, dl
movsx edx, cl
mov dword [ebp - 8], edx
cmp eax, edx
jg 0x4fcd25
mov edx, dword [edi]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
movzx edi, al
mov ecx, edi
and edi, 0x3f
shr ecx, 6
lea esi, [edx + ecx*8]
xor ecx, ecx
xor edx, edx
bts ecx, edi
cmp edi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp edi, 0x40
cmovae edx, ecx
or dword [esi], ecx
or dword [esi + 4], edx
inc eax
mov edx, dword [ebp - 0xc]
cmp eax, ebx
jle 0x4fccc0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
jmp 0x4fcd22
mov ecx, dword [edi]
movzx esi, dl
mov eax, esi
and esi, 0x3f
shr eax, 6
lea edx, [ecx + eax*8]
xor eax, eax
xor ecx, ecx
bts eax, esi
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
cmovae ecx, eax
or dword [edx], eax
or dword [edx + 4], ecx
mov cl, byte [ebp - 1]
mov dl, cl
test cl, cl
jne 0x4fcc90
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
movzx esi, dl
mov eax, esi
and esi, 0x3f
shr eax, 6
lea edx, [ecx + eax*8]
xor eax, eax
bts eax, esi
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
pop esi
cmovae ecx, eax
or dword [edx], eax
or dword [edx + 4], ecx
mov ecx, dword [edi]
mov eax, dword [ecx]
or dword [ecx + 4], 0x2000
mov dword [ecx], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51c610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615c78
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6ba394]
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 ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x5c], 0x400
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push eax
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00432830
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x5c]
push 0
push 0
push 0
push 0
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
push reloc.WS2_32.dll_closesocket
call ebx
test eax, eax
jne 0x51c785
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x51c6c4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x51c6d1
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00432830
push str.Volatile_Environment
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004658e0
push str.Environment
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004658e0
add esp, 0x18
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0051c7c0
test al, al
je 0x51c718
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.0051c7c0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x51c72d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x51c756
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x51c77f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00434bd0
inc esi
jmp 0x51c650
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x51c79a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00434bd0
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.005b168a
mov esp, ebp
pop ebp
ret
Function at 0x51d7e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615e20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x51d827
mov esi, dword [eax]
jmp 0x51d829
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x51d845
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x51d834
mov eax, dword [ebx + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], ecx
mov edi, dword [eax + ecx]
cmp edi, dword [ebx + 4]
jne 0x51d864
mov esi, dword [ebx + 4]
jmp 0x51d86a
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x51d887
nop
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.00422bf0
test al, al
jne 0x51d8ce
cmp esi, edi
jne 0x51d870
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x51d8b4
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x51d911
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x51d933
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.0051dd10
push edi
call fcn.005b1685
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x51d919
mov dword [ecx], edi
jmp 0x51d933
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x51d933
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0051d980
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x51da20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x51da3b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x51da57
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x51da46
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x51da8d
cmp dword [ecx], edi
jne 0x51da85
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x51da95
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x51da95
cmp dword [ecx], edi
jne 0x51da98
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0051dd10
push edi
call fcn.005b1685
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x521190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x6ba394]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp byte [eax + 0x149], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jne 0x521291
call fcn.004f2960
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x521291
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x3c]
call fcn.004f3e90
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0x1c], ecx
jg 0x521247
mov eax, dword [esp + 0x98]
jl 0x521229
cmp dword [esp + 0x10], eax
jae 0x521247
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x38]
call fcn.0042e420
add esi, 0x78
cmp esi, edi
jne 0x521203
or ebx, dword [esp + 0x24]
je 0x521291
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push dword [esp + 0x34]
push 3
push eax
call fcn.004f2f70
test al, al
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005b168a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0xb4]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b168a
mov esp, ebp
pop ebp
ret 8
Function at 0x528570
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616f74
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6ba394]
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 ebx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov esi, dword [ebp + 0x1c]
lea edi, [ebp + 8]
mov edx, dword [ebp + 8]
cmp esi, 8
mov eax, dword [ebp + 0x18]
cmovae ecx, edx
mov dword [ebp - 0x4c], fcn.005d6049
cmovae edi, edx
lea eax, [ecx + eax*2]
lea ecx, [ebp + 8]
cmovae ecx, edx
lea edx, [ebp - 0x4c]
push edx
push edi
push eax
push ecx
call fcn.0042c330
mov eax, dword fs:[0x2c]
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [0x6c8f94]
cmp eax, dword [ecx + 4]
jle 0x5286c9
push 0x6c8f94
call fcn.005b1800
add esp, 4
cmp dword [0x6c8f94], 0xffffffff
jne 0x5286c9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 4
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x66d45c
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.004346a0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 3
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x671808
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004346a0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 3
lea edi, [ebp - 0x48]
lea esi, [ebp - 0x10]
mov dword [0x6c8f84], 0
mov dword [0x6c8f88], 0
call fcn.00423230
mov dword [0x6c8f84], eax
push esi
push edi
mov byte [ebp - 4], 4
call fcn.0052df80
push fcn.00413860
push 2
push 0x1c
mov eax, edi
mov byte [ebp - 4], 1
push eax
call fcn.005b1bf1
push 0x624570
call fcn.005b1b57
push 0x6c8f94
call fcn.005b17c1
add esp, 8
lea eax, [ebp + 8]
push eax
call fcn.005308f0
mov edi, dword [0x6c8f84]
mov esi, eax
cmp esi, edi
je 0x5286ef
lea eax, [esi + 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041d710
test al, al
je 0x5286f1
mov esi, edi
cmp esi, edi
je 0x5286fe
mov eax, dword [esi + 0x28]
mov dword [ebx], eax
mov bl, 1
jmp 0x528700
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x528715
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00434bd0
mov al, bl
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.005b168a
mov esp, ebp
pop ebp
ret