Function at 0x45d0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [ebx]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov byte [esp + 0xb], 0
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
cmp byte [ecx + 0x51], 0
jne 0x45dc9f
mov ecx, dword [esp + 0x6c]
push ebp
mov ebp, dword [ebx + 0x14]
push edi
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ebp, ecx
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x1e8]
mov dword [esp + 0x20], ecx
mov edi, dword [ebp]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x45d173
push eax
push ecx
call fcn.004c9ea0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x45d183
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
movzx eax, byte [edi]
mov dword [esp + 0x24], eax
cmp eax, 0x31
jne 0x45d1c6
push edi
push esi
call fcn.00494740
add esp, 8
test eax, eax
jne 0x45dc9d
test dword [edi + 4], 0x800
push dword [edi + 0x14]
mov eax, dword [esp + 0x24]
push eax
je 0x45d1bc
call fcn.0045f6a0
add esp, 8
jmp 0x45d1f2
call fcn.004c9e10
add esp, 8
jmp 0x45d1f2
cmp eax, 0x32
jne 0x45d1db
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
jmp 0x45d1f8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x45d1ee
push eax
push ecx
call fcn.004c9ea0
add esp, 8
jmp 0x45d1f2
xor eax, eax
xor edx, edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edx
mov eax, dword [esp + 0x20]
push edi
push eax
mov dword [eax], 0
call fcn.004c9ea0
mov dword [esp + 0x34], edx
add esp, 8
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
cmp dword [edx], 0
je 0x45d226
mov ecx, 0x1000
or word [ebp + 0xa], cx
test byte [edi + 4], 1
je 0x45d2be
mov edx, dword [edx + 4]
xor ecx, ecx
test edx, edx
jle 0x45d254
mov eax, dword [esp + 0x20]
add eax, 8
movsx ebx, word [edi + 0x24]
cmp dword [eax], ebx
mov ebx, dword [esp + 0x70]
je 0x45d2aa
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45d240
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x28]
or dword [esp + 0x2c], edx
or eax, ecx
mov dword [esp + 0x38], ecx
add dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
adc dword [esp + 0x3c], 0xffffffff
shrd dword [esp + 0x30], eax, 1
shr eax, 1
cmp eax, edx
jb 0x45d2ba
ja 0x45d294
cmp dword [esp + 0x30], ecx
jb 0x45d2ba
push str.ON_clause_references_tables_to_its_right
push esi
call fcn.00493e20
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x58
ret
mov eax, 1
xor edx, edx
call fcn.0040b590
mov ecx, eax
jmp 0x45d258
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x2c], eax
xor eax, eax
mov word [ebp + 0xc], ax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x14], 0xffffffff
mov dword [ebp + 0x10], 0xffffffff
cmp eax, 0x31
je 0x45d42f
cmp eax, 0x35
jl 0x45d2f7
cmp eax, 0x39
jle 0x45d42f
cmp eax, 0x32
je 0x45d42f
cmp eax, 0x2d
je 0x45d42f
mov al, byte [edi]
cmp al, 0x30
jne 0x45d408
cmp byte [ebx + 8], 0x2c
jne 0x45d408
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], eax
nop
mov eax, dword [eax]
test eax, eax
je 0x45d34b
push 0
push 0
push eax
push dword [esp + 0x28]
call fcn.0045e990
add esp, 0x10
mov ebp, eax
jmp 0x45d34d
xor ebp, ebp
mov eax, dword [edi + 0xc]
test eax, eax
je 0x45d367
push 0
push 0
push eax
push dword [esp + 0x28]
call fcn.0045e990
add esp, 0x10
jmp 0x45d369
xor eax, eax
push ebp
push eax
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + 0x4e99e8]
push eax
push esi
call fcn.004a8800
add esp, 0x10
test eax, eax
je 0x45d395
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 3
push eax
push ebx
call fcn.004d6f90
mov esi, eax
push esi
push ebx
push dword [esp + 0x80]
call fcn.0045d0e0
mov ecx, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov eax, dword [esp + 0x8c]
add edx, edx
mov ebp, dword [esp + 0x2c]
add esp, 0x18
mov esi, dword [esp + 0x14]
add ebp, ecx
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov ax, word [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
inc byte [eax + esi + 0xe]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x50], eax
cmp ecx, 2
jl 0x45d330
jmp 0x45d623
cmp al, 0x2b
jne 0x45d623
push dword [esp + 0x74]
push ebx
push dword [esp + 0x74]
call fcn.0045dcb0
mov ebp, dword [ebx + 0x14]
add esp, 0xc
mov eax, dword [esp + 0x14]
add ebp, eax
jmp 0x45d623
push dword [edi + 0xc]
call fcn.00498990
push dword [edi + 0x10]
mov dword [esp + 0x38], eax
call fcn.00498990
mov edx, dword [ebp + 0x20]
add esp, 8
mov ecx, dword [ebp + 0x24]
and edx, dword [esp + 0x40]
and ecx, dword [esp + 0x44]
or edx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], 0x1fff
je 0x45d46c
mov dword [esp + 0x50], 0x800
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x45d483
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*4 - 0x10]
jmp 0x45d487
mov eax, dword [esp + 0x30]
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x80]
call fcn.0045f250
add esp, 0x18
test eax, eax
je 0x45d4cf
mov eax, dword [esp + 0x60]
push dword [esp + 0x24]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x1c], eax
call fcn.0047b7e0
add esp, 4
and ax, word [esp + 0x50]
mov word [ebp + 0xc], ax
mov eax, dword [esp + 0x24]
mov ecx, 0x800
cmp eax, 0x2d
jne 0x45d4e1
or word [ebp + 0xa], cx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x45d623
push eax
push ecx
lea eax, [esp + 0x68]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [esp + 0x80]
call fcn.0045f250
add esp, 0x18
test eax, eax
je 0x45d623
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x58], 0
jl 0x45d67b
mov ebp, dword [esp + 0x1c]
push 0
push edi
push ebp
call fcn.004973e0
add esp, 0xc
mov dword [esp + 0x30], eax
cmp byte [ebp + 0x51], 0
je 0x45d557
test eax, eax
je 0x45dc9d
push eax
push ebp
call fcn.00497330
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x58
ret
push 3
push eax
push ebx
call fcn.004d6f90
add esp, 0xc
test eax, eax
je 0x45dc9d
push dword [esp + 0x74]
lea ebp, [eax + eax*2]
shl ebp, 4
add ebp, dword [ebx + 0x14]
push eax
push ebx
mov dword [esp + 0x60], ebp
call fcn.00478880
add esp, 0xc
cmp dword [esp + 0x24], 0x2d
jne 0x45d596
mov eax, 0x800
or word [ebp + 0xa], ax
mov ebp, dword [ebx + 0x14]
add ebp, dword [esp + 0x14]
push dword [esp + 0x30]
push esi
or word [ebp + 0xa], 8
call fcn.004cec90
add esp, 8
test eax, eax
je 0x45d5c0
mov eax, 0x800
or word [ebp + 0xc], ax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.0045e7e0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
or ecx, dword [esp + 0x44]
or word [edx + 0xa], ax
mov eax, dword [esp + 0x68]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x40]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x24], ecx
movzx eax, byte [eax]
push eax
call fcn.0047b7e0
add ax, word [esp + 0x64]
add esp, 0xc
and ax, word [esp + 0x50]
mov word [edx + 0xc], ax
cmp byte [ebx + 8], 0x2c
jne 0x45dbe2
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push esi
call fcn.00476cd0
add esp, 0x14
test eax, eax
je 0x45d8eb
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x45d68a
push 0
push 0
push ecx
push dword [esp + 0x28]
call fcn.0045e990
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x44], eax
jmp 0x45d692
mov eax, edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x30], eax
jmp 0x45d5c4
mov dword [esp + 0x44], 0
cmp dword [esp + 0x4c], 0
je 0x45d6fa
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x45d6fa
mov eax, 0x400
or word [ebp + 0xa], ax
xor ebp, ebp
mov eax, dword [ecx + 8]
mov dword [esp + 0x54], eax
mov cl, byte [eax]
test cl, cl
je 0x45d6fa
mov esi, dword [esp + 0x34]
mov ebx, eax
mov edi, dword [esp + 0x44]
movzx edx, cl
movzx eax, byte [edx + 0x4e9ba0]
and al, 0x20
not al
and al, cl
mov byte [ebx], al
mov ecx, dword [edi + 8]
movzx eax, byte [edx + 0x4e9aa0]
mov byte [ecx + ebp], al
inc ebp
mov ebx, dword [esi + 8]
add ebx, ebp
mov cl, byte [ebx]
test cl, cl
jne 0x45d6c3
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
cmp byte [ecx + 0x51], 0
jne 0x45d782
mov edx, dword [ebp + 8]
test edx, edx
jne 0x45d717
xor ecx, ecx
jmp 0x45d731
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d720
sub ecx, dword [esp + 0x70]
and ecx, 0x3fffffff
lea eax, [edx - 1]
mov dl, byte [eax + ecx]
add eax, ecx
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x70], eax
je 0x45d76c
xor ecx, ecx
movzx eax, dl
cmp dl, 0x40
sete cl
mov dl, byte [eax + 0x4e9aa0]
dec ecx
and ecx, dword [esp + 0x48]
inc dl
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], dl
jmp 0x45d78a
mov eax, dword [esp + 0x48]
inc dl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x70]
mov byte [eax], dl
jmp 0x45d78a
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x70], str.NOCASE
jne 0x45d7a1
mov dword [esp + 0x70], 0x4e9d50
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45d7b9
push 0
push 0
push eax
push ecx
call fcn.0045e990
add esp, 0x10
jmp 0x45d7bb
xor eax, eax
push dword [esp + 0x34]
push dword [esp + 0x74]
push eax
push esi
call fcn.004940f0
add esp, 0xc
push eax
push 0x39
push esi
call fcn.004a8800
add esp, 0x10
test eax, eax
je 0x45d7ee
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
push eax
push ebx
call fcn.004d6f90
push eax
push ebx
push dword [esp + 0x80]
mov dword [esp + 0x74], eax
call fcn.0045d0e0
mov eax, dword [esp + 0x70]
add esp, 0x18
test eax, eax
je 0x45d82a
push 0
push 0
push eax
push dword [esp + 0x28]
call fcn.0045e990
add esp, 0x10
jmp 0x45d82c
xor eax, eax
push ebp
push dword [esp + 0x74]
push eax
push esi
call fcn.004940f0
add esp, 0xc
push eax
push 0x38
push esi
call fcn.004a8800
add esp, 0x10
test eax, eax
je 0x45d85c
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
push eax
push ebx
call fcn.004d6f90
push eax
push ebx
push dword [esp + 0x80]
mov dword [esp + 0x70], eax
call fcn.0045d0e0
mov ebp, dword [ebx + 0x14]
add esp, 0x18
mov eax, dword [esp + 0x14]
add ebp, eax
cmp dword [esp + 0x50], 0
je 0x45d8eb
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x74]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebx + 0x14]
add edx, edx
mov dword [ecx + edx*8 + 0x10], esi
mov ecx, dword [ebx + 0x14]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
inc byte [eax + ecx + 0xe]
mov ecx, esi
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x14]
add edx, edx
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
inc byte [eax + ecx + 0xe]
cmp byte [ebx + 8], 0x2c
jne 0x45dbe2
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x1b]
push eax
push edi
push dword [esp + 0x2c]
call fcn.004766d0
mov edx, eax
add esp, 0x14
test edx, edx
jle 0x45daeb
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], ecx
jmp 0x45d944
mov esi, dword [esp + 0x18]
dec edx
mov dword [esp + 0x5c], edx
test eax, eax
je 0x45d968
push eax
push dword [esp + 0x24]
call fcn.004c9ea0
mov ecx, dword [esp + 0x78]
add esp, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
jmp 0x45d978
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x45d98b
push ecx
push dword [esp + 0x24]
call fcn.004c9ea0
add esp, 8
jmp 0x45d98f
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x4c]
or eax, edx
jne 0x45dacf
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45d9bc
push 0
push 0
push eax
push dword [esp + 0x28]
call fcn.0045e990
add esp, 0x10
mov ebp, eax
jmp 0x45d9be
xor ebp, ebp
push 0
push 0x34
push dword [esi]
call fcn.00491d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45da23
push 0x34
push 0
push esi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x2e
add esp, 0xc
mov word [esi + 0x22], ax
test ebp, ebp
je 0x45d9fb
mov dword [esi + 0x10], ebp
mov eax, dword [ebp + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.0045f7c0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x45da36
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00493e20
add esp, 0xc
jmp 0x45da36
test ebp, ebp
je 0x45da36
mov eax, dword [esp + 0x18]
push ebp
push dword [eax]
call fcn.00497330
add esp, 8
test byte [edi + 4], 1
je 0x45da4c
test esi, esi
je 0x45da4c
or dword [esi + 4], 1
mov ax, word [edi + 0x24]
mov word [esi + 0x24], ax
push 3
push esi
push ebx
call fcn.004d6f90
mov esi, dword [ebx + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x70]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
shl edx, 4
add esi, edx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
mov eax, 0x40
mov word [esi + 0xc], ax
mov al, byte [esp + 0x13]
mov byte [esi + 0xf], al
mov eax, dword [ebx + 0x14]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
inc byte [eax + ecx + 0xe]
mov ebp, dword [ebx + 0x14]
add ebp, ecx
mov eax, dword [ebp + 0x28]
or word [ebp + 0xa], 8
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x48], eax
test edx, edx
jg 0x45d940
cmp byte [ebx + 8], 0x2c
jne 0x45dbe2
mov al, byte [edi]
cmp al, 0x35
je 0x45db03
cmp al, 0x2d
jne 0x45dbe2
mov esi, dword [edi + 0xc]
mov al, byte [esi]
cmp al, 0xad
jne 0x45db0f
mov al, byte [esi + 2]
cmp al, 0xae
jne 0x45db18
mov eax, dword [esi + 0x14]
jmp 0x45db26
cmp al, 0x88
jne 0x45dbe2
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x70], edx
cmp edx, 1
jle 0x45dbe2
mov eax, dword [edi + 0x10]
push eax
call fcn.00498a60
add esp, 4
cmp eax, edx
jne 0x45dbe2
test dword [esi + 4], 0x800
je 0x45db62
mov eax, dword [edi + 0x10]
test dword [eax + 4], 0x800
jne 0x45dbe2
xor ebp, ebp
test edx, edx
jle 0x45dbcc
push ebp
push dword [edi + 0xc]
push dword [esp + 0x20]
call fcn.00497400
push ebp
push dword [edi + 0x10]
mov esi, eax
push dword [esp + 0x2c]
call fcn.00497400
push eax
movzx eax, byte [edi]
push esi
push eax
push dword [esp + 0x3c]
call fcn.004a8800
add esp, 0x28
test eax, eax
je 0x45dbab
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 1
push eax
push ebx
call fcn.004d6f90
push eax
push ebx
push dword [esp + 0x80]
call fcn.0045d0e0
inc ebp
add esp, 0x18
cmp ebp, dword [esp + 0x70]
jl 0x45db68
mov ebp, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
add ebp, edx
or word [ebp + 0xa], 6
xor eax, eax
mov word [ebp + 0xc], ax
jmp 0x45dbe6
mov edx, dword [esp + 0x14]
cmp byte [ebx + 8], 0x2c
jne 0x45dc8a
cmp byte [edi], 0x31
jne 0x45dc8a
cmp dword [ebp + 0x18], 0
jne 0x45dc8a
mov ecx, dword [edi + 0xc]
cmp byte [ecx], 0xae
jne 0x45dc8a
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x45dc8a
cmp dword [eax + 0x44], 0
jne 0x45dc8a
push ecx
xor ebp, ebp
call fcn.00498a60
add esp, 4
test eax, eax
jle 0x45dc8a
push 2
push edi
push ebx
call fcn.004d6f90
mov ecx, dword [ebx + 0x14]
inc ebp
push eax
push ebx
push dword [esp + 0x80]
lea esi, [eax + eax*2]
add esi, esi
mov dword [ecx + esi*8 + 0x18], ebp
call fcn.0045d0e0
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
mov dword [eax + esi*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov ax, word [ecx + edx + 8]
mov word [ecx + esi*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [eax + edx + 0xe]
push dword [edi + 0xc]
call fcn.00498a60
add esp, 0x1c
cmp ebp, eax
jl 0x45dc31
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x38]
add eax, edx
or dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x3c]
or dword [eax + 0x24], ecx
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x58
ret