joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ee5a
Capabilities:
Encode data using xor

Disassembly:
push 0x773c5767
and dword [esp], ebp
or dword [esp], ebp
mov ebp, esp
sub esp, 4
lea esp, [esp - 4]
mov dword [esp], edi
push esi
sub esp, 0xc
mov dword [esp + 8], ebx
add esp, 8
push ecx
push edx
mov esi, dword [ebp + 8]
call fcn.100731da
cmp dword [esi], 0xffffffff
je 0x1007eebe
lea ecx, [esi]
lea ecx, [ecx + 0x14]
add ecx, 0
mov ecx, dword [ecx]
add ecx, 6
mov ebx, dword [esi + 0x10]
xor dword [esi], eax
add esi, 4
dec ecx
jne 0x1007ee9f
xor byte [esi], al
inc esi
dec ebx
jne 0x1007eeab
cmp dword [esi], 0xffffffff
jne 0x1007ee8f
pop edx
pop ecx
lea esp, [esp - 0x1f]
xchg dword [esp + 0x1f], ebx
mov dword [esp + 0x1f], ebx
lea esp, [esp + 0x23]
pop esi
pop edi
leave
ret 4
Function at 0x100841d6
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x52
mov dword [esp + 0x4e], 0xad5c28f8
add esp, 0x4e
mov dword [esp], ebp
mov ebp, esp
push ebx
push 0xffffffffffffffff
and dword [esp], ecx
push 0
add dword [esp], edx
add esp, 0xfffffffc
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100841fe
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100841fe
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100841fe
cmp word [ebx + 4], 0x14c
jne 0x100841fe
test word [ebx + 0x16], 2
je 0x100841fe
test word [ebx + 0x16], 0x100
je 0x100841fe
cmp word [ebx + 0x18], 0x10b
jne 0x100841fe
sub esp, 0x3d
mov dword [esp + 0x39], 0x1d70e4af
add esp, 0x39
and dword [esp], eax
or dword [esp], eax
push 0
mov eax, 0xffffffff
and eax, dword [esp]
add esp, 4
add eax, 0xfefcf4f5
xchg dword [esp], eax
xchg dword [esp], edx
mov dword [esp], edx
lea esp, [esp + 4]
xor edx, 0xfefcf48d
add edx, ebx
mov edx, dword [edx]
cmp edx, 0
je 0x100841fe
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax]
mov ebx, eax
lea esp, [esp - 0x64]
mov dword [esp + 0x60], 0x6009042c
lea esp, [esp + 0x60]
mov dword [esp], edx
call fcn.10074979
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100841fe
mov esi, dword [esp]
add esp, 4
shl edi, 0xb
shl edi, 0x15
or edi, 0xffffffff
and edi, dword [esp]
add esp, 4
mov edx, dword [esp]
lea esp, [esp + 4]
xor dword [esp], ecx
xor ecx, dword [esp]
xor dword [esp], ecx
mov dword [esp], ecx
add esp, 4
pop ebx
leave
ret 8
Function at 0x10084358
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
sub esp, 4
xchg dword [esp], edx
mov edx, dword [esp]
push ecx
lea esp, [esp - 0x4d]
xchg dword [esp + 0x49], edi
mov edi, dword [esp + 0x49]
lea esp, [esp + 0x49]
lea esp, [esp - 4]
xchg dword [esp], esi
sub esp, 0x65
mov esi, dword [esp + 0x65]
add esp, 0x69
lea esp, [esp - 4]
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
and eax, 0xdb83d375
push dword [ebx + 0x24]
lea esp, [esp - 0x26]
mov eax, dword [esp + 0x26]
lea esp, [esp + 0x2a]
add eax, edx
or edi, 0xffffffff
inc edi
or edi, dword [ebx + 0x20]
add edi, edx
lea ecx, [ebx + 0x18]
mov ecx, dword [ecx]
mov esi, dword [edi]
add esi, edx
push eax
add esp, 0xfffffffc
mov dword [esp], esi
call fcn.100749de
cmp eax, dword [ebp + 0xc]
xchg dword [esp], eax
mov dword [esp], eax
lea esp, [esp + 4]
je 0x1008441d
add edi, 4
add eax, 2
dec ecx
jne 0x100843c7
xor eax, eax
mov esi, dword [esp]
lea esp, [esp + 4]
pop edi
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
dec ebx
and ebx, dword [esp]
or ebx, dword [esp]
add esp, 4
leave
ret 8
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100843f9
cmp eax, ecx
ja 0x100843f9
xor esi, esi
sub esi, eax
dec esi
not esi
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp al, 0x2e
jne 0x10084458
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10074b84
push edi
push 0x50b70ff2
call fcn.10083ee6
jmp 0x100843f9
Function at 0x403f20
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40412a
sub esp, 0x24
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x3d]
test cl, cl
je 0x404113
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
cmp ecx, 0x400000
jne 0x4040fd
mov byte [esp + 0x17], 1
movzx ecx, byte [esp + 0x17]
mov byte [eax + 0x3a], cl
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
shl edx, 0xd
mov dword [esp + 4], edx
call fcn.00414e00
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
xor edx, edx
sub edx, ecx
mov ecx, 0
sbb ecx, 0
lea ebx, [0x7f95f8]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.004304b0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
lea edx, [0x7f9618]
mov dword [esp], edx
mov dword [esp + 8], 0
shl ecx, 0xd
mov dword [esp + 4], ecx
call fcn.00402500
lea eax, [0x7fa680]
mov dword [esp], eax
call fcn.004305f0
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
test byte [eax], al
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
shl edx, 0xd
xor ebx, ebx
sub ebx, edx
mov edx, 0
sbb edx, 0
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
call fcn.00402480
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
xor edx, edx
sub edx, ecx
mov ecx, 0
sbb ecx, 0
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.00402480
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x270]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00402500
mov eax, dword [esp + 0x20]
add eax, 0x268
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 8], 0
shl edx, 0xd
mov dword [esp + 4], edx
call fcn.00402500
lea eax, [0x7fa680]
mov dword [esp], eax
call fcn.004306f0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
shl ecx, 0xd
xor edx, edx
sub edx, ecx
mov ecx, 0
sbb ecx, 0
lea ebx, [0x7f9500]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004204d0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea eax, [0x404140]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.00462e60
add esp, 0x24
ret
lea eax, [0x628e3a]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
call fcn.00436e90
lea eax, [0x627dda]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00403f20
Function at 0x408760
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40887d
sub esp, 0x10
movzx ebx, byte [0x7d3c5c]
test bl, bl
jne 0x408866
mov byte [0x7d3c5c], 1
mov ebx, dword [0x7d3c54]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x14]
xor eax, eax
jmp 0x4087a4
inc eax
mov ebx, edi
cmp eax, ebx
jge 0x408805
mov ecx, dword [0x7d3c54]
mov esi, dword [0x7d3c50]
mov edx, ecx
sub ecx, eax
mov edi, ebx
lea ebx, [ecx - 1]
cmp edx, ebx
jbe 0x40885d
mov dword [esp + 8], eax
lea ebx, [esi + ecx*8 - 8]
movzx esi, byte [ebx + 4]
mov ebx, dword [ebx]
test ebp, ebp
je 0x4087dd
xchg esi, eax
test al, al
xchg esi, eax
je 0x4087a1
mov eax, dword [0x62cb70]
mov dword [esp], ebx
lea edx, [0x62cb70]
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x408847
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
jmp 0x4087a1
mov dword [0x7d3c54], 0
mov dword [0x7d3c58], 0
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x40882f
mov dword [0x7d3c50], 0
jmp 0x40883c
lea edi, [0x7d3c50]
xor eax, eax
call fcn.00464380
mov byte [0x7d3c5c], 0
add esp, 0x10
ret
lea eax, [0x6279d8]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00436e90
mov eax, ebx
mov ecx, edx
call fcn.00464400
lea eax, [0x62774b]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00408760

