joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4111c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0x18
push str.C:Program_FilesVMware_
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.00402f40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x23
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.C:Program_FilesOracleVirtualBox_
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.00402f40
mov dword [ebp - 4], 1
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
sub ecx, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x1c], 0
imul ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0
sar edx, 2
push ecx
mov eax, edx
mov dword [ebp - 0x14], 0
shr eax, 0x1f
lea ecx, [ebp - 0x20]
push ecx
add eax, edx
lea ecx, [ebp - 0x1c]
push eax
call fcn.00402d40
push fcn.00402bb0
push 2
push 0x18
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
call fcn.00403753
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x40278e
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop word [eax + eax]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40277a
mov eax, dword [esi]
push eax
call edi
cmp eax, 0xffffffff
je 0x402786
test al, 0x10
jne 0x4027b1
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x402770
lea ecx, [ebp - 0x1c]
call fcn.00402c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004035f3
mov esp, ebp
pop ebp
ret
mov ecx, 0x41a6d0
call fcn.00401f40
int3

Function at 0x404196
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4041d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4041d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4041d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4041d5
cmp dword [ecx + 0x74], 0xe
jbe 0x4041d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40960f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413ab8
push 0x413ab0
push str.FlsAlloc
push 0x1f
call fcn.004094ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409643
push dword [ebp + 8]
mov ecx, esi
call dword [0x412154]
call esi
jmp 0x409649
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40968d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413ac8
push 0x413ac0
push str.FlsGetValue
push 0x21
call fcn.004094ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4096c4
push dword [ebp + 8]
mov ecx, esi
call dword [0x412154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4096cc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413ad0
push 0x413ac8
push str.FlsSetValue
push 0x22
call fcn.004094ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409706
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x412154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b574
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b611
push ebx
push esi
call fcn.0040b53d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b4d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b5be
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b610
push edi
push eax
call fcn.004089b8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b5de
call fcn.0040897e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b60f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b4d1
add esp, 0x20
test eax, eax
jne 0x40b5fd
push edi
call fcn.0040897e
jmp 0x40b605
push ebx
call fcn.0040897e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x410d20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410d4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410d4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xb4e27d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b4e27d
ret
Function at 0x47ee90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
mov dword [edi + 0x711fc], 0xc42c06c0
push edi
or ebp, 0xffffffff
jmp 0x47eeba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47eec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47eeb0
mov eax, 1
add ebx, ebx
jne 0x47eed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47eee4
jne 0x47ef03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47ef03
dec eax
add ebx, ebx
jne 0x47eef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47eec8
add ebx, ebx
jne 0x47eeff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47ef55
xor ecx, ecx
sub eax, 3
jb 0x47ef1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47ef8a
sar eax, 1
mov ebp, eax
jmp 0x47ef26
add ebx, ebx
jne 0x47ef26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47eef4
inc ecx
add ebx, ebx
jne 0x47ef34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47eef4
add ebx, ebx
jne 0x47ef41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47ef36
jne 0x47ef52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47ef36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47ef74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47ef66
jmp 0x47eeb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47ef74
add edi, ecx
jmp 0x47eeb6
pop esi
mov edi, esi
mov ecx, 0x1d29
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47ef92
cmp byte [edi], 0xe
jne 0x47ef92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47ef97
lea edi, [esi + 0x7b000]
mov eax, dword [edi]
or eax, eax
je 0x47f00f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x80768]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8086c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47efc4
mov ecx, edi
jns 0x47eff3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x80870]
or eax, eax
je 0x47f009
mov dword [ebx], eax
add ebx, 4
jmp 0x47efe1
call dword [esi + 0x80880]
mov ebp, dword [esi + 0x80874]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47f043
sub esp, 0xffffff80
jmp 0x4363ef
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

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 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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x74f425ce
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x577a4dd1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x454a12
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
mov edx, eax
neg edx
and edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov esi, edx
cmp dword [ebx + 0x20], 0
je 0x454a87
cmp dword [ebx + 0x30], 0
jne 0x454a40
mov edi, 1
jmp 0x454a8c
cmp dword [ebx + 0x40], 0
je 0x454a58
lea ecx, [eax + eax]
mov edx, dword [ebx + 0x24]
sub edx, esi
jns 0x454a52
neg edx
cmp edx, ecx
jle 0x454a5f
jmp 0x454a87
mov edi, 2
jmp 0x454a8c
mov edx, dword [ebx + 0x34]
sub edx, esi
jns 0x454a68
neg edx
cmp ecx, edx
jge 0x454a73
mov edi, 1
jmp 0x454a8c
mov edx, dword [ebx + 0x44]
sub edx, esi
jns 0x454a7c
neg edx
cmp edx, ecx
jle 0x454a87
mov edi, 2
jmp 0x454a8c
mov edi, 0
mov edx, edi
shl edx, 4
cmp dword [ebx + edx + 0x28], 0
jne 0x454aab
mov dword [esp], eax
call fcn.007678e4
mov edx, eax
mov eax, edi
shl eax, 4
mov dword [ebx + eax + 0x28], edx
mov eax, edi
shl eax, 4
mov edx, dword [ebp - 0x1c]
mov dword [ebx + eax + 0x24], edx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
je 0x454ae0
mov dword [ebx + 4], 5
mov edi, 0xffffffff
jmp 0x454b36
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, edi
shl eax, 4
lea esi, [eax + ebx + 0x20]
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x1c], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 4]
cmp dword [ebp - 0x1c], eax
jae 0x454b29
mov dword [ebx + 4], 5
mov edi, 0xffffffff
jmp 0x454b36
lea eax, [edi + 2]
shl eax, 4
mov dword [eax + ebx], 1
mov eax, edi
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
Function at 0x47fb68
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov ebx, dword [ebp + 0x10]
call fcn.0043f37c
mov esi, eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT_COUNT__id___AS__count__FROM__bans__WHERE__value__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
test bx, bx
js 0x47fbdb
movsx ebx, bx
mov dword [esp + 4], str._AND__param__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702764
mov dword [esp + 4], str._AND__type__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__active___1
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xd4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
mov ebx, eax
mov esi, dword [ebp - 0x24]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x47fc9b
cmp dword [0x8e6f60], 0
je 0x47fc6a
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x47fc73
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x47fc9b
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x47fc9b
test ebx, ebx
je 0x47fd0d
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x1a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4201
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47fceb
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x47fd12
mov esi, 0
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.006668d4
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x480622
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0066643c
mov esi, dword [ebp + 0x10]
mov dword [esp + 4], str.SELECT__id__FROM__bans__WHERE__type__
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__value__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__param__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__active___1_LIMIT_1
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x20]
lea edx, [ebp - 0xd0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
mov esi, dword [ebp - 0x20]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x480741
cmp dword [0x8e6f60], 0
je 0x480710
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x480719
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x480741
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x480741
test ebx, ebx
je 0x480769
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x480767
mov bl, 1
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x481d92
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov esi, dword [ebp + 0x10]
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT_COUNT__id___AS__count__FROM__bans__WHERE__value__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
test esi, esi
je 0x481e01
mov dword [esp + 4], str._AND__param__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__type__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__active___1
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xd4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
mov esi, dword [ebp - 0x24]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x481ec1
cmp dword [0x8e6f60], 0
je 0x481e90
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x481e99
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x481ec1
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x481ec1
test ebx, ebx
je 0x481f33
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x1a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4201
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x481f11
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x481f38
mov esi, 0
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.006668d4
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4822a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT__expires__FROM__bans__WHERE__type__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__value__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
test esi, esi
je 0x48232f
mov dword [esp + 4], str._AND__param__
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__active___1_LIMIT_1
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xd4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
mov esi, dword [ebp - 0x24]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4823df
cmp dword [0x8e6f60], 0
je 0x4823a2
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0xec], eax
jmp 0x4823af
mov eax, dword [esi + 8]
mov dword [ebp - 0xec], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0xec], 0
jg 0x4823df
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4823df
test ebx, ebx
je 0x48246d
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x1a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d417c
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x482433
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
test esi, esi
jle 0x48244f
mov dword [esp], 0
call sub.msvcrt.dll_time
cmp esi, eax
jle 0x482485
mov bl, 1
jmp 0x48246d
mov bl, 0
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004820b0
jmp 0x48246b
Function at 0x4843a6
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov edi, dword [ebp + 8]
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT__motd__FROM__guilds__WHERE__id__
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d48da
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xdc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
mov esi, dword [ebp - 0x28]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x48449c
cmp dword [0x8e6f60], 0
je 0x48445c
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0xec], eax
jmp 0x484469
mov eax, dword [esi + 8]
mov dword [ebp - 0xec], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0xec], 0
jg 0x48449c
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x48449c
test ebx, ebx
jne 0x4844c3
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d46bc
mov dword [esp], edi
call fcn.007041ec
jmp 0x484574
mov eax, dword [ebx]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d48e3
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x20]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x484527
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00704290
jmp 0x48454f
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x484574
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.006668d4
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4