joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c5a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48c6aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404704
lea eax, [ebp - 4]
call fcn.00404b7c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b2c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x48c67e
mov eax, ebx
call fcn.00402b04
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48c677
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b2c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x48c6b8
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0xa]
mov word [esi], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 8]
mov word [esi + 2], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0xe]
mov word [esi + 4], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0xc]
mov word [esi + 6], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c694
mov eax, dword [ebp - 8]
call fcn.00402b34
ret
mov ecx, 0x48c6c4
mov dl, 1
mov eax, dword [0x48c544]
call fcn.0040d3b0
call fcn.00403ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c6b1
lea eax, [ebp - 4]
call fcn.0040466c
ret

Function at 0x48c6e4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x48c75e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 7
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404b2c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48c73a
push 0
push ebx
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x48c748
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c765
lea eax, [ebp - 4]
call fcn.0040466c
ret
Function at 0x48cb1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48cc69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x48cc4d
lea eax, [ebp - 0x78]
push eax
push 0x64
call sub.kernel32.dll_GetLogicalDriveStringsA
lea eax, [ebp - 0x78]
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edi, edi
cmp eax, 3
jne 0x48cb99
push 1
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x48c7dc]
call fcn.00405abc
add esp, 4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x78]
mov ecx, 0x64
call fcn.004048dc
mov edi, 1
mov esi, 0x64
lea ebx, [ebp - 0x78]
cmp byte [ebx], 0
jne 0x48cbe1
cmp byte [ebx + 1], 0
je 0x48cbe5
lea eax, [ebx + 1]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x48cbe1
inc edi
push edi
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x48c7dc]
call fcn.00405abc
add esp, 4
mov eax, dword [ebp - 0x14]
lea eax, [eax + edi*4 - 4]
lea edx, [ebx + 1]
call fcn.00404864
inc ebx
dec esi
jne 0x48cba1
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48cc46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.004058e0
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48cc25
inc ebx
xor esi, esi
push ebp
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*4]
call fcn.0048c8bc
pop ecx
inc esi
dec ebx
jne 0x48cc14
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc4d
mov eax, dword [ebp - 0xc]
call fcn.0040381c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc70
lea eax, [ebp - 0x14]
mov edx, dword [0x48c7dc]
call fcn.00405be8
ret
Function at 0x4b112c
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 0x4b1149
add esp, 0xfffffff0
call fcn.00403b94
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1298
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.0042611c
lea eax, [ebp - 0x18]
call fcn.004b9f5c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x70]
call fcn.00406360
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 [0x4b3c8c]
call fcn.004b64f8
mov edi, eax
mov dword [ebx + 0x34], edi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], 0x4b14e0
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], 0x4b25ec
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 [0x41af60]
call fcn.004037ec
mov edi, eax
mov dword [ebx + 0x58], edi
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], 0x4b25c8
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x48], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ae6c4]
call fcn.004b0914
mov dword [ebx + 0x64], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ae6c4]
call fcn.004b0914
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 1
lea eax, [ebp - 0x11]
push eax
call fcn.00408b20
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x11]
call fcn.00408b40
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x44]
call fcn.004046c0
mov eax, esi
mov edx, dword [0x4b3618]
call fcn.004039b4
test al, al
je 0x4b1260
mov edx, esi
mov eax, ebx
call fcn.004b20bc
jmp 0x4b127a
mov eax, esi
mov edx, dword [0x4b3a90]
call fcn.004039b4
test al, al
je 0x4b127a
mov edx, esi
mov eax, ebx
call fcn.004b25a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b129f
lea eax, [ebp - 0x1c]
call fcn.0040466c
lea eax, [ebp - 0x18]
call fcn.00406348
ret
Function at 0x4b7088
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4b709b
add esp, 0xfffffff0
call fcn.00403b94
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebx + 4], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x4ae73c]
call fcn.004b112c
mov edi, eax
mov dword [ebx + 8], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004b25a0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4b7138
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, esi
mov dl, 1
mov eax, dword [0x4ae73c]
call fcn.004b112c
mov edi, eax
mov dword [ebx + 0xc], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004b25a0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4b7284
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b7128
call fcn.00403bec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c0cef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4e850a
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c0d47
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4e852b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4c0d3d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4c0d4b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4cdb9c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov eax, ebx
call fcn.0040466c
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4cdbcf
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10

