Function at 0x482230
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [ebp + 8]
pcmpeqd xmm0, xmm0
mov edi, dword [ecx]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov esi, edx
cmp dword [ebp + 0x20], 0
mov edx, dword [ebp + 0x18]
mov ebx, ecx
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [eax + 4]
je 0x482286
test eax, eax
je 0x4822ad
push str.temporary_trigger_may_not_have_qualified_name
push ebx
mov esi, edx
call fcn.0042af90
mov edx, esi
add esp, 8
jmp 0x4824d3
test eax, eax
je 0x4822b4
cmp byte [edi + 0xa5], 0
je 0x48231a
push str.corrupt_database
push ebx
call fcn.0042af90
add esp, 8
mov edx, dword [ebp + 0x18]
jmp 0x4824d3
mov eax, 1
jmp 0x4822bb
movzx eax, byte [edi + 0xa4]
mov dword [esp + 0x10], esi
test edx, edx
je 0x4824d3
cmp byte [edi + 0x51], 0
jne 0x4824d3
cmp eax, 1
mov dword [esp + 0xc], eax
je 0x4822fc
cmp byte [edi + 0xa5], 0
je 0x4822fc
mov esi, edx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x4822f3
mov ecx, edi
call fcn.004352c0
mov edx, esi
mov dword [esi + 0xc], 0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x482348
mov eax, dword [ebx]
mov esi, edx
mov eax, dword [eax + 0x10]
add eax, 0xfffffff0
nop dword [eax]
cmp dword [eax + 0x1c], ecx
lea eax, [eax + 0x10]
jne 0x482310
jmp 0x48234d
mov ecx, edi
mov edx, esi
call fcn.00491520
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
test eax, eax
mov dword [esp + 0x10], ecx
jns 0x4822bf
push esi
push str.unknown_database__T
push ebx
call fcn.0042af90
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x4824d3
mov esi, edx
lea eax, [edx + 0xc]
xor edx, edx
mov ecx, ebx
push dword [eax]
push dword [esi + 0x10]
call fcn.0042a6e0
add esp, 8
mov edx, dword [esi + 0x18]
test edx, edx
je 0x482382
mov ecx, dword [ebx]
test ecx, ecx
je 0x482374
cmp dword [ecx + 0x1f8], 0
jne 0x482379
dec dword [edx + 0x20]
jne 0x482382
mov esi, eax
call fcn.0046d910
mov eax, esi
mov edx, dword [ebp + 0x18]
test eax, eax
mov dword [edx + 0x18], eax
je 0x482429
inc dword [eax + 0x20]
mov esi, eax
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x48242f
test byte [edx + 0x2d], 2
mov dword [esp + 0x14], esi
jne 0x4823c1
mov esi, dword [esp + 0x14]
cmp byte [edi + 0xa5], 0
jne 0x48247b
jmp 0x482438
mov esi, dword [edx + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 8], ebx
test eax, eax
je 0x48240d
mov edx, dword [eax]
xor ecx, ecx
mov dword [esp + 0x18], eax
jmp 0x4823f0
movzx eax, byte [eax + 0x50ce7b]
cmp al, byte [ebx + 0x50ce7b]
jne 0x482402
inc ecx
movzx eax, byte [edx + ecx]
movzx ebx, byte [esi + ecx]
cmp al, bl
jne 0x4823e0
test al, al
jne 0x4823ef
jmp 0x48245c
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4823cf
push 0
push esi
push str.no_such_index:__s
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0042af90
add esp, 0x10
mov edx, dword [ebp + 0x18]
mov byte [ebx + 0x11], 1
mov ecx, dword [esp + 0xc]
xor esi, esi
cmp byte [edi + 0xa5], 0
jne 0x48247b
test esi, esi
je 0x48247b
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x48247b
mov eax, dword [esi + 0x48]
mov ecx, dword [edi + 0x10]
cmp eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xc]
mov eax, 1
cmove ecx, eax
jmp 0x48247b
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x4c], eax
cmp byte [edi + 0xa5], 0
je 0x482438
cmp byte [edi + 0x51], 0
jne 0x4824d3
mov eax, dword [ebx]
mov dword [esp + 0x20], ebx
mov esi, ecx
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 0x18]
shl esi, 4
cmp dword [esp + 0xc], 1
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + esi]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
mov eax, dword [eax + esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], str.trigger
mov dword [esp + 0x34], eax
sete byte [esp + 0x28]
call fcn.00499cb0
mov edx, dword [ebp + 0x18]
test eax, eax
je 0x482557
mov ecx, edi
call fcn.00469df0
mov eax, dword [ebp + 0x14]
xor esi, esi
test eax, eax
je 0x48254e
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test ecx, ecx
jle 0x48250f
xor esi, esi
jmp 0x4824f5
inc esi
cmp esi, ecx
jge 0x48250f
mov eax, dword [edx + esi*8]
test eax, eax
je 0x4824f0
mov ecx, edi
mov edx, eax
call fcn.004352c0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4824f0
test edx, edx
je 0x48251a
mov ecx, edi
call fcn.004352c0
mov edx, dword [ebp + 0x14]
mov ecx, edi
call fcn.004352c0
mov edx, dword [ebp + 0x1c]
xor esi, esi
test edx, edx
je 0x482534
mov ecx, edi
call fcn.00469b50
cmp dword [ebx + 0xec], 0
jne 0x482546
mov ecx, edi
mov edx, esi
call fcn.0041a960
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x48252d
jmp 0x482534
mov ecx, ebx
call fcn.00499bb0
test eax, eax
je 0x482572
cmp dword [eax + 0x38], 0
je 0x48258e
push str.cannot_create_triggers_on_virtual_tables
jmp 0x48229c
cmp byte [edi + 0xa4], 1
mov edx, dword [ebp + 0x18]
jne 0x4824d3
or byte [edi + 0xa6], 1
jmp 0x4824d3
mov edx, dword [esp + 0x10]
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.00478820
mov edx, dword [ebp + 0x18]
test eax, eax
je 0x4824d3
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
mov edx, eax
mov ecx, ebx
push dword [esi]
push str.trigger
mov esi, eax
call fcn.00491130
mov edx, esi
add esp, 8
test eax, eax
jne 0x482812
mov al, byte [ebx + 0xc8]
mov dword [esp + 8], edx
cmp al, 1
mov byte [esp + 0x1c], al
ja 0x482616
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.00468230
test eax, eax
je 0x482616
cmp dword [ebp + 0x24], 0
je 0x48270a
mov edx, dword [esp + 0xc]
mov ecx, ebx
call fcn.0048f7c0
jmp 0x48280e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x4827bd
movzx edx, byte [eax]
xor ecx, ecx
test edx, edx
je 0x4826ed
mov esi, ebx
mov bh, dl
and bh, 0xdf
cmp bh, 0x53
jne 0x4826f7
movzx edx, byte [eax + 1]
test edx, edx
je 0x482721
mov ebx, edx
and bl, 0xdf
cmp bl, 0x51
jne 0x482728
movzx edx, byte [eax + 2]
test edx, edx
je 0x482738
mov ebx, edx
and bl, 0xdf
cmp bl, 0x4c
jne 0x48273f
movzx edx, byte [eax + 3]
test edx, edx
je 0x48274f
mov ebx, edx
and bl, 0xdf
cmp bl, 0x49
jne 0x482756
movzx edx, byte [eax + 4]
test edx, edx
je 0x482766
mov ebx, edx
and bl, 0xdf
cmp bl, 0x54
jne 0x48276d
movzx edx, byte [eax + 5]
test edx, edx
je 0x48277d
mov ebx, edx
and bl, 0xdf
cmp bl, 0x45
jne 0x482784
movzx edx, byte [eax + 6]
test edx, edx
je 0x482794
cmp dl, 0x5f
mov ebx, esi
je 0x4827ad
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f6
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, str.sqlite_
jmp 0x48279b
lea ecx, [edx + 0x50ce7b]
mov edx, str.sqlite_
movzx ecx, byte [ecx]
jmp 0x482799
push dword [esp + 0x10]
push str.trigger__T_already_exists
push ebx
call fcn.0042af90
add esp, 0xc
jmp 0x48280e
mov edx, 0x5139f1
jmp 0x482799
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f1
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, 0x5139f2
jmp 0x482799
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f2
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, 0x5139f3
jmp 0x482799
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f3
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, 0x5139f4
jmp 0x482799
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f4
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, 0x5139f5
jmp 0x482799
lea ecx, [edx + 0x50ce7b]
mov edx, 0x5139f5
movzx ecx, byte [ecx]
jmp 0x482799
mov edx, 0x5139f6
mov ebx, esi
movzx edx, byte [edx]
movzx edx, byte [edx + 0x50ce7b]
cmp ecx, edx
mov ecx, dword [esp + 0x14]
jne 0x4827bd
push str.cannot_create_trigger_on_system_table
push ebx
call fcn.0042af90
add esp, 8
jmp 0x48280e
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
cmp edx, 0x41
je 0x4827f2
test ecx, ecx
je 0x4827f2
cmp edx, 0x21
mov eax, str.BEFORE
mov ecx, str.AFTER
cmove ecx, eax
push 0
push dword [ebp + 0x18]
push ecx
push str.cannot_create__s_trigger_on_view:__S
push ebx
call fcn.0042af90
add esp, 0x14
jmp 0x48280e
cmp edx, 0x41
jne 0x48281e
test ecx, ecx
jne 0x48281e
push 0
push dword [ebp + 0x18]
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push ebx
call fcn.0042af90
add esp, 0x10
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.004352c0
jmp 0x4822a5
cmp byte [esp + 0x1c], 1
mov edx, dword [esp + 8]
jbe 0x48290f
mov esi, edx
mov edx, 0x24
mov ecx, edi
push 0
call fcn.0042cf30
mov edx, esi
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x482812
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
mov ecx, edi
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi], edx
mov edx, dword [eax + 0x10]
call fcn.00427a70
mov dword [esi + 4], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 8], ebx
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + edx + 0xc]
mov dl, 2
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x48]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov byte [esi + 8], cl
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffdf
and ecx, 0xffffffdf
cmp ecx, 1
sbb dl, 0
mov byte [esi + 9], dl
cmp byte [ebx + 0xc8], 2
jb 0x4829cf
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx + 0x110]
test ecx, ecx
je 0x4829fb
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 0x10]
cmp dword [ecx], edx
je 0x4829f9
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4828fb
jmp 0x4829fb
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x48]
mov ecx, dword [edi + 0x10]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x482937
mov ecx, dword [esp + 0x10]
mov esi, 0xffffffff
add ecx, 0xc
inc esi
cmp dword [ecx], edx
lea ecx, [ecx + 0x10]
jne 0x48292d
jmp 0x48293c
mov esi, 0xfff0bdc0
mov edx, dword [esp + 0x10]
mov ecx, esi
shl ecx, 4
cmp dword [ebp + 0x20], 0
mov ecx, dword [edx + ecx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ecx
je 0x482961
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0xc], ecx
xor ecx, ecx
cmp esi, 1
mov edx, 5
setne cl
cmp dword [ebp + 0x20], 0
lea ecx, [ecx + ecx + 5]
cmove edx, ecx
mov ecx, ebx
push dword [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.004910a0
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x482812
cmp esi, 1
mov edx, 0x12
mov eax, str.sqlite_temp_master
mov esi, str.sqlite_master
mov ecx, ebx
cmove esi, eax
push dword [esp + 0x1c]
push 0
push esi
call fcn.004910a0
mov edx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x482812
jmp 0x48282d
cmp dword [ebp + 0x1c], 0
je 0x4829ee
mov ebx, dword [ebp + 0x1c]
mov ecx, edi
mov edx, ebx
push 0
push 1
call fcn.0048fa30
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x4829fe
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0xc], ecx
jmp 0x4829fe
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov ecx, edi
mov dword [ebx + 0xec], esi
call fcn.00469df0
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x48252d
jmp 0x482534