joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423705
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040d54e
and dword [ebp - 4], 0
cmp dword [0x438c7c], 0
mov ebx, eax
jne 0x4237b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423867
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x434970
push edi
call esi
test eax, eax
je 0x423867
push eax
call fcn.0040d4dc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438c7c], eax
call esi
push eax
call fcn.0040d4dc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438c80], eax
call esi
push eax
call fcn.0040d4dc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438c84], eax
call esi
push eax
call fcn.0040d4dc
pop ecx
mov dword [0x438c8c], eax
test eax, eax
je 0x4237b6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d4dc
pop ecx
mov dword [0x438c88], eax
mov eax, dword [0x438c88]
cmp eax, ebx
je 0x42380e
cmp dword [0x438c8c], ebx
je 0x42380e
push eax
call fcn.0040d557
push dword [0x438c8c]
mov esi, eax
call fcn.0040d557
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42380e
test edi, edi
je 0x42380e
call esi
test eax, eax
je 0x423805
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423805
test byte [ebp - 0xc], 1
jne 0x42380e
or dword [ebp + 0x10], 0x200000
jmp 0x423847
mov eax, dword [0x438c80]
cmp eax, ebx
je 0x423847
push eax
call fcn.0040d557
pop ecx
test eax, eax
je 0x423847
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423847
mov eax, dword [0x438c84]
cmp eax, ebx
je 0x423847
push eax
call fcn.0040d557
pop ecx
test eax, eax
je 0x423847
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438c7c]
call fcn.0040d557
pop ecx
test eax, eax
je 0x423867
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423869
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404294
Capabilities:
Packed with generic packer

Disassembly:
dec cl
je 0x40429f
pushal
call fcn.004040bc
popal
call fcn.0040289c
je 0x40436d
push ebx
push edi
mov ebx, eax
mov edi, dword [ebx + 0x25]
mov eax, dword [edx - 4]
inc eax
push eax
push edx
push dword [ebx + 0x21]
add eax, dword [ebx + 0x25]
call 0x400848
mov dword [ebx + 0x21], eax
mov ecx, edi
xchg edx, eax
pop eax
jecxz 0x4042f4
push eax
call 0x40094c
pop edx
push edx
push esi
mov esi, dword [ebx + 0x18]
mov esi, dword [esi + 0x18]
mov ecx, dword [ebx + 0x1c]
lodsd eax, dword [esi]
sub eax, edx
cmp eax, dword [ebx + 0x25]
jae 0x4042eb
add eax, dword [ebx + 0x21]
mov dword [esi - 4], eax
loop 0x4042dd
pop esi
pop eax
call 0x400868
pop eax
mov edx, edi
add edx, dword [ebx + 0x21]
pop ecx
push ecx
add dword [ebx + 0x25], ecx
call 0x40094c
add edi, dword [ebx + 0x21]
mov ecx, dword [ebx + 0x18]
inc ecx
loop 0x404315
call fcn.0040296c
mov dword [ebx + 0x18], eax
pop ecx
mov edx, dword [ebx + 0x1c]
push edi
push ecx
mov al, 0xd
cmp byte [edi], 0
je 0x40432f
inc edx
repne scasb al, byte es:[edi]
jne 0x40432f
cmp byte [edi], 0xa
jne 0x40431d
inc edi
loop 0x40431d
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x18]
push edx
push eax
cmp edx, dword [eax + 0x20]
jle 0x404341
call fcn.004029b4
pop eax
pop ecx
xchg dword [eax + 0x1c], ecx
mov edx, dword [eax + 0x18]
lea edx, [edx + ecx*4]
pop ecx
pop edi
mov eax, 0xd
cmp byte [edi], ah
je 0x40436b
mov dword [edx], edi
add edx, 4
repne scasb al, byte es:[edi]
jne 0x40436b
mov byte [edi - 1], ah
cmp byte [edi], 0xa
jne 0x404353
inc edi
loop 0x404353
pop edi
pop ebx
ret