Function at 0x4cdbd4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4cdc7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x65
lea eax, [ebp - 0x6d]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x6d]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cdc64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
xor ebx, ebx
jmp 0x4cdc55
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x204]
call fcn.00404864
mov edx, dword [ebp - 0x204]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x4cdc33
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdc84
lea eax, [ebp - 0x204]
call fcn.0040466c
ret

Function at 0x4cdc8c
Capabilities:
Query service status

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4cdca1
xor eax, eax
mov dword [esp], eax
jmp 0x4cdcab
mov eax, ebx
call fcn.00404b2c
mov dword [esp], eax
mov eax, esi
call fcn.00404b2c
mov dword [esp + 4], eax
xor esi, esi
push 1
push 0
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x4cdcfe
push 4
mov eax, dword [esp + 8]
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
jbe 0x4cdcf8
lea eax, [esp + 8]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4cdcf2
mov esi, dword [esp + 0xc]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, esi
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x4d0950
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d0a76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040466c
mov eax, esi
call fcn.004daa18
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d0a4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d0a8c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d0b00
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 8]
call fcn.004b14fc
jmp 0x4d0a2a
lea eax, [ebp - 0xc]
push eax
mov edx, 0x4d0b14
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x10]
call fcn.004b083c
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, esi
pop ecx
mov edi, dword [eax]
call dword [edi + 0x30]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00404934
mov eax, dword [ebp - 8]
call fcn.004b18c4
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
jne 0x4d0a2a
mov eax, ebx
mov edx, 0x4d0b2c
call fcn.00404934
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
je 0x4d09d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0a53
mov eax, dword [ebp - 8]
call fcn.0040381c
ret
Function at 0x4d42f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
call fcn.00404b1c
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x4d44f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
call fcn.004daa18
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d44c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x4d43a7
cmp byte [ebp - 0x11], 1
jne 0x4d437b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4d4510
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004b1c44
mov edx, 0x4d45d4
call fcn.004b0b3c
mov edx, dword [ebp - 0x10]
call fcn.004b07ec
jmp 0x4d43b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4d45e8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004b1c44
mov edx, 0x4d4650
call fcn.004b0b3c
mov edx, dword [ebp - 0x10]
call fcn.004b07ec
jmp 0x4d43b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4d4664
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004b14fc
jmp 0x4d449a
mov edx, 0x4d46b8
mov eax, dword [ebp - 4]
call fcn.004b1764
lea edx, [ebp - 0xc]
call fcn.004b083c
mov edx, dword [ebp - 0xc]
mov eax, 0x4d46d0
call fcn.00404c70
dec eax
jne 0x4d4417
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jae 0x4d4417
mov edx, 0x4d46e0
mov eax, dword [ebp - 4]
call fcn.004b1764
call fcn.004af698
dec eax
je 0x4d4417
mov eax, dword [ebp - 4]
call fcn.004b18c4
jmp 0x4d449a
test bl, bl
je 0x4d442c
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4d46f8
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi]
mov edi, dword [eax]
call dword [edi + 0x30]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4d471c
call fcn.0040a3bc
push dword [ebp - 0x18]
push ebp
lea eax, [ebp - 0x28]
call fcn.004d39f0
pop ecx
push dword [ebp - 0x28]
push 0x4d473c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004049ec
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.004b18c4
mov eax, dword [ebp - 4]
call fcn.004b1750
test al, al
je 0x4d43c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d44c7
mov eax, dword [ebp - 4]
call fcn.0040381c
ret
Function at 0x4d4a38
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d4c54
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.004daa18
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d4c15
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d4a9e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d4c6c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d4ac8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d4cac
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d4d14
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 8]
call fcn.004b14fc
jmp 0x4d4bef
test bl, bl
je 0x4d4afc
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4d4d2c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov edx, 0x4d4d54
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x28]
call fcn.004b083c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov edx, 0x4d4d70
mov eax, dword [ebp - 8]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov edx, 0x4d4d8c
mov eax, dword [ebp - 8]
call fcn.004b1764
call fcn.004af698
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x24]
mov ecx, 2
mov eax, 0x4d4da8
call fcn.0040a3bc
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x4c], 9
mov byte [ebp - 0x48], 2
mov edx, 0x4d4de0
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x50]
call fcn.004b083c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4d4df8
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0x54]
call fcn.004b083c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov byte [ebp - 0x34], 0x3b
mov byte [ebp - 0x30], 2
lea edx, [ebp - 0x4c]
mov ecx, 3
mov eax, 0x4d4e10
call fcn.0040a3bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.004b18c4
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
je 0x4d4ad5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4c1c
mov eax, dword [ebp - 8]
call fcn.0040381c
ret
Function at 0x4d6ae0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d6c81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004daa18
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d6c4f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4d6b3e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d6c98
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4d6b68
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4d6d24
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004b1c44
mov edx, 0x4d6dd8
call fcn.004b0b3c
mov edx, dword [ebp - 4]
call fcn.004b07ec
mov eax, dword [ebp - 8]
call fcn.004b14fc
mov eax, dword [ebx + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d6c29
mov edx, 0x4d6df0
mov eax, dword [ebp - 8]
call fcn.004b1764
lea edx, [ebp - 0xc]
call fcn.004b083c
mov edx, dword [ebp - 0xc]
mov eax, 0x4d6e0c
call fcn.00404c70
dec eax
jne 0x4d6bb0
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jb 0x4d6bcc
mov edx, dword [ebp - 0xc]
mov eax, 0x4d6e1c
call fcn.00404c70
dec eax
jne 0x4d6bd6
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jae 0x4d6bd6
mov eax, dword [ebp - 8]
call fcn.004b18c4
jmp 0x4d6c29
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov byte [ebp - 0x18], 0x3b
mov byte [ebp - 0x14], 2
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4d6e2c
call fcn.0040a3bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.004b18c4
mov eax, dword [ebp - 8]
call fcn.004b1750
test al, al
je 0x4d6b7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6c56
mov eax, dword [ebp - 8]
call fcn.0040381c
ret
Function at 0x4d9294
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4d9485
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004daa18
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d9441
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], 0xd
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], 8
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4d949c
call fcn.0040a3bc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004b14fc
jmp 0x4d941b
mov edx, 0x4d9568
mov eax, dword [ebp - 0x10]
call fcn.004b1764
lea edx, [ebp - 0x28]
call fcn.004b083c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.00408ea4
mov edx, 0x4d957c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004afc88
test al, al
jne 0x4d9387
mov edx, 0x4d957c
mov eax, dword [ebp - 0x10]
call fcn.004b1764
call fcn.004af698
dec eax
jne 0x4d9387
lea eax, [ebp - 8]
mov edx, 0x4d9598
call fcn.00404704
jmp 0x4d938f
lea eax, [ebp - 8]
call fcn.0040466c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x58]
push eax
mov edx, 0x4d95b4
mov eax, dword [ebp - 0x10]
call fcn.004b1764
lea edx, [ebp - 0x5c]
call fcn.004b083c
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x30]
call fcn.004b562c
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x30]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, 0x4d95d0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x54]
mov ecx, 4
mov eax, 0x4d95dc
call fcn.0040a3bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004b18c4
mov eax, dword [ebp - 0x10]
call fcn.004b1750
test al, al
je 0x4d932d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9448
mov eax, dword [ebp - 0x10]
call fcn.0040381c
ret