joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4830e5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4831fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4831fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004bb445
mov esi, eax
test esi, esi
je 0x4831fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4831fd
mov ecx, esi
call fcn.00483070
cmp edi, eax
jge 0x4831fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x483183
mov dword [esp + 0x34], 1
jmp 0x4831de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4831fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00482620
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48847d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c8e08
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x488493
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.0048d800
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.0048db00
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.00488500
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4daa90
call fcn.0048da00
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x48d330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48d37c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48d37c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48d366
push eax
call ebp
test ax, ax
jl 0x48d374
inc esi
add edi, 4
cmp esi, 6
jb 0x48d358
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048d030
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x48fc20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x48fc80
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48fc80
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x48fc80
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x48fc80
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x48fc90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x494090
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x531720]
xor edx, edx
cmp eax, edx
jne 0x4940b6
xor eax, eax
mov byte [eax + 0x531620], al
inc eax
cmp eax, 0x100
jl 0x49409e
mov dword [0x531720], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x531620
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x494147
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x49411a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4940e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4941c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x494213
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4941fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49abc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c930e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0049b4e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4dbbf4
call fcn.004b9786
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x49ac53
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b9786
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49ac4c
push 0
mov ecx, eax
call fcn.00491cc0
mov dword [esi + 0xc], eax
jmp 0x49ac55
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49ac55
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4bbde9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4bbe21
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b9ea0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b9e78
jmp 0x4bbe2d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4bd4da
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 0x4bd51c
call fcn.004c329a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bd51c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bd513
xor eax, eax
jmp 0x4bd524
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bd52a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c37ca
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c37f8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c3816
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c3730
jmp 0x4c3816
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c3816
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c3730
test edi, edi
mov eax, edi
jne 0x4c3800
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x43b64c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
or eax, edi
add edi, 1
sub eax, edi
call fcn.0043b682
sub edi, 0xf75609bb
xor dword [edx], ecx
push eax
pop edi
sub eax, 0xca83a0c6
sub eax, eax
inc edx
or edi, eax
cmp edx, esi
jne fcn.0043b64c
mov eax, 0x46e0bc0a
or edi, edi
ret
Function at 0x4037d8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5c1008], 0x8088405
inc edx
mov dword [ebx + 0x5c1008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42c578
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42c57e
ret

Function at 0x43a870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43aa21
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405684
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43aa38
call fcn.004052e0
mov eax, ebx
call fcn.00429e28
mov edi, eax
dec edi
test edi, edi
jl 0x43a928
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00429dfc
mov edx, dword [0x460020]
call fcn.004042c4
test al, al
je 0x43a924
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00429dfc
lea edx, [ebp - 0x14]
call fcn.004702bc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405684
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405354
inc esi
dec edi
jne 0x43a8d6
mov al, byte [0x43aa3c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43aa48
mov eax, dword [ebp - 0xc]
call fcn.004101c8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405050
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004702bc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43aa38
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004702bc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43aa38
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43aa38
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43aa54
call fcn.0040b800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aa28
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404fdc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404fdc
lea eax, [ebp - 0x14]
call fcn.00404fb8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404fdc
ret
Function at 0x4b6688
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov esi, 0x5c46c4
test edi, edi
je 0x4b67b3
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, edi
mov ecx, 3
cdq
idiv ecx
lea ecx, [eax + eax*2]
mov edx, dword [esp]
add edx, ecx
jmp 0x4b671f
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 8
mov ebx, dword [esp]
movzx ebx, byte [ebx + 1]
or eax, ebx
shl eax, 8
mov ebx, dword [esp]
movzx ebx, byte [ebx + 2]
or eax, ebx
add dword [esp], 3
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 3], bl
shr eax, 6
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 2], bl
shr eax, 6
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 1], bl
shr eax, 6
mov al, byte [esi + eax]
mov ebx, dword [esp + 4]
mov byte [ebx], al
add dword [esp + 4], 4
mov eax, dword [esp]
cmp eax, edx
jb 0x4b66b9
sub edi, ecx
dec edi
je 0x4b6733
dec edi
je 0x4b6769
jmp 0x4b67b3
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 4
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [esi + eax]
mov edx, dword [esp + 4]
mov byte [edx], al
mov eax, dword [esp + 4]
mov byte [eax + 2], 0x3d
mov eax, dword [esp + 4]
mov byte [eax + 3], 0x3d
jmp 0x4b67b3
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [esp]
movzx edx, byte [edx + 1]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [esi + eax]
mov edx, dword [esp + 4]
mov byte [edx], al
mov eax, dword [esp + 4]
mov byte [eax + 3], 0x3d
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b68ec
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.00405294
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [esp]
call fcn.00405620
mov eax, esi
call fcn.00405294
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x4b6a36
mov ebx, 1
mov eax, esi
call fcn.00405294
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x4b696b
mov eax, esi
call fcn.00405294
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.00402e50
jmp 0x4b6982
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.00402e50
mov al, byte [esp + 4]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, dword [0x5c4704]
mov dl, byte [ecx + edx]
mov byte [esp + 7], dl
and al, 3
mov ebp, eax
and ebp, 0xff
shl ebp, 4
mov dl, byte [esp + 5]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or ebp, eax
mov eax, dword [0x5c4704]
mov al, byte [eax + ebp]
mov byte [esp + 8], al
and dl, 0xf
mov ebp, edx
and ebp, 0xff
shl ebp, 2
mov al, byte [esp + 6]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or ebp, edx
mov edx, dword [0x5c4704]
mov dl, byte [edx + ebp]
mov byte [esp + 9], dl
and al, 0x3f
and eax, 0xff
mov edx, dword [0x5c4704]
mov al, byte [edx + eax]
mov byte [esp + 0xa], al
mov eax, dword [esp]
call fcn.004054ec
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [esp + 7]
mov ecx, 4
call fcn.00402e50
inc ebx
dec edi
jne 0x4b6938
mov eax, esi
call fcn.00405294
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x4b6a7c
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00405294
mov ebx, eax
mov eax, dword [esp]
call fcn.004054ec
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00405294
mov ebx, eax
mov eax, dword [esp]
call fcn.004054ec
mov byte [eax + ebx - 1], 0x3d
jmp 0x4b6aa9
mov eax, esi
call fcn.00405294
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x4b6aa9
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00405294
mov ebx, eax
mov eax, dword [esp]
call fcn.004054ec
mov byte [eax + ebx - 1], 0x3d
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b9978
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b99a6
mov eax, ebx
call fcn.004ba42c
cmp dword [ebx + 0x40], 0
je 0x4b999f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b9a17
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b9a09
cmp dword [ebx + 8], 0
je 0x4b99c8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b99da
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b9a09
cmp dword [ebx + 8], 0
je 0x4b99bb
cmp eax, 3
je 0x4b99ed
dec eax
jne 0x4b99bb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b99bb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b99bb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b9a35
cmp dword [ebx + 0x14], 0xcc
je 0x4b9a35
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b9a40
pop ebx
ret
Function at 0x4f751c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4f752f
add esp, 0xfffffff0
call fcn.004044a4
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov dl, 1
mov eax, dword [0x41d9a0]
call fcn.004040fc
mov dword [ebx + 4], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x4f7eb8]
call fcn.004fb904
mov edi, eax
mov dword [ebx + 8], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004fcd34
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4f75cc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, esi
mov dl, 1
mov eax, dword [0x4f7eb8]
call fcn.004fb904
mov edi, eax
mov dword [ebx + 0xc], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004fcd34
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4f7718
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f75bc
call fcn.004044fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4fb904
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4fb921
add esp, 0xfffffff0
call fcn.004044a4
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4fba70
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.00429804
lea eax, [ebp - 0x18]
call fcn.004ffc7c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x70]
call fcn.00407024
mov byte [ebx + 0x30], 0
mov eax, dword [ebx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x18]
mov byte [ebx + 0x30], 1
mov byte [ebx + 0x6d], 0
mov byte [ebx + 0x3a], 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4f3dc0]
call fcn.004f6980
mov edi, eax
mov dword [ebx + 0x34], edi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], 0x4fbcc0
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], 0x4fcd80
mov byte [ebx + 0x38], 0
mov byte [ebx + 0x39], 0
mov byte [ebx + 0x3c], 0
xor eax, eax
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x41d9a0]
call fcn.004040fc
mov edi, eax
mov dword [ebx + 0x58], edi
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], 0x4fcd5c
mov dl, 1
mov eax, dword [0x41d9a0]
call fcn.004040fc
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x48], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4f7e40]
call fcn.004fb0ec
mov dword [ebx + 0x64], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4f7e40]
call fcn.004fb0ec
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 1
lea eax, [ebp - 0x11]
push eax
call fcn.00409b4c
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x11]
call fcn.00409b6c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x44]
call fcn.0040500c
mov eax, esi
mov edx, dword [0x4f374c]
call fcn.004042c4
test al, al
je 0x4fba38
mov edx, esi
mov eax, ebx
call fcn.004fc824
jmp 0x4fba52
mov eax, esi
mov edx, dword [0x4f3bc4]
call fcn.004042c4
test al, al
je 0x4fba52
mov edx, esi
mov eax, ebx
call fcn.004fcd34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fba77
lea eax, [ebp - 0x1c]
call fcn.00404fb8
lea eax, [ebp - 0x18]
call fcn.0040700c
ret
Function at 0x509f28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42c2e8]
call fcn.004329fc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50a0fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x50a0da
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00433f68
mov eax, dword [ebp - 8]
call fcn.00432fcc
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.0042da84
cmp byte [ebp + 8], 0
je 0x509fc2
xor edx, edx
mov eax, ebx
call fcn.00508f38
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.00508f38
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.00508e68
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x509ffe
xor edx, edx
mov eax, ebx
call fcn.00508f38
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.00508e68
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.00508f38
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041e86c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.00432fcc
pop edx
call fcn.0042e0e8
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00508e68
dec eax
test eax, eax
jl 0x50a0b2
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00508e0c
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.00508f64
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.00508f64
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041e844
mov eax, dword [ebp - 8]
call fcn.00432fcc
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x50a048
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00508e0c
cmp byte [ebp + 0xc], 0
je 0x50a0da
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0043517c
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.005085fc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a102
mov eax, dword [ebp - 8]
call fcn.0040412c
ret