Function at 0x409180
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x409295
sub esp, 0x20
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x40927e
mov eax, dword [0x7ce1a8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
shr edx, 2
lea edx, [edx + edx*2]
cmp ecx, edx
jb 0x409254
mov dword [esp + 0x10], eax
shl ebx, 1
lea eax, [ebx + 2]
shl eax, 2
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [esp + 8], 1
call fcn.0040b950
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [eax], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea edx, [0x4657b0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp], edx
call fcn.00409ed0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], ecx
jne 0x409268
lea ecx, [0x7ce1a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00404200
mov eax, dword [0x7ce1a8]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004092a0
add esp, 0x20
ret
lea eax, [0x6279ff]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00436e90
lea eax, [0x61e096]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00409180
Function at 0x40b500
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b60b
sub esp, 0x18
xor eax, eax
jmp 0x40b51e
inc eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + edx]
mov dword [esp + 0x14], ebp
mov dword [esp + 4], ebp
call fcn.00415300
mov eax, dword [esp + 8]
mov ecx, eax
test eax, eax
je 0x40b5e0
mov edx, dword [esp + 0x24]
lea ebx, [edx - 1]
test eax, ebx
je 0x40b5d0
mov dword [esp + 0x10], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00415200
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax - 1]
neg ecx
and ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00415300
mov eax, dword [esp + 8]
mov ecx, eax
mov edx, dword [esp + 0x10]
cmp eax, edx
je 0x40b5c0
mov dword [esp], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00415200
mov eax, dword [esp + 0xc]
cmp eax, 0x63
jne 0x40b51d
jmp 0x40b5f4
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
add esp, 0x18
ret
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
add esp, 0x18
ret
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
add esp, 0x18
ret
lea eax, [0x62abb2]
mov dword [esp], eax
mov dword [esp + 4], 0x38
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.0040b500
Function at 0x40b730
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b940
sub esp, 0x1c
mov edx, dword [esp + 0x20]
test byte [edx], al
movzx ebx, byte [esp + 0x24]
movzx eax, bl
cmp eax, 0x88
jae 0x40b935
mov dword [esp + 0x18], eax
mov ecx, dword [edx + eax*4 + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp], ecx
call fcn.00411a00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
cmp edx, eax
jne 0x40b7db
mov dword [esp + 0x10], edx
movzx ecx, word [ecx + 0x38]
movzx ebx, cx
cmp edx, ebx
jne 0x40b8b3
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
movzx ecx, byte [esp + 0x24]
mov byte [esp + 4], cl
call fcn.00413ba0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp], eax
call fcn.00411a00
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
jmp 0x40b7dd
mov ebx, eax
cmp dword [ecx + 0x1c], eax
jbe 0x40b89d
mov ebp, dword [ecx + 0x40]
imul eax, ebp
add eax, dword [ecx + 0xc]
movzx ebp, word [ecx + 0x38]
inc ebp
mov word [ecx + 0x38], bp
movzx esi, bp
mov edi, dword [ecx + 0x1c]
cmp edi, esi
jb 0x40b817
cmp edx, ebx
sete dl
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x30], dl
add esp, 0x1c
ret
mov word [esp + 0xa], bp
mov dword [esp + 0x10], edi
call fcn.004388b0
lea eax, [0x61db90]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004391b0
mov dword [esp + 4], 0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
call fcn.00438e30
lea eax, [0x61c573]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x621e0c]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00436e90
lea eax, [0x621312]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.00436e90
mov word [esp + 0xa], cx
call fcn.004388b0
lea eax, [0x621df5]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004391b0
mov dword [esp + 4], 0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
call fcn.00438e30
lea eax, [0x61c573]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x629de1]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00436e90
mov ecx, 0x88
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.0040b730
Function at 0x40c2c0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c345
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x40c2e5
mov eax, dword [eax + 0x30]
jmp 0x40c2eb
mov eax, dword [0x7f8b5c]
test eax, eax
je 0x40c32e
mov ecx, dword [0x78d310]
cmp ecx, 1
jne 0x40c2fe
xor ecx, ecx
jmp 0x40c314
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.0040c350
mov eax, dword [esp + 4]
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0042e300
add esp, 0xc
ret
lea eax, [0x62ac5a]
mov dword [esp], eax
mov dword [esp + 4], 0x38
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.0040c2c0

Function at 0x40c350
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c51e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c37b
mov eax, 0x7000000
jmp 0x40c383
test eax, eax
je 0x40c4f9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00464330
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x791e40]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c511
cmp ecx, 0x21
jae 0x40c505
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d6c0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045d790
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x66dcfc]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x66dd74]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c4d4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x66de04]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00464410
mov eax, ecx
mov ecx, 0x21
call fcn.004644d0
nop
call fcn.00462f70
jmp fcn.0040c350
Function at 0x411ba0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x411de8
sub esp, 0x1c
call fcn.004388b0
call fcn.004388b0
lea eax, [0x61ed65]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00439030
call fcn.00438920
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x411ce1
call fcn.004388b0
call fcn.00438ad0
call fcn.00438920
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x411c42
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x62b2c2]
mov dword [esp], eax
mov dword [esp + 4], 0x3e
call fcn.00436e90
call fcn.004388b0
lea eax, [0x624eb8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a735]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a767]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004391b0
call fcn.00438920
lea eax, [0x61b1d6]
mov dword [esp], eax
mov dword [esp + 4], 6
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.0041e660
jmp 0x411c15
nop
nop
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.00401f80
movzx eax, byte [esp + 4]
mov byte [esp + 0x13], al
cmp al, 1
je 0x411dc3
call fcn.004388b0
lea eax, [0x61ff28]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004391b0
call fcn.00438920
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
call fcn.004388b0
lea eax, [0x61d1dc]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61cb9e]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61cbaa]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004391b0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x13]
movzx eax, al
mov dword [esp], eax
call fcn.00438e30
call fcn.00438920
jmp 0x411bfe
call fcn.004388b0
lea eax, [0x622683]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.004391b0
call fcn.00438920
jmp 0x411d20
call fcn.00462f70
jmp fcn.00411ba0
Function at 0x412430
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
or eax, ecx
mov ebx, dword [esp + 0x44]
or eax, ebx
test eax, 3
jne 0x412541
movzx eax, byte [0x7f8db4]
test al, al
je 0x412490
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x34], eax
test byte [eax], al
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00411f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x41249c
add esp, 0x38
ret
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00411fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x41253d
mov esi, dword [esp + 0x3c]
sub eax, esi
mov edi, dword [esp + 0x40]
add eax, edi
mov edi, dword [esp + 0x34]
mov esi, dword [edi + 0x978]
mov eax, dword [eax]
mov dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [edi + 0x978]
add eax, 8
mov dword [edi + 0x978], eax
cmp dword [edi + 0x97c], eax
jne 0x412494
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00430810
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
jmp 0x412494
add esp, 0x38
ret
lea eax, [0x627d12]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00436e90
nop
int3
Function at 0x4126b0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4128e2
mov ecx, dword [esp + 0x38]
cmp dword [eax], ecx
jne 0x41281d
movzx ecx, byte [eax + 0xf]
test cl, 0x40
jne 0x4127a5
movzx ecx, byte [0x7f8db4]
test cl, cl
je 0x41270d
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x24], ecx
test byte [ecx], al
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
xor esi, esi
xor edi, edi
jmp 0x412714
add esp, 0x28
ret
add esi, 4
cmp dword [eax + 4], esi
jbe 0x4127a1
test esi, 0x1f
jne 0x41272b
movzx edi, byte [edx]
inc edx
jmp 0x41272d
shr edi, 1
test edi, 1
je 0x412711
add ebp, esi
add ebx, esi
mov eax, dword [ecx + 0x978]
mov ebp, dword [ebp]
mov ebx, dword [ebx]
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov eax, dword [ecx + 0x978]
add eax, 8
mov dword [ecx + 0x978], eax
cmp dword [ecx + 0x97c], eax
jne 0x412790
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00430810
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
jmp 0x412711
add esp, 0x28
ret
mov dword [esp], eax
call fcn.0045b1e0
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
call fcn.004388b0
lea eax, [0x627fe2]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.004391b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61dc9a]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004391b0
call fcn.00438920
lea eax, [0x626e78]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00436e90
mov dword [esp], eax
call fcn.0045b1e0
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov dword [esp + 0x14], edx
call fcn.004388b0
lea eax, [0x627fe2]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.004391b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61c4d9]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00438e30
lea eax, [0x61ee64]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00438e30
call fcn.00438ad0
call fcn.00438920
lea eax, [0x626e78]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00436e90
lea eax, [0x62833b]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.00436e90
nop
int3