joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4df383
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x529d74
push 0x529d6c
push str.FlsGetValue
push 2
call fcn.004df288
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4df3b4
mov ecx, esi
call fcn.004db204
call esi
jmp 0x4df3ba
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x4df3bd
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x529d7c
push 0x529d74
push str.FlsSetValue
push 3
call fcn.004df288
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x4df3f1
mov ecx, esi
call fcn.004db204
call esi
jmp 0x4df3f7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x4f618b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f5e4e

Function at 0x4f6196
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f5fcf

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

Disassembly:
sub esp, 0x24
mov eax, dword [0x57d074]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
movsx ebx, ax
shr eax, 0x10
movsx ebp, ax
jmp 0x4fecff
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push ebp
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4fecfc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4fecfc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4fed05
mov edi, dword [edi + 8]
test edi, edi
jne 0x4fecbc
jmp 0x4fed2b
xor eax, eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], 0x205
lea ecx, [esp + 0x10]
push ecx
sete al
mov dword [esp + 0x18], ebp
inc eax
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004da696
add esp, 0x24
ret 8
Function at 0x4fee9f
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x57d074]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
movsx ebp, ax
mov ebx, ecx
shr eax, 0x10
and dword [edx], 0
push esi
cwde
push edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4fef14
mov esi, dword [edi]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4fef11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4fef11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4fef3e
mov edi, dword [edi + 8]
test edi, edi
jne 0x4feece
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4fef27
mov eax, dword [ecx]
call dword [eax + 0x54]
and dword [ebx + 0x34], edi
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004da696
add esp, 0x3c
ret 0x10
mov ecx, dword [ebx + 0x34]
cmp esi, ecx
je 0x4fef51
test ecx, ecx
je 0x4fef4e
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [ebx + 0x34], esi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
mov dword [esp + 0x18], ebp
and ax, cx
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
xor cx, cx
cmp cx, ax
mov ecx, dword [ebx + 0x34]
push edx
sbb eax, eax
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x50]
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4fef27

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0xf5c3b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf5c3be
pushal
call 0xf5c3c4
pop ebp
sub ebp, 0x10
sub ebp, 0xb5c3b4
jmp 0xf5c3da
mov eax, 0xb5c3b4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5aa
mov edx, 0xdb06f5b3
xor byte [eax], dl
inc eax
dec ecx
jne 0xf5c3f1
jmp 0xf5c404
cmp byte [esi + 0x38], bh
cmp cl, byte [edi + 0x32b3b3b3]
jb 0xf5c45a
mov bl, 0xb3
mov bl, 0xb0
jle 0xf5c420
mov ch, 0xb3
mov bl, 0xb3
or dword [ebx + 0x44b3b3b3], ebx
push ecx
mov al, 0x7b
cmp byte [edx], dh
mov edi, 0xb0b3b3b3
jbe 0xf5c469
xlatb
xchg edi, eax
dec edi
cmp dh, byte [edi + 0x77dbe397]
cmp al, 0x92
mov bl, 0xdb
pop ebp
and byte [edi], 0xb3
mov dl, 0x9f
xchg edi, eax
fcmovnb st(0), st(7)
xchg dword [eax - 0x4c49a4b0], ebp
mov bl, 0xb3
pop edx
wait
mov bl, 0xb3
mov bl, 0xe6
out 0xee, eax
cmp byte [esi], dh
mov ebx, 0x38b3b3b3
mov edi, 0x38b3b3b3
mov bl, 0xb3
mov bl, 0x38
mov dword ds:[0x72b3b3b3], eax
pop edx
mov cl, 0x82
mov cl, 0x30
jno 0xf5c422
cli
mov esp, 0x4c4c4736
dec esp
out dx, al
jno 0xf5c434
mov bl, 0x38
aas
xchg edi, eax
mov bh, 0xb3
mov bl, 0xb3
invalid
Function at 0x402e70
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x402e9d
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x402e80
pop esi
ret

Function at 0x40a180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test eax, eax
jle 0x40a263
cmp esi, 2
jge 0x40a1ac
xor esi, 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40a1d2
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov ecx, dword [edx + ecx*8]
push ecx
push eax
call fcn.00401e20
add esp, 8
test eax, eax
jne 0x40a253
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x40a21f
mov cl, byte [ebx]
xor eax, eax
mov edx, ebx
test cl, cl
je 0x40a20f
nop
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea ebx, [eax*8]
xor ecx, ebx
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x40a1f0
mov ebx, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
mov esi, dword [edi + edx*8]
lea eax, [edi + edx*8]
mov edi, dword [eax + 4]
jmp 0x40a225
mov edi, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x40a248
lea esp, [esp]
mov edx, dword [edi + 0xc]
push ebx
push edx
dec esi
call fcn.00401e20
add esp, 8
test eax, eax
je 0x40a24c
mov edi, dword [edi]
test esi, esi
jne 0x40a230
xor edi, edi
jmp 0x40a253
mov edi, dword [edi + 8]
test edi, edi
jne 0x40a263
mov esi, dword [ebp - 4]
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 8]
jl 0x40a1a4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [eax + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor ecx, ecx
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
test edx, edx
jle 0x40a34c
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
push edi
mov eax, ecx
cmp ecx, 2
jge 0x40a2a1
xor eax, 1
mov ecx, dword [ebp + 0xc]
shl eax, 4
add eax, dword [ebp - 8]
mov edi, dword [eax + 0xc]
test ecx, ecx
je 0x40a2c1
mov edx, dword [eax]
push edx
push ecx
call fcn.00401e20
add esp, 8
test eax, eax
jne 0x40a333
mov esi, dword [edi + 0x24]
test esi, esi
je 0x40a301
mov cl, byte [ebx]
xor eax, eax
mov edx, ebx
test cl, cl
je 0x40a2f1
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea ebx, [eax*8]
xor ecx, ebx
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x40a2d2
mov ebx, dword [ebp + 8]
xor edx, edx
div dword [edi + 0x18]
mov edi, dword [esi + edx*8]
lea eax, [esi + edx*8]
mov esi, dword [eax + 4]
jmp 0x40a307
mov esi, dword [edi + 0x20]
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x40a328
jmp 0x40a310
mov edx, dword [esi + 0xc]
push ebx
push edx
dec edi
call fcn.00401e20
add esp, 8
test eax, eax
je 0x40a32c
mov esi, dword [esi]
test edi, edi
jne 0x40a310
xor esi, esi
jmp 0x40a333
mov esi, dword [esi + 8]
test esi, esi
jne 0x40a343
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0xc]
jl 0x40a297
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f5a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [0x4fbbe0], 0
push esi
je 0x40f5fb
mov eax, dword [0x504118]
test eax, eax
je 0x40f5ca
push eax
call dword [0x4fbc34]
add esp, 4
push ebx
lea ebx, [ebp - 4]
mov eax, 0x14
call fcn.0040ea80
mov eax, dword [0x504118]
pop ebx
test eax, eax
je 0x40f5ec
push eax
call dword [0x4fbc3c]
add esp, 4
mov esi, dword [ebp - 4]
test esi, esi
jne 0x40f60a
lea eax, [esi + 7]
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call dword [0x4fbc04]
add esp, 4
mov esi, eax
jmp 0x40f5ef
cmp dword [0x4fbbe4], 0
je 0x40f63a
mov ecx, dword [ebp + 0xc]
lea edx, [esi + 4]
push edx
push 0
push esi
push 0x401bf0
push 0
push 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
call fcn.004b8914
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x40f64a
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 0x40f663
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
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40fa30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x40fa4d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x40fa58
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x50400c]
test eax, eax
je 0x40fa63
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.0040eb50
mov esi, eax
mov eax, dword [0x504010]
add esp, 8
mov dword [ebp - 4], esi
test eax, eax
je 0x40fa85
call eax
test esi, esi
je 0x40fa51
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.00401a80
push esi
mov dword [edi + 0xc], esi
call dword [0x4fbc10]
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 8], ebx
mov dword [edi], ebx
call fcn.004b4310
mov ecx, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test ecx, ecx
je 0x40fb6b
lea esp, [esp]
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x40faff
jmp 0x40fae0
movzx edx, dl
movzx edx, byte [edx + 0x4e6d88]
lea ebx, [eax*8]
xor edx, ebx
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x40fae0
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 0x40fb47
mov esi, dword [eax]
test esi, esi
je 0x40fb1d
mov edx, dword [eax + 4]
jmp 0x40fb1f
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x40fb47
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x40fb3f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x40fb60
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x40fb60
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x40fb56
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x40fad0
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [edx]
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
test ebx, ebx
je 0x420abf
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x1b8]
test esi, esi
je 0x420a82
mov cl, byte [ebx]
xor eax, eax
mov edx, ebx
test cl, cl
je 0x420a6f
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea edi, [eax*8]
xor ecx, edi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x420a50
mov edi, dword [ebp + 8]
xor edx, edx
div dword [edi + 0x1ac]
mov edi, dword [esi + edx*8]
lea eax, [esi + edx*8]
mov esi, dword [eax + 4]
jmp 0x420a8e
mov esi, dword [edi + 0x1b4]
mov edi, dword [edi + 0x1b0]
test edi, edi
je 0x420aaa
mov edx, dword [esi + 0xc]
push ebx
push edx
dec edi
call fcn.00401e20
add esp, 8
test eax, eax
je 0x420ab4
mov esi, dword [esi]
test edi, edi
jne 0x420a92
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
xor eax, eax
jmp 0x420ac5
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
jmp 0x420ac5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x420ad7
movzx ecx, byte [esi + 0x4e7718]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x420af6
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x420a31
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4fa7e0]
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 - 0x30], eax
mov eax, 1
push edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
jmp 0x428cb3
mov esi, dword [ebp - 0x28]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.0040f550
mov ebx, dword [esi]
mov eax, dword [ebx + 0x14]
xor edi, edi
add esp, 0x10
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], eax
cmp eax, edi
jle 0x428dcd
mov esi, edi
cmp edi, 2
jge 0x428cec
xor esi, 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x428d0f
mov ecx, dword [ebx + 0x10]
mov edx, esi
add edx, edx
mov edx, dword [ecx + edx*8]
push edx
push eax
call fcn.00401e20
add esp, 8
test eax, eax
jne 0x428d9a
mov eax, dword [ebx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x428d5c
mov cl, byte [ebp - 0x1c]
xor eax, eax
lea edi, [ebp - 0x1c]
test cl, cl
je 0x428d4c
jmp 0x428d30
movzx ecx, cl
movzx edx, byte [ecx + 0x4e6d88]
lea ecx, [eax*8]
inc edi
xor edx, ecx
mov cl, byte [edi]
xor eax, edx
test cl, cl
jne 0x428d30
xor edx, edx
div dword [esi + 8]
mov esi, dword [ebx + edx*8]
lea eax, [ebx + edx*8]
mov ebx, dword [eax + 4]
jmp 0x428d62
mov ebx, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x428d81
mov eax, dword [ebx + 0xc]
lea edx, [ebp - 0x1c]
push edx
push eax
dec esi
call fcn.00401e20
add esp, 8
test eax, eax
je 0x428d8a
mov ebx, dword [ebx]
test esi, esi
jne 0x428d66
mov dword [ebp - 0x20], 0
jmp 0x428d94
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x428dad
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x24], edi
cmp edi, dword [ebp - 0x38]
jl 0x428ce2
cmp dword [ebp - 0x20], 0
je 0x428dcd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
call fcn.004285b0
add esp, 0x14
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x428cb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3861
mov esp, ebp
pop ebp
ret
Function at 0x42b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor eax, eax
test dword [edx + 0x18], 0x80000
mov dword [ebp - 4], eax
je 0x42b48b
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax + 0x10]
test edi, edi
je 0x42b3a6
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x42b39c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x42b38c
or eax, 0xffffffff
jmp 0x42b393
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x42b380
mov edi, dword [edi + 4]
test edi, edi
jne 0x42b370
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x40]
mov esi, dword [edi + 0x44]
push ebx
mov ebx, dword [eax]
test esi, esi
je 0x42b3ef
mov cl, byte [ebx]
xor eax, eax
mov edx, ebx
test cl, cl
je 0x42b3df
lea ecx, [ecx]
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x42b3c0
mov esi, dword [edi + 0x44]
xor edx, edx
div dword [edi + 0x38]
mov edi, dword [esi + edx*8]
lea eax, [esi + edx*8]
mov esi, dword [eax + 4]
jmp 0x42b3f5
mov esi, dword [edi + 0x40]
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x42b485
lea ecx, [ecx]
mov edx, dword [esi + 0xc]
push ebx
push edx
dec edi
call fcn.00401e20
add esp, 8
test eax, eax
je 0x42b422
mov esi, dword [esi]
test edi, edi
jne 0x42b400
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
xor ebx, ebx
cmp esi, ebx
je 0x42b485
jmp 0x42b430
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push esi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.0042b100
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x42b47e
movzx ecx, word [eax + 0x2e]
cmp ecx, ebx
jle 0x42b47e
mov edx, dword [eax + 4]
mov edi, ecx
mov edi, edi
movzx ecx, word [edx]
cmp cx, 0x1f
jle 0x42b46e
or eax, 0xffffffff
jmp 0x42b475
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 2
dec edi
jne 0x42b460
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x42b430
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
movsx ecx, word [esi + 0x4c]
mov edx, dword [esi + ecx*4 + 0x78]
mov ecx, dword [edx + 0x3c]
movzx edx, word [esi + 0x28]
push edi
mov edi, eax
mov eax, dword [esi + 0x20]
sub ecx, eax
cmp edx, ecx
jae 0x45a5c4
mov ecx, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, eax
lea eax, [edx + ebx]
cmp eax, dword [ebp - 4]
ja 0x45a5ed
add ecx, edx
mov dword [edi + 0x10], ecx
mov ecx, 0x1010
mov word [edi + 8], cx
mov dword [edi + 0xc], ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 2]
mov eax, 1
mov word [edi + 8], ax
cmp dword [edi + 0x18], ecx
jge 0x45a625
xor eax, eax
call fcn.00412b00
test eax, eax
jne 0x45a682
mov edx, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x45a631
mov eax, dword [edi + 0x10]
push 0
push eax
push ebx
push edx
push esi
call fcn.0044cd60
add esp, 0x14
jmp 0x45a640
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x10], ecx
mov word [edi + 8], ax
jmp 0x45a60c
mov ecx, dword [edi + 0x10]
push ecx
push ebx
push edx
push esi
call fcn.00458d90
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x45a668
mov edx, dword [edi + 0x10]
mov byte [ebx + edx], al
mov eax, dword [edi + 0x10]
mov byte [eax + ebx + 1], 0
mov ecx, 0x210
mov word [edi + 8], cx
mov dword [edi + 0xc], ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x2460
test word [edi + 8], dx
jne 0x45a679
cmp dword [edi + 0x18], 0
je 0x45a680
mov eax, edi
call fcn.00407000
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x488465
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4884a4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4884a0
lea ebx, [ebx]
cmp esi, edx
jae 0x4884a4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x488490
cmp esi, edx
jb 0x4884a9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x488be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0049ea5d

Function at 0x488c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d52e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4fa7e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
movzx eax, ax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004a3bea
push 0
push 0x1002
push dword [ebp + 0x14]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004a40f1
test eax, eax
jne 0x488d05
call fcn.0049dc5a
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x488ca9
push 0x80004005
call fcn.00486f80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
push esi
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 1
push str._s___d
push eax
call fcn.00487810
mov esi, dword [ebp + 0x10]
add esp, 0x10
push 0x10
push 0x4da160
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488d01
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x488d1c
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.004a44a1
lea ecx, [ebp - 0x20]
call fcn.004a3e2c
mov esi, 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.004a3c11
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret