joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100056a6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x44f490
mov eax, 0x1000e1e6
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov word [ecx], 0x9090
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x45d472
mov edx, 0x1000e4fa
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov word [eax], 0x9090
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x553a34
mov ecx, 0x1000e51e
add ecx, 6
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov word [edx], 0x9090
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x100057da
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x4615ce
mov eax, 0x10019f20
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x90
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x461dfb
mov edx, 0x1001a033
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x4fabf7
mov edx, dword [ebp - 4]
mov word [edx], 0x43eb
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x4fb15a
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x4fb236
mov ecx, dword [ebp - 4]
mov word [ecx], 0x18eb
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x90909090
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x4fa36d
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10005950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], 0x4a9172
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0x9e
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x4a41b6
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov word [eax], 0xa001
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], 0x4a85a2
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov word [edx], 0xa100
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], 0x4a85b4
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov word [ecx], 0xa100
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], 0x47c578
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov word [eax], 0xa100
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x4a426f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov word [edx], 0xa100
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10005a91
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x56208c
mov eax, 0x10019cb0
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov word [ecx], 0x9090
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x90
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x40e1c5
mov ecx, 0x10019d66
add ecx, 6
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov word [edx], 0x9090
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x56dbaf
mov eax, 0x10012930
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10005bc3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x41364d
mov eax, 0x10019c50
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x90
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x100077e9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x6a1ae0
mov dword [ebp - 0x10], 0x1002760a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x90
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x43b790
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x43b851
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x43b977
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x43d971
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x43ea37
mov edx, 0x1002780c
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x1000875e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x50c8e9
mov eax, 0x10036d80
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x90
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x5eddb0
mov edx, 0x10036db4
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x90
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x5ef3b0
mov ecx, 0x10036dda
add ecx, 6
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], 0x90
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x100090fe
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x41c266
mov eax, 0x1003ab10
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x90909090
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 0x441c6a
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x441ca5
mov eax, 0x1003ab80
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov word [ecx], 0x9090
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x1002c7d5
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.1004fb70
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, 0x14
mov esi, str.SELECT_bReward2_FROM_RohanGame.dbo.TQuest_WHERE_nCharID____and_nQuestID__2219
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 1
mov edx, dword [ebp - 0x64]
push edx
call sub.ODBC32.dll_SQLBindParameter
push 0xfffffffffffffffd
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call sub.ODBC32.dll_SQLExecDirect
movsx edx, ax
test edx, edx
je 0x1002c873
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.ODBC32.dll_SQLFreeStmt
jmp 0x1002c89a
mov ecx, dword [ebp - 0x64]
push ecx
call sub.ODBC32.dll_SQLFetch
movsx edx, ax
test edx, edx
jne 0x1002c89a
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffee
push 1
mov ecx, dword [ebp - 0x64]
push ecx
call sub.ODBC32.dll_SQLGetData
jmp 0x1002c873
push 0
mov edx, dword [ebp - 0x64]
push edx
call sub.ODBC32.dll_SQLFreeStmt
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.1004fc9f
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002cddc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
push edi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.1004fb70
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov word [ebp - 0x73], ax
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov ecx, 0x13
mov esi, str.SELECT_nid__exp__level_FROM_RohanGame.dbo.TTrinityWeaponInfo_WHERE_charid___
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
add eax, 0x30
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov dword [ebp - 0x5c], edx
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 1
mov ecx, dword [ebp - 0x70]
push ecx
call sub.ODBC32.dll_SQLBindParameter
push 0xfffffffffffffffd
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x70]
push eax
call sub.ODBC32.dll_SQLExecDirect
movsx ecx, ax
test ecx, ecx
je 0x1002cec6
push 0
mov edx, dword [ebp - 0x70]
push edx
call sub.ODBC32.dll_SQLFreeStmt
jmp 0x1002cf17
mov eax, dword [ebp - 0x70]
push eax
call sub.ODBC32.dll_SQLFetch
movsx ecx, ax
test ecx, ecx
jne 0x1002cf17
push 0
push 4
lea edx, [ebp - 0x80]
push edx
push 0xfffffffffffffffe
push 1
mov eax, dword [ebp - 0x70]
push eax
call sub.ODBC32.dll_SQLGetData
push 0
push 8
lea ecx, [ebp - 0x7c]
push ecx
push 0xfffffffffffffffe
push 2
mov edx, dword [ebp - 0x70]
push edx
call sub.ODBC32.dll_SQLGetData
push 0
push 4
lea eax, [ebp - 0x74]
push eax
push 0xfffffffffffffffe
push 3
mov ecx, dword [ebp - 0x70]
push ecx
call sub.ODBC32.dll_SQLGetData
jmp 0x1002cec6
push 0
mov edx, dword [ebp - 0x70]
push edx
call sub.ODBC32.dll_SQLFreeStmt
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.1004fc9f
add esp, 0xc
mov eax, dword [ebp - 0x84]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002cf45
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.1004fb70
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov ecx, 0x10
mov esi, str.SELECT_type_FROM_RohanGame.dbo.TItem_WHERE_char_id____and_id___
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov dword [ebp - 8], eax
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 1
mov edx, dword [ebp - 0x58]
push edx
call sub.ODBC32.dll_SQLBindParameter
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 2
mov ecx, dword [ebp - 0x58]
push ecx
call sub.ODBC32.dll_SQLBindParameter
push 0xfffffffffffffffd
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x58]
push eax
call sub.ODBC32.dll_SQLExecDirect
movsx ecx, ax
test ecx, ecx
je 0x1002d009
push 0
mov edx, dword [ebp - 0x58]
push edx
call sub.ODBC32.dll_SQLFreeStmt
jmp 0x1002d030
mov eax, dword [ebp - 0x58]
push eax
call sub.ODBC32.dll_SQLFetch
movsx ecx, ax
test ecx, ecx
jne 0x1002d030
push 0
push 0
lea edx, [ebp - 4]
push edx
push 0xffffffffffffffee
push 1
mov eax, dword [ebp - 0x58]
push eax
call sub.ODBC32.dll_SQLGetData
jmp 0x1002d009
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call sub.ODBC32.dll_SQLFreeStmt
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.1004fc9f
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002d058
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.1004fb70
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov ecx, 0x10
mov esi, str.SELECT_id_FROM_RohanGame.dbo.TItem_WHERE_char_id___and_type___
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x30
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 1
mov edx, dword [ebp - 0x54]
push edx
call sub.ODBC32.dll_SQLBindParameter
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push 4
push 0xfffffffffffffff0
push 1
push 2
mov ecx, dword [ebp - 0x54]
push ecx
call sub.ODBC32.dll_SQLBindParameter
push 0xfffffffffffffffd
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
call sub.ODBC32.dll_SQLExecDirect
movsx ecx, ax
test ecx, ecx
je 0x1002d11b
push 0
mov edx, dword [ebp - 0x54]
push edx
call sub.ODBC32.dll_SQLFreeStmt
jmp 0x1002d142
mov eax, dword [ebp - 0x54]
push eax
call sub.ODBC32.dll_SQLFetch
movsx ecx, ax
test ecx, ecx
jne 0x1002d142
push 0
push 0
lea edx, [ebp - 0x5c]
push edx
push 0xffffffffffffffee
push 1
mov eax, dword [ebp - 0x54]
push eax
call sub.ODBC32.dll_SQLGetData
jmp 0x1002d11b
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call sub.ODBC32.dll_SQLFreeStmt
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.1004fc9f
add esp, 0xc
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret