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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
mov eax, dword [0x4c3790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], edx
test esi, esi
je 0x41afda
test ebx, ebx
je 0x41afda
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ae42
sub eax, edx
sar eax, 1
je 0x41afda
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ae60
sub eax, edx
sar eax, 1
je 0x41afda
push 0x1ff
lea eax, [ebp - 0x377]
push 0
push eax
mov byte [ebp - 0x378], cl
call fcn.00499a80
add esp, 0xc
push 0x31
lea ecx, [ebp - 0x6b]
push 0
push ecx
mov byte [ebp - 0x6c], 0
call fcn.00499a80
add esp, 0xc
push 0x31
lea edx, [ebp - 0x37]
push 0
push edx
mov byte [ebp - 0x38], 0
call fcn.00499a80
add esp, 0xc
push 0x103
lea eax, [ebp - 0x177]
push 0
push eax
mov byte [ebp - 0x178], 0
call fcn.00499a80
add esp, 0xc
lea edi, [ebp - 0x6c]
call fcn.0041ad60
mov ecx, edi
push ecx
call fcn.004aa240
add esp, 4
lea edi, [ebp - 0x38]
mov esi, ebx
call fcn.0041ad60
mov edx, edi
push edx
call fcn.004aa240
add esp, 4
mov eax, edi
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x378]
push str.SELECT_FilterString_FROM__s_WHERE_FilterType___s
push edx
call fcn.00496464
mov eax, dword [ebp - 0x37c]
mov eax, dword [eax]
push 0
push 0
push 0
lea ecx, [ebp - 0x378]
push 0xffffffffffffffff
push ecx
lea esi, [ebp - 0x37c]
call fcn.00470890
add esp, 0x24
test eax, eax
jne 0x41afda
mov esi, dword [ebp - 0x37c]
push esi
call fcn.00441ee0
add esp, 4
cmp eax, 0x64
jne 0x41afba
push 0
push esi
call fcn.00442810
lea edx, [ebp - 0x178]
add esp, 8
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41af70
mov eax, dword [ebp - 0x388]
test eax, eax
je 0x41af99
lea edx, [ebp - 0x178]
push edx
push 0x4b7e84
push eax
call fcn.00498a9c
add esp, 0xc
mov edx, dword [ebp - 0x384]
test edx, edx
je 0x41afba
lea eax, [ebp - 0x178]
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41afb0
push esi
call fcn.004412c0
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495b13
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00495b13
mov esp, ebp
pop ebp
ret 8
Function at 0x420e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push ebx
mov dword [eax], 0
cmp dword [0x4c4c30], 0
push esi
je 0x420ecd
mov eax, dword [0x4c74d0]
test eax, eax
je 0x420e9d
push eax
call dword [0x4c4c84]
add esp, 4
lea ebx, [ebp - 4]
mov eax, 0x14
call fcn.0041e760
mov eax, dword [0x4c74d0]
test eax, eax
je 0x420ebd
push eax
call dword [0x4c4c8c]
add esp, 4
mov esi, dword [ebp - 4]
test esi, esi
jne 0x420edc
lea eax, [esi + 7]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
call dword [0x4c4c54]
add esp, 4
mov esi, eax
jmp 0x420ec0
cmp dword [0x4c4c34], 0
je 0x420f0c
mov ecx, dword [ebp + 0xc]
lea edx, [esi + 4]
push edx
push 0
push esi
push 0x420e40
push 0
push 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
call fcn.00498e32
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x420f1c
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x420f35
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422e40
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x422e6d
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b34f8]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x422e50
pop esi
ret
Function at 0x422ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x422eee
mov esi, 0x80
cmp esi, dword [edi]
jne 0x422efa
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4c73c4]
test eax, eax
je 0x422f05
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.0041e830
mov esi, eax
mov eax, dword [0x4c73c8]
add esp, 8
mov dword [ebp - 4], esi
test eax, eax
je 0x422f27
call eax
test esi, esi
je 0x422ef2
mov edx, dword [edi + 0xc]
push edx
call fcn.0041eb60
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4c4c60]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 8], ebx
mov dword [edi], ebx
call fcn.00499a80
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x423009
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x422f9d
movzx edx, dl
movzx edx, byte [edx + 0x4b34f8]
lea ebx, [eax*8]
xor edx, ebx
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x422f7e
mov ebx, 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 0x422fe5
mov esi, dword [eax]
test esi, esi
je 0x422fbb
mov edx, dword [eax + 4]
jmp 0x422fbd
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x422fe5
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x422fdd
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x422ffe
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x422ffe
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x422ff4
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x422f73
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0xc]
test esi, esi
je 0x423069
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x42305c
lea ebx, [ebx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b34f8]
lea ebx, [eax*8]
xor ecx, ebx
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x423040
xor edx, edx
div dword [edi]
mov eax, dword [esi + edx*8 + 4]
mov edi, dword [esi + edx*8]
jmp 0x423071
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
test edi, edi
je 0x4230cb
lea ebx, [ebx]
mov edx, dword [eax + 0xc]
mov cl, byte [edx]
mov esi, dword [ebp + 8]
dec edi
test cl, cl
je 0x4230ad
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4b34f8]
cmp cl, byte [ebx + 0x4b34f8]
jne 0x4230ad
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x423090
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4b34f8]
movzx edx, byte [edx + 0x4b34f8]
sub edx, ecx
je 0x4230cd
mov eax, dword [eax]
test edi, edi
jne 0x423080
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x430aa0
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]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 0x4c]
jg 0x430bb6
lea esi, [edi + 0x78]
mov dword [esp + 0x14], esi
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x430b86
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x430b2a
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x430b2f
call fcn.004275b0
cmp dword [ebx + 0x78], 0
jne 0x430b86
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x430b86
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x430b81
test al, al
je 0x430b81
cmp al, 2
jb 0x430b6f
mov eax, dword [0x4c73c4]
test eax, eax
je 0x430b5b
call eax
mov eax, ebx
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x430b81
call eax
jmp 0x430b81
cmp byte [ebx + 4], 0
jne 0x430b81
push 0
push 0
call fcn.00429b80
add esp, 8
call fcn.00429a10
mov eax, dword [esp + 0x10]
mov dword [esi], 0
movsx ecx, word [edi + 0x4c]
inc eax
add esi, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
cmp eax, ecx
jle 0x430ad0
or edx, 0xffffffff
mov word [edi + 0x4c], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov word [edi + 0x4c], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x43407f
cmp byte [ebx + 9], al
je 0x43402d
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], al
jne 0x43402d
mov edi, ebx
call fcn.00430680
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
xor edi, edi
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0x434069
lea ecx, [ecx]
cmp dword [ebp + 0x10], edi
je 0x434086
test byte [esi + 0x48], 1
jne 0x434086
cmp byte [esi + 0x49], 1
jne 0x43409f
call fcn.00430bd0
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x43409f
push edi
push eax
push ebx
call fcn.00434000
add esp, 0xc
cmp byte [ebx + 9], 0
je 0x43407b
dec dword [ebx + 0xc]
jne 0x43407b
mov esi, ebx
call fcn.00430660
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x38]
push ecx
call fcn.0041eb60
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x38], edi
mov byte [esi + 0x49], 4
mov dword [esi + 0x44], edx
xor eax, eax
mov dword [esp + 0x14], edi
cmp ax, word [esi + 0x4c]
jg 0x434194
lea edi, [esi + 0x78]
mov dword [esp + 0x18], edi
mov eax, dword [edi]
test eax, eax
je 0x434170
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x434111
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a9340
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x434116
call fcn.004275b0
cmp dword [ebx + 0x78], 0
jne 0x43416d
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x43416d
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x434168
test al, al
je 0x434168
cmp al, 2
jb 0x434156
mov eax, dword [0x4c73c4]
test eax, eax
je 0x434142
call eax
mov eax, ebx
call fcn.0042d470
mov eax, dword [0x4c73c8]
test eax, eax
je 0x434168
call eax
jmp 0x434168
cmp byte [ebx + 4], 0
jne 0x434168
push 0
push 0
call fcn.00429b80
add esp, 8
call fcn.00429a10
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov dword [edi], 0
movsx ecx, word [esi + 0x4c]
inc eax
add edi, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
cmp eax, ecx
jle 0x4340b6
xor edi, edi
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
cmp esi, edi
jne 0x434040
jmp 0x434069
Function at 0x434ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
mov al, byte [esi + 0x49]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
cmp al, 3
jb 0x434d19
cmp al, 4
jne 0x434d07
mov eax, dword [esi + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x38]
push eax
call fcn.0041eb60
add esp, 4
mov dword [esi + 0x38], ebx
mov byte [esi + 0x49], bl
movzx eax, word [esi + 0x4c]
test ax, ax
js 0x434dc1
je 0x434e09
lea esp, [esp]
movzx eax, word [esi + 0x4c]
movsx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x78]
dec eax
mov word [esi + 0x4c], ax
test ecx, ecx
je 0x434db4
mov eax, dword [ecx + 0x44]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x434d94
dec dword [edi + 0x78]
mov edx, dword [edi + 0x88]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov ebx, dword [ecx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a9340
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [edi + 0x3c]
push eax
call edx
mov ebx, dword [esp + 0x1c]
add esp, 0x10
jmp 0x434d99
call fcn.004275b0
cmp dword [edi + 0x78], 0
jne 0x434db4
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x434db4
push edi
call fcn.00429df0
add esp, 4
cmp word [esi + 0x4c], 0
jne 0x434d30
jmp 0x434e09
mov ebx, dword [esi + 0x3c]
test ebx, ebx
jne 0x434dd4
mov byte [esi + 0x49], bl
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [esi + 0x48]
mov eax, dword [esi]
add ecx, ecx
not ecx
and ecx, 2
push ecx
mov ecx, dword [eax + 4]
lea edx, [esi + 0x78]
push edx
push ecx
call fcn.00431ee0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x434e03
mov byte [esi + 0x49], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [esi + 0x4c], dx
mov eax, dword [esi + 0x78]
cmp byte [eax], 0
je 0x434e97
movzx edx, byte [eax + 2]
xor ecx, ecx
cmp dword [esi + 0x10], ecx
sete cl
cmp ecx, edx
jne 0x434e97
and byte [esi + 0x48], 0xf1
xor ecx, ecx
xor edx, edx
mov word [esi + 0x4e], cx
mov word [esi + 0x2c], dx
cmp word [eax + 0x12], cx
jbe 0x434e48
mov byte [esi + 0x49], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 5], cl
jne 0x434e8b
mov ebx, 1
cmp dword [eax + 0x48], ebx
je 0x434e68
mov eax, 0xdd85
call fcn.00493030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 6]
mov edx, dword [eax + 0x38]
lea ecx, [ecx + edx + 8]
call fcn.004228b0
mov byte [esi + 0x49], bl
mov ebx, eax
call fcn.00434c40
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x49], cl
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4bcee4
push 0xdd7a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00420c70
add esp, 0x10
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp dword [ebx + 0x14], eax
jle 0x4593f3
push edi
jmp 0x459360
cmp esi, 2
jge 0x459368
xor esi, 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4593b8
mov edx, dword [ebx + 0x10]
mov eax, esi
add eax, eax
mov edi, dword [edx + eax*8]
mov dl, byte [ecx]
test dl, dl
je 0x45939d
nop
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4b34f8]
cmp dl, byte [eax + 0x4b34f8]
jne 0x45939d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x459380
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x4b34f8]
movzx ecx, byte [ecx + 0x4b34f8]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x4593e2
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 4]
push edx
push eax
add esi, esi
mov eax, dword [ecx + esi*8 + 0xc]
add eax, 8
call fcn.00423020
add esp, 8
test eax, eax
je 0x4593f8
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4593f2
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x14]
jl 0x459360
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4593e2