Function at 0x405480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4054a1
mov eax, 0xff
call 0x400a80
xor byte [esi], al
inc esi
dec ebx
jne 0x405491
pop esi
pop ebx
ret
Function at 0x4166f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov edi, 0x53628f
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 0x4a6bb4
mov eax, ecx
mov esi, edi
mov edi, ebx
mov dword [esp + 0x14], 0x53625c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x18], 0x536239
and ecx, 3
mov dword [esp + 0x1c], 0x5361f0
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x20], 0x5361c3
mov dword [esp + 0x24], 0x536193
mov dword [esp + 0x28], str.6___
mov dword [esp + 0x2c], 0x53615d
mov dword [esp + 0x30], 0x53610f
mov dword [esp + 0x34], 0x5360d5
mov dword [esp + 0x38], 0x536062
mov dword [esp + 0x3c], 0x536007
mov dword [esp + 0x40], 0x535fcf
mov dword [esp + 0x44], 0x535f8d
mov dword [esp + 0x48], str.171_
mov dword [esp + 0x4c], 0x535f64
mov dword [esp + 0x50], 0x535f36
mov dword [esp + 0x54], str.177_Wear_Range_Delta
mov dword [esp + 0x58], 0x535f11
mov dword [esp + 0x5c], str.182_
mov dword [esp + 0x60], 0x535ec8
mov dword [esp + 0x64], 0x535e5d
mov dword [esp + 0x68], str.188_
mov dword [esp + 0x6c], 0x535e37
mov dword [esp + 0x70], 0x535deb
mov dword [esp + 0x74], 0x535dc4
mov dword [esp + 0x78], 0x535d61
mov dword [esp + 0x7c], str.194_
mov dword [esp + 0x80], 0x535cd8
mov dword [esp + 0x84], 0x535cb1
mov dword [esp + 0x88], 0x535c77
mov dword [esp + 0x8c], 0x535c1c
mov dword [esp + 0x90], 0x535bce
mov dword [esp + 0x94], 0x535b85
mov dword [esp + 0x98], 0x535afa
mov dword [esp + 0x9c], 0x535abd
mov dword [esp + 0xa0], str.203_
mov dword [esp + 0xa4], 0x535a7b
mov dword [esp + 0xa8], 0x535a53
mov dword [esp + 0xac], 0x535a14
mov dword [esp + 0xb0], 0x5359d4
mov dword [esp + 0xb4], 0x5359a5
mov dword [esp + 0xb8], 0x535966
mov dword [esp + 0xbc], 0x535919
mov dword [esp + 0xc0], 0x5358cd
mov dword [esp + 0xc4], 0x53582e
mov dword [esp + 0xc8], 0x5357b6
mov dword [esp + 0xcc], 0x53575d
mov dword [esp + 0xd0], 0x5356f4
mov dword [esp + 0xd4], 0x535678
mov dword [esp + 0xd8], 0x53563d
mov dword [esp + 0xdc], 0x5355cf
mov dword [esp + 0xe0], 0x53556b
mov dword [esp + 0xe4], 0x53553c
mov dword [esp + 0xe8], 0x53550f
mov dword [esp + 0xec], str.233_
mov dword [esp + 0xf0], 0x5354ec
mov dword [esp + 0xf4], 0x5354b6
mov dword [esp + 0xf8], 0x535480
mov dword [esp + 0xfc], 0x535449
mov dword [esp + 0x100], 0x4a6364
xor edi, edi
mov ebp, dword [esp + 0x108]
mov esi, dword [esp + edi*4 + 0x10]
push esi
call fcn.0044a3ed
mov edx, eax
add esp, 4
cmp edx, ebp
jne 0x4169af
lea edi, [esi + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or edi, 0xffffffff
jmp 0x4169b0
inc edi
cmp edx, 0xffffffff
je 0x4169ba
cmp edi, 0xffffffff
jne 0x416977
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x43be40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x304
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x134]
push 0
push 0
push 0x1009
push eax
call esi
mov ecx, dword [ebx + 0x170]
push 0
push 0
push 0x147
push ecx
call esi
mov edx, eax
push 0x8002
shl edx, 6
add edx, eax
lea eax, [ebx + edx*4 + 0x238]
push eax
call fcn.0045679b
lea ecx, [ebx + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebx + 0x230], eax
call fcn.004541d9
add esp, 0x14
cmp eax, 0x94
je 0x43bece
mov edx, dword [ebx + 0x230]
push edx
call fcn.00452965
add esp, 4
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebx + 0x22c0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
jle 0x43c02c
mov eax, 0xfffffe10
push ebp
sub eax, ebx
lea ebp, [ebx + 0x1f0]
mov dword [esp + 0x10], eax
cmp byte [ebp], 0
je 0x43c019
lea esi, [ebx + 0x1a0]
push str.INTEL
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
push 0x4a7574
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
cmp byte [ebp], 0xe1
jne 0x43bf43
lea edx, [esp + 0x14]
mov edi, str.Host_Writes
jmp 0x43bf82
push 0x4a8408
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf66
cmp byte [ebp], 0xe7
jne 0x43bf66
lea edx, [esp + 0x14]
mov edi, str.SSD_Life_Left
jmp 0x43bf82
xor edx, edx
lea ecx, [esp + 0x214]
mov dl, byte [ebp]
push ecx
push edx
call fcn.004166f0
add esp, 8
lea edx, [esp + 0x14]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov al, byte [ebp]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea esi, [ecx + ebp]
lea ecx, [esp + 0x14]
push ecx
mov dl, byte [esi + ebx + 0x210]
mov dword [ebx + eax*4 + 0x22c0], edx
xor edx, edx
mov dl, byte [ebp]
lea eax, [esp + 0x118]
push edx
push str.__02X___s
push eax
call fcn.00449ffa
add esp, 0x10
lea ecx, [esp + 0x114]
lea edi, [ebx + 0x118]
push 0
push 0
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.0046a95d
xor edx, edx
mov ecx, edi
mov dl, byte [ebp]
push edx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0046a9df
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x1ec]
inc ebp
lea ecx, [eax + ebp]
cmp ecx, edx
jl 0x43befe
pop ebp
mov edx, dword [ebx + 0x230]
push edx
call fcn.00469abf
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, 0x94
add esp, 4
mul ecx
shr edx, 7
mov dword [ebx + 0x22b8], edx
pop edi
lea eax, [edx + edx*4]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0x22bc]
shl esi, 4
test eax, eax
je 0x43c070
push eax
call fcn.00470912
add esp, 4
mov eax, dword [ebx + 0x22b8]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.004708e9
add esp, 4
mov dword [ebx + 0x22bc], eax
test eax, eax
je 0x43c0a3
push esi
push eax
mov eax, dword [ebx + 0x230]
push eax
call fcn.004541d9
add esp, 0xc
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
Function at 0x46f8dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f91f
call fcn.0048050d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f91f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f916
xor eax, eax
jmp 0x46f927
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f92d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4818a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x481951
mov ecx, 0x4ad6c8
call fcn.00481482
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x48192f
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x48190d
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48190d
push ebx
push edi
push eax
call fcn.0047292f
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.004717b5
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc

Function at 0x401005
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403071
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x401021
ret
mov edi, edi
mov esi, 0x402058
mov edi, esi
push 1
push 0x40308f
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x340
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401045
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x40106b
xor eax, eax
mov dword [0x4030a2], eax
add esp, 4
ret
Function at 0x407790
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x4077bd
push esi
push edi
jmp 0x4077a0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x5157a0]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x4077a0
pop edi
pop esi
ret

Function at 0x407820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x407842
mov esi, 0x80
cmp esi, dword [edi]
jne 0x40784f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x53b510]
test eax, eax
je 0x40785a
call eax
lea ecx, [esi*8]
push ecx
call fcn.00403ed0
mov esi, eax
mov eax, dword [0x53b514]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x40787a
call eax
test esi, esi
je 0x407846
mov edx, dword [edi + 0xc]
push edx
call fcn.004041b0
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x53401c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.004e7d90
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x40795f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x4078f3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x4078d2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x40793b
mov esi, dword [eax]
test esi, esi
je 0x407911
mov edx, dword [eax + 4]
jmp 0x407913
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x40793b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x407933
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x407954
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x407954
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x40794a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x4078c6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x417f22
call fcn.004144f0
mov eax, dword [edi + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x417eff
mov edi, edi
mov ecx, dword [ebx + 0x50]
push ecx
call fcn.004041b0
mov edx, dword [ebp + 0xc]
xor eax, eax
add esp, 4
mov dword [ebx + 0x50], 0
mov byte [ebx + 0x5b], 3
mov dword [ebx + 0x54], edx
mov dword [esp + 0xc], 0
cmp ax, word [ebx + 0x5e]
jg 0x417ef0
lea edi, [ebx + 0x88]
mov dword [esp + 0x10], edi
jmp 0x417e50
mov eax, dword [edi]
test eax, eax
je 0x417ecb
mov eax, dword [eax + 0x44]
test eax, eax
je 0x417ecb
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x417eab
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1060
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x417eb0
call fcn.0040b740
cmp dword [esi + 0x78], 0
jne 0x417ecb
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x417ecb
push esi
call fcn.0040df40
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [edi], 0
movsx ecx, word [ebx + 0x5e]
inc eax
add edi, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
cmp eax, ecx
jle 0x417e50
mov edi, dword [ebp + 8]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x417e10
cmp byte [edi + 9], 0
je 0x417f22
dec dword [edi + 0xc]
jne 0x417f22
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x417f1e
push eax
call dword [0x534048]
add esp, 4
mov byte [edi + 0xa], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x439b2e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x439b44
cmp byte [edi], al
je 0x439b37
inc ecx
cmp byte [ecx], al
jne 0x439b32
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x439c45
jmp 0x439b63
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x439b6b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x439bcb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x439bad
jmp 0x439b90
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x5157a0]
cmp dl, byte [eax + 0x5157a0]
jne 0x439bad
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x439b90
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x5157a0]
movzx ecx, byte [ecx + 0x5157a0]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x439c35
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x439c18
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x439c0e
jmp 0x439bf0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x439bf0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x439c1a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00407970
add esp, 8
test eax, eax
je 0x439c4c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x439c45
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x439b60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x439c35
Function at 0x439d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x439d6d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x439d85
cmp byte [eax], 0
je 0x439d78
inc ecx
cmp byte [ecx], 0
jne 0x439d72
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x439e67
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x439daa
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x439dfa
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x439de2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5157a0]
cmp cl, byte [eax + 0x5157a0]
jne 0x439ddf
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x439dc2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x5157a0]
movzx edx, byte [edx + 0x5157a0]
sub edx, ecx
jne 0x439e56
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x439e34
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x439e2e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x439e10
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x439e36
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00407970
add esp, 8
test eax, eax
je 0x439e6d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x439e66
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x439da0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x439e53
Function at 0x43bf90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x43bfd3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00405b10
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x43c005
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x43c000
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x43c121
jmp 0x43c02a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x43c034
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43c08b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x43c070
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5157a0]
cmp cl, byte [ebx + 0x5157a0]
jne 0x43c06d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x43c050
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x5157a0]
movzx eax, byte [eax + 0x5157a0]
sub eax, ecx
jne 0x43c0ed
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x43c0cd
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x43c0c6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43c0a5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x43c0cf
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00407970
add esp, 8
test eax, eax
je 0x43c142
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x43c100
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x43c027
cmp dword [ebp - 0x24], 0
je 0x43c121
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.00439a70
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x43bfd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x43c0ed