Function at 0x459500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ecx + 0x14]
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x4595bd
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], ecx
push edi
mov ecx, eax
cmp eax, 2
jge 0x459530
xor ecx, 1
shl ecx, 4
add ecx, dword [ebp - 0xc]
mov edi, dword [ecx + 0xc]
test ebx, ebx
je 0x459588
mov esi, dword [ecx]
mov cl, byte [ebx]
mov edx, ebx
test cl, cl
je 0x459570
jmp 0x459550
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4b34f8]
cmp cl, byte [eax + 0x4b34f8]
jne 0x45956d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x459550
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4b34f8]
movzx edx, byte [edx + 0x4b34f8]
sub edx, ecx
jne 0x4595ac
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ecx
lea eax, [edi + 0x18]
call fcn.00423020
add esp, 8
test eax, eax
je 0x4595c2
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4595bc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x10]
jl 0x459526
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x4595a9
Function at 0x45c530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4c3790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x34], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov esi, dword [edx + eax*8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 1
jmp 0x45c56b
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00420b90
mov edi, dword [edi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x14], ebx
jle 0x45c656
mov edx, ebx
cmp ebx, 2
jge 0x45c59f
xor edx, 1
test esi, esi
je 0x45c5fb
mov eax, esi
mov esi, dword [edi + 0x10]
mov ecx, edx
add ecx, ecx
mov esi, dword [esi + ecx*8]
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx]
test cl, cl
je 0x45c5e0
jmp 0x45c5c0
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4b34f8]
cmp cl, byte [ebx + 0x4b34f8]
jne 0x45c5dd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x45c5c0
mov ebx, dword [ebp - 0x2c]
movzx ecx, byte [esi]
movzx eax, byte [eax]
movzx ecx, byte [ecx + 0x4b34f8]
movzx eax, byte [eax + 0x4b34f8]
sub eax, ecx
mov esi, dword [ebp - 0x28]
jne 0x45c625
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
push eax
add edx, edx
mov eax, dword [ecx + edx*8 + 0xc]
add eax, 8
call fcn.00423020
add esp, 8
test eax, eax
je 0x45c677
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x45c638
inc ebx
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [edi + 0x14]
jl 0x45c595
cmp dword [ebp - 0x20], 0
je 0x45c656
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.004592a0
add esp, 0x18
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 4
jle 0x45c568
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b13
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0
jmp 0x45c625
Function at 0x495b13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3790]
jne 0x495b1d
repz ret
jmp fcn.0049d7d9

Function at 0x4a82ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004a0c93
and dword [ebp - 0x14], 0
cmp dword [0x4c7000], 0
mov dword [ebp - 0x18], eax
jne 0x4a836d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a8415
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4a8415
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c7000], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c7004], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c7008], eax
call edi
push eax
call esi
mov dword [0x4c7010], eax
test eax, eax
je 0x4a836d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c700c], eax
mov eax, dword [0x4c700c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4a83c6
cmp dword [0x4c7010], ecx
je 0x4a83c6
push eax
call esi
push dword [0x4c7010]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a83c6
test ebx, ebx
je 0x4a83c6
call edi
test eax, eax
je 0x4a83bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a83bd
test byte [ebp - 8], 1
jne 0x4a83c6
or dword [ebp + 0x10], 0x200000
jmp 0x4a83f9
mov eax, dword [0x4c7004]
cmp eax, dword [ebp - 0x18]
je 0x4a83f9
push eax
call esi
test eax, eax
je 0x4a83f9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a83f9
mov eax, dword [0x4c7008]
cmp eax, dword [ebp - 0x18]
je 0x4a83f9
push eax
call esi
test eax, eax
je 0x4a83f9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c7000]
call esi
test eax, eax
je 0x4a8415
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a8417
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b13
leave
ret