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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2b0
mov dword [ebp - 0x1ec], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp word [edx], 0x20
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1e8], eax
jbe 0x45672a
push 0x20
push 0x6ab588
push dword [ebp + 8]
call fcn.0042f5d4
jmp 0x457e28
lea eax, [ebp - 0x9c]
lea ebx, [ebp - 0x1cc]
push 0x84
push 0
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00455970
mov edx, esi
mov eax, ebx
push 0x3c
call fcn.00455a3f
mov ecx, dword [ebp + 0xc]
push 1
movsx eax, word [ecx]
shl eax, 6
add eax, 0x58
push eax
call fcn.004301b5
mov dword [ebp - 0x1e4], eax
call fcn.0042fff0
add esp, 0x18
test eax, eax
jne 0x457e12
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push dword [ebp - 0x1e8]
call fcn.004303fd
test esi, esi
mov dword [ebx + 0x10], eax
pop edi
je 0x4567d1
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x4567ba
push esi
call fcn.0044b7e1
pop ebx
test eax, eax
je 0x4567d1
mov ebx, dword [ebp - 0x1e4]
push 1
push dword [ebx + 0x10]
push esi
push dword [ebp + 8]
call fcn.0044cfc2
add esp, 0x10
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
test eax, eax
jle 0x456809
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x9c]
add ecx, 0x1a
mov dword [ebp - 0x1e0], eax
movsx eax, word [ecx]
add ecx, 0x24
mov dword [ebp + edx*4 - 0x98], eax
inc edx
dec dword [ebp - 0x1e0]
jne 0x4567ed
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0x1cc]
lea edx, [ebp - 0x9c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00456418
call fcn.0042fff0
pop ecx
test eax, eax
jne 0x457e12
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1e4]
mov dword [ebp - 0x1f0], 0xffffffff
add edi, 0x18
movsx edx, word [ecx]
mov dword [ebp - 0x1fc], 0xffffffff
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], edx
jge 0x457176
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], 0
imul eax, eax, 0x24
fld qword [0x6ab5e0]
lea eax, [ecx + eax + 4]
cmp dword [ebp - 0x200], edx
fstp qword [ebp - 0x214]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x1f4], eax
jge 0x4570db
cmp dword [ebp - 0x21c], 0
je 0x456905
mov ebx, dword [ebp - 0x1f4]
movzx eax, byte [ebx + 0x15]
test al, 0xa
jne 0x4570db
cmp dword [ebp - 0x200], 0
jle 0x456905
movzx eax, byte [ebx - 0xf]
test al, 0xa
jne 0x4570db
mov eax, dword [ebp - 0x1f4]
movsx edx, word [eax + 0x16]
lea eax, [ebp - 0x9c]
call fcn.00455a87
test dword [ebp - 0x1f0], eax
jne 0x456946
mov edx, dword [ebp - 0x1f8]
cmp dword [ebp - 0x200], edx
jne 0x4570bd
mov ecx, dword [ebp - 0x200]
inc ecx
mov dword [ebp - 0x1f8], ecx
jmp 0x4570bd
cmp dword [ebp - 0x1e0], 0
sete dl
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp + 0x14], 0
setne al
test edx, eax
je 0x456972
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x1f4]
fld qword [0x6ab5e0]
movsx eax, word [eax + 0x16]
mov dword [ebp - 0x238], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x230], 0
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x234], 0
fstp qword [ebp - 0x22c]
test esi, esi
jne 0x456a22
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0
push 0x3f
push 0
push 0xffffffffffffffff
call fcn.00455bb1
add esp, 0x10
test eax, eax
jne 0x456a22
cmp dword [ebp - 0x220], 0
je 0x456a02
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x238]
call fcn.00456445
pop edx
test eax, eax
jne 0x456a22
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d8], 0
jmp 0x456a74
push 0
push 3
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456aad
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x230], 1
test byte [eax + 0xa], 2
je 0x456a7b
mov dword [ebp - 0x1d4], 0x4001
mov dword [ebp - 0x1d8], 1
fldz
jmp 0x45706e
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x456aa1
fild dword [eax]
sub esp, 8
fst qword [ebp - 0x22c]
fstp qword [esp]
call fcn.0045647a
pop ebx
pop eax
fmul qword [ebp - 0x22c]
jmp 0x456aa7
fld dword [0x6ab5e8]
fstp qword [ebp - 0x22c]
test esi, esi
je 0x456ac2
mov eax, dword [esi + 0xc]
xor edx, edx
mov eax, dword [eax]
push edx
push eax
fild qword [esp]
add esp, 8
jmp 0x456ac8
fld dword [0x6ab5ec]
push 0
push 0x3c
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
mov dword [ebp - 0x23c], 2
fstp qword [ebp - 0x244]
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456b82
push 0
push 0x18
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456b40
fld qword [ebp - 0x244]
fmul qword [0x6ab5f0]
mov dword [ebp - 0x23c], 0x102
fstp qword [ebp - 0x244]
push 0
push 0x24
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456b8c
fld qword [ebp - 0x244]
fmul qword [0x6ab5f0]
or dword [ebp - 0x23c], 0x200
fstp qword [ebp - 0x244]
jmp 0x456b8c
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x220], 0
je 0x456bf6
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x238]
call fcn.00456445
pop ecx
test eax, eax
je 0x456bd1
or dword [ebp - 0x23c], 0x1002
cmp dword [ebp - 0x1dc], 0
je 0x456bf6
or dword [ebp - 0x23c], 0x2000
jmp 0x456bf6
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.0045647a
pop eax
pop edx
fmul qword [ebp - 0x244]
fadd qword [ebp - 0x244]
fstp qword [ebp - 0x244]
fld qword [ebp - 0x244]
fcom qword [ebp - 0x22c]
fnstsw ax
sahf
jae 0x456c1b
mov eax, dword [ebp - 0x23c]
fstp qword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
jmp 0x456c1d
fstp st(0)
test esi, esi
je 0x457044
xor edx, edx
mov dword [ebp - 0x23c], 0
cmp edx, dword [esi + 4]
mov dword [ebp - 0x248], 0
fld1
jge 0x456cca
mov eax, dword [esi + 8]
push esi
push 3
mov ecx, dword [ebp - 0x248]
push dword [ebp - 0x1f0]
push dword [eax + ecx*4]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
fstp qword [ebp - 0x2bc]
call fcn.00455bb1
add esp, 0x10
fld qword [ebp - 0x2bc]
test eax, eax
je 0x456cca
or dword [ebp - 0x23c], 0x10
test byte [eax + 0xa], 1
je 0x456cb6
mov eax, dword [eax]
or dword [ebp - 0x23c], 0x40
cmp dword [eax + 0x38], 0
je 0x456ca3
fmul dword [0x6ab5f8]
jmp 0x456cb6
mov eax, dword [eax + 0x10]
test eax, eax
je 0x456cb6
mov eax, dword [eax]
inc eax
push eax
fild dword [esp]
fmulp st(1)
add esp, 4
inc dword [ebp - 0x248]
mov ebx, dword [ebp - 0x248]
cmp ebx, dword [esi + 4]
jmp 0x456c40
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x248]
xor edx, edx
mov eax, dword [eax + ecx*4]
push edx
push eax
fild qword [esp]
fmul st(1)
fxch st(1)
fstp qword [esp]
fstp qword [ebp - 0x244]
call fcn.0045647a
pop ebx
pop eax
fmul qword [ebp - 0x244]
fstp qword [ebp - 0x244]
cmp byte [esi + 0x18], 0
je 0x456d21
test byte [ebp - 0x23c], 0x40
jne 0x456d21
mov eax, dword [ebp - 0x248]
cmp eax, dword [esi + 4]
jne 0x456d21
or dword [ebp - 0x23c], 0x4000
mov edx, dword [ebp - 0x248]
cmp edx, dword [esi + 4]
jge 0x456ddf
mov eax, dword [esi + 8]
mov ebx, dword [eax + edx*4]
push esi
push 0x3c
mov edx, dword [ebp - 0x238]
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x1cc]
push ebx
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456ddf
push esi
push 0x18
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
or dword [ebp - 0x23c], 0x20
push ebx
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456da1
fld qword [ebp - 0x244]
fmul qword [0x6ab5f0]
or dword [ebp - 0x23c], 0x100
fstp qword [ebp - 0x244]
push esi
push 0x24
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push ebx
call fcn.00455bb1
add esp, 0x10
test eax, eax
je 0x456ddf
fld qword [ebp - 0x244]
fmul qword [0x6ab5f0]
or dword [ebp - 0x23c], 0x200
fstp qword [ebp - 0x244]
cmp dword [ebp - 0x220], 0
je 0x456f9f
test byte [ebp - 0x23c], 0x40
jne 0x456f7a
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x254], 0
mov edx, dword [edx]
mov eax, dword [eax]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x25c], ecx
cmp dword [ebp - 0x254], edx
jge 0x456f36
xor ebx, ebx
cmp ebx, dword [esi + 4]
jge 0x456f28
mov eax, dword [ebp - 0x25c]
mov ebx, dword [eax]
cmp byte [ebx], 0x94
jne 0x456f7a
mov edx, dword [ebp - 0x238]
cmp dword [ebx + 0x24], edx
jne 0x456f7a
push ebx
push dword [ebp + 8]
call fcn.0044ac82
pop edx
test eax, eax
pop ecx
mov edx, eax
jne 0x456e90
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x24c]
mov eax, dword [eax + ecx*4]
cmp dword [ebx + 0x28], eax
jne 0x456eb4
mov eax, dword [esi + 0x2c]
push dword [eax + ecx*4]
push dword [edx]
call fcn.0042f68a
pop ecx
test eax, eax
pop ebx
je 0x456ec7
mov ebx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], ebx
jl 0x456f09
jmp 0x456f7a
mov ecx, dword [ebp - 0x25c]
mov edx, dword [esi + 0x28]
mov ebx, dword [ebp - 0x24c]
mov al, byte [ecx + 8]
xor al, byte [ebx + edx]
mov edx, dword [ebp - 0x248]
movzx eax, al
cmp ebx, edx
jle 0x456ef6
cmp eax, dword [ebp - 0x254]
je 0x456efc
jmp 0x456f7a
mov dword [ebp - 0x254], eax
inc dword [ebp - 0x250]
add dword [ebp - 0x25c], 0xc
mov ecx, dword [ebp - 0x258]
inc dword [ebp - 0x24c]
cmp dword [ebp - 0x250], ecx
jge 0x456f36
mov ebx, dword [ebp - 0x24c]
jmp 0x456e4d
mov eax, dword [ebp - 0x258]
cmp dword [ebp - 0x250], eax
jl 0x456f7a
xor eax, eax
cmp dword [ebp - 0x254], 0
setne al
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x23c], 0
jne 0x456f5b
mov dword [ebp - 0x23c], 0x20
or dword [ebp - 0x23c], 0x1000
cmp dword [ebp - 0x1dc], 0
je 0x456f9f
or dword [ebp - 0x23c], 0x2000
jmp 0x456f9f
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.0045647a
pop eax
pop edx
fmul qword [ebp - 0x244]
fadd qword [ebp - 0x244]
fstp qword [ebp - 0x244]
cmp dword [ebp - 0x23c], 0
je 0x457003
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x20]
test eax, eax
js 0x457003
mov ecx, dword [esi + 4]
xor ebx, ebx
mov edx, eax
mov dword [ebp - 0x2b0], ecx
cmp ebx, ecx
jge 0x456fe3
mov eax, dword [esi + 8]
mov ecx, dword [eax + ebx*4]
cmp ecx, 0x1e
ja 0x456fda
mov eax, 0xfffffffe
rol eax, cl
and edx, eax
inc ebx
cmp ebx, dword [ebp - 0x2b0]
jmp 0x456fc4
test edx, edx
jne 0x457003
fld qword [ebp - 0x244]
fmul dword [0x6ab5fc]
or dword [ebp - 0x23c], 0x800
fstp qword [ebp - 0x244]
fld qword [ebp - 0x244]
fcom qword [ebp - 0x22c]
fnstsw ax
sahf
jae 0x45703a
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x248]
fstp qword [ebp - 0x22c]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], edx
jmp 0x45703c
fstp st(0)
mov esi, dword [esi + 0x20]
jmp 0x456c1d
mov ecx, dword [ebp - 0x224]
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1d8], eax
fld qword [ebp - 0x22c]
fcom qword [ebp - 0x214]
fnstsw ax
sahf
jae 0x4570bb
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1d4]
mov ebx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x200]
fstp qword [ebp - 0x214]
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], eax
jmp 0x4570bd
fstp st(0)
mov edx, dword [ebp + 0xc]
inc dword [ebp - 0x200]
movsx eax, word [edx]
add dword [ebp - 0x1f4], 0x24
cmp dword [ebp - 0x200], eax
jmp 0x4568cf
test dword [ebp - 0x208], 0x1000
je 0x4570f0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov ebx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x204]
mov edx, dword [ebp - 0x20c]
and dword [ebp - 0x1fc], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
test eax, eax
je 0x457134
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
lea eax, [edx + 1]
mov dword [ecx + 0x18], eax
mov dword [edi + 0x18], edx
jmp 0x45713b
mov dword [edi + 0x18], 0xffffffff
imul eax, dword [ebp - 0x218], 0x24
mov ebx, dword [ebp + 0xc]
movsx edx, word [ebx + eax + 0x1a]
lea eax, [ebp - 0x9c]
call fcn.00455a87
inc dword [ebp - 0x1e0]
not eax
and dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x218]
movsx edx, word [ebx]
mov dword [edi], eax
add edi, 0x40
jmp 0x456863
shr dword [ebp - 0x1fc], 0xe
xor eax, eax
cmp dword [ebp + 0x14], 0
setne al
test dword [ebp - 0x1fc], eax
je 0x457197
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043d5c1
pop ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1e4]
add edi, 0x18
pop ebx
cmp word [ecx], 0
mov dword [ebp - 0x1e0], 0
jle 0x457395
mov ebx, dword [edi + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], ebx
cmp byte [eax + 0x7c], 2
jne 0x45724b
imul eax, dword [edi], 0x24
mov edx, dword [ebp + 0xc]
lea ebx, [edx + eax + 4]
push dword [ebx + 4]
push str.TABLE__s
call fcn.00440637
pop esi
pop edx
mov edx, dword [ebx + 8]
test edx, edx
je 0x457204
push edx
push eax
push str._z_AS__s
call fcn.00440637
add esp, 0xc
mov esi, dword [edi + 0x10]
test esi, esi
je 0x45721d
push dword [esi]
push eax
push str._z_WITH_INDEX__s
call fcn.00440637
add esp, 0xc
jmp 0x457230
test byte [edi + 4], 3
je 0x457230
push eax
push str._z_USING_PRIMARY_KEY
call fcn.00440637
pop edx
pop ecx
push 0xffffffffffffffff
push eax
push dword [edi]
push dword [ebp - 0x1e0]
push 0x71
push dword [ebp - 0x1e8]
call fcn.0043076c
add esp, 0x18
imul eax, dword [edi], 0x24
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x1f4], eax
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
push dword [ebx + 0x3c]
push dword [eax]
call fcn.0043ef88
pop ecx
pop esi
mov dword [ebp - 0x264], eax
cmp byte [ebx + 0x1d], 0
jne 0x45737a
cmp dword [ebx + 0x18], 0
jne 0x45737a
test byte [edi + 5], 8
jne 0x4572e1
mov edx, dword [ebp - 0x1f4]
push 0xc
push ebx
push eax
movsx eax, word [edx + 0x16]
push eax
push dword [ebp + 8]
call fcn.0044d707
add esp, 0x14
cmp dword [ebx + 4], 0x1f
ja 0x4572f9
mov ecx, dword [ebp - 0x1f4]
xor edx, edx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4572c1
inc edx
shr eax, 1
jmp 0x4572ba
push edx
push dword [ebp - 0x1e8]
call fcn.0043045e
dec eax
mov dword [esp], eax
push dword [ebp - 0x1e8]
call fcn.0043052f
add esp, 0xc
jmp 0x4572f9
push dword [ebx]
push 0
push dword [ebx + 0x14]
push dword [ebp - 0x264]
push dword [ebp + 8]
call fcn.0043b425
add esp, 0x14
mov ebx, dword [ebp - 0x1f4]
mov esi, dword [edi + 0x10]
test esi, esi
movsx eax, word [ebx + 0x16]
mov dword [edi + 0x14], eax
je 0x457349
push esi
push dword [ebp + 8]
call fcn.0043cd09
push 0
push dword [ebp - 0x264]
push 0x2d
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0xfffffffffffffff7
push ebx
push dword [esi + 0x14]
push dword [ebp - 0x268]
push 0xc
push dword [ebp - 0x1e8]
call fcn.0043076c
add esp, 0x30
test byte [edi + 5], 8
je 0x45736a
mov eax, dword [esi + 4]
inc eax
push eax
push dword [ebp - 0x268]
push 0x64
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
push dword [ebp - 0x264]
push dword [ebp + 8]
call fcn.0043d5c1
pop eax
pop edx
mov edx, dword [ebp + 0xc]
inc dword [ebp - 0x1e0]
movsx eax, word [edx]
add edi, 0x40
cmp dword [ebp - 0x1e0], eax
jl 0x4571c3
push dword [ebp - 0x1e8]
call fcn.0043045e
mov ecx, dword [ebp - 0x1e4]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
mov dword [ecx + 8], eax
add edi, 0x18
mov dword [ebp - 0x1f0], 0xffffffff
pop eax
cmp word [ebx], 0
mov dword [ebp - 0x1e0], 0
jle 0x457df4
imul eax, dword [edi], 0x24
mov edx, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x274], ebx
lea eax, [edx + eax + 4]
mov dword [ebp - 0x1f4], eax
movsx ecx, word [eax + 0x16]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x278], eax
mov eax, dword [edi + 4]
mov edx, eax
push dword [ebp - 0x1e8]
shr edx, 0xd
shr eax, 0xb
and edx, 1
and eax, 1
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], eax
call fcn.004303fd
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x284], eax
push dword [ebp - 0x1e8]
call fcn.004303fd
cmp dword [edi], 0
mov dword [edi + 0x20], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x1ec], eax
pop esi
pop eax
jle 0x45748f
mov ecx, dword [ebp - 0x1f4]
test byte [ecx - 0xf], 8
je 0x45748f
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 0
jne 0x45746a
mov dword [ebx + 0x1c], 1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
lea edx, [eax + 1]
mov dword [ecx + 0x1c], edx
mov dword [edi + 0xc], eax
push eax
push 0
push 0x2e
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
mov eax, dword [edi + 4]
test al, 1
je 0x457501
push 0
push 3
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455bb1
push edi
mov edx, eax
push dword [ebp - 0x284]
mov eax, dword [ebp + 8]
call fcn.0045656d
push dword [ebp - 0x284]
push 1
push 0x21
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x28
push dword [ebp - 0x284]
push dword [ebp - 0x270]
push 0x2a
push dword [ebp - 0x1e8]
call fcn.004303a1
mov dword [edi + 0x28], 0x13
jmp 0x457cd2
test al, 2
je 0x457701
push 0
push 0x24
push dword [ebp - 0x1f0]
lea ebx, [ebp - 0x1cc]
mov edx, dword [ebp - 0x270]
mov eax, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x28c], 0x13
call fcn.00455bb1
push 0
push 0x18
push dword [ebp - 0x1f0]
mov esi, eax
mov edx, dword [ebp - 0x270]
mov eax, ebx
push 0xffffffffffffffff
call fcn.00455bb1
add esp, 0x20
cmp dword [ebp - 0x280], 0
mov dword [ebp - 0x290], eax
je 0x457569
mov ebx, esi
mov esi, eax
mov dword [ebp - 0x290], ebx
test esi, esi
je 0x4575d0
mov ebx, dword [esi]
push dword [ebx + 0xc]
push dword [ebp + 8]
call fcn.0044c1b0
push dword [ebp - 0x284]
mov al, byte [ebx]
sub eax, 0x44
cmp al, 1
setbe al
movzx eax, al
push eax
push 0x6e
push dword [ebp - 0x1e8]
call fcn.004303a1
push dword [ebp - 0x284]
cmp dword [ebp - 0x280], 1
push dword [ebp - 0x270]
sbb eax, eax
and eax, 0x18
add eax, 0x60
push eax
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x28
mov edx, esi
mov eax, edi
call fcn.004564af
jmp 0x4575fa
push dword [ebp - 0x284]
cmp dword [ebp - 0x280], 1
push dword [ebp - 0x270]
sbb eax, eax
and eax, 0x46
add eax, 0x31
push eax
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
cmp dword [ebp - 0x290], 0
je 0x457687
mov eax, dword [ebp - 0x290]
mov ebx, dword [eax]
push dword [ebx + 0xc]
push dword [ebp + 8]
call fcn.0044c1b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + 1]
mov dword [ecx + 0x1c], eax
mov dword [edi + 8], edx
push 1
push edx
push 0x76
push dword [ebp - 0x1e8]
call fcn.004303a1
mov al, byte [ebx]
add esp, 0x18
cmp al, 0x46
sete dl
cmp al, 0x44
sete al
or eax, edx
test al, 1
je 0x457665
cmp dword [ebp - 0x280], 1
sbb ebx, ebx
and ebx, 2
add ebx, 0x45
mov dword [ebp - 0x28c], ebx
jmp 0x45767a
cmp dword [ebp - 0x280], 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x46
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x290]
mov eax, edi
call fcn.004564af
push dword [ebp - 0x1e8]
call fcn.0043045e
pop ebx
cmp dword [ebp - 0x280], 1
sbb edx, edx
mov dword [edi + 0x30], eax
and edx, 0x39
add edx, 0x2f
mov dword [edi + 0x28], edx
mov edx, dword [ebp - 0x270]
mov dword [edi + 0x2c], edx
cmp dword [ebp - 0x28c], 0x13
je 0x457cd5
push 0
push edx
push 0x23
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
push dword [ebp - 0x284]
push 0x63
push dword [ebp - 0x28c]
push dword [ebp - 0x1e8]
call fcn.004303a1
jmp 0x457cd2
test al, 0x20
je 0x457b2a
mov esi, dword [edi + 0x34]
mov edx, edi
push dword [ebp - 0x284]
shr eax, 8
push dword [ebp - 0x1f0]
mov ecx, eax
shr eax, 1
and ecx, 1
and eax, 1
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x1cc]
push eax
mov eax, dword [ebp + 8]
call fcn.00456616
mov dword [ebp - 0x26c], 0
add esp, 0xc
cmp dword [ebp - 0x26c], esi
jge 0x457781
mov dword [ebp - 0x26c], esi
lea eax, [esi - 1]
push 0
push eax
push 0x5a
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
dec dword [ebp - 0x26c]
jne 0x45775d
mov dword [ebp - 0x26c], esi
mov edx, dword [ebp - 0x274]
mov ebx, dword [ebp - 0x2a8]
add ebx, esi
mov dword [ebp - 0x29c], 0x24
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x2a4], ebx
mov edx, 0x18
cmp byte [esi + eax], 0
je 0x4577d1
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2ac]
mov dl, 0x24
mov dword [ebp - 0x29c], 0x18
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2a8], 0
je 0x457839
mov ebx, dword [ebp - 0x274]
mov eax, dword [ebx + 8]
push ebx
push edx
mov edx, dword [ebp - 0x26c]
push dword [ebp - 0x1f0]
push dword [eax + edx*4]
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x1cc]
call fcn.00455bb1
mov ebx, eax
mov eax, dword [eax]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0044c1b0
mov edx, ebx
movzx ecx, word [ebx + 0xa]
mov eax, edi
and ecx, 0x28
mov dword [ebp - 0x294], ecx
call fcn.004564af
add esp, 0x18
mov dword [ebp - 0x2a0], 0x3a
jmp 0x45785c
xor eax, eax
test esi, esi
setg al
dec eax
mov dword [ebp - 0x294], 1
and eax, 0xffffffd9
add eax, 0x3a
mov dword [ebp - 0x2a0], eax
cmp eax, 0x13
je 0x4578c2
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2a8]
mov ecx, dword [eax + 0x1c]
lea edx, [esi + ebx]
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [ebx + 0x1c], eax
mov dword [edi + 8], ecx
push dword [ebp - 0x274]
push dword [ebp - 0x284]
mov eax, dword [ebp - 0x1e8]
push esi
call fcn.004564f8
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x4578b9
push dword [ebp - 0x284]
cmp dword [ebp - 0x294], 1
push dword [ebp - 0x278]
sbb eax, eax
and eax, 0x21
add eax, 0x3f
push eax
jmp 0x4578d9
push 1
push dword [edi + 8]
push 0x76
jmp 0x4578d9
cmp dword [ebp - 0x280], 0
je 0x4578e7
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x31
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
mov dword [ebp - 0x298], 1
cmp dword [ebp - 0x2ac], 0
je 0x457952
mov edx, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 8]
push edx
push dword [ebp - 0x29c]
push dword [ebp - 0x1f0]
push dword [eax + ecx*4]
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x1cc]
call fcn.00455bb1
mov ebx, eax
mov eax, dword [eax]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0044c1b0
mov edx, ebx
movzx eax, word [ebx + 0xa]
and eax, 0x28
mov dword [ebp - 0x298], eax
mov eax, edi
call fcn.004564af
add esp, 0x18
test esi, esi
setg dl
cmp dword [ebp - 0x2ac], 0
setne al
or eax, edx
test al, 1
je 0x4579de
push dword [ebp - 0x274]
push dword [ebp - 0x284]
mov ecx, dword [ebp - 0x2ac]
push 0
mov eax, dword [ebp - 0x1e8]
lea edx, [esi + ecx]
call fcn.004564f8
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x4579c0
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x1c]
lea eax, [edx + 1]
mov dword [ebx + 0x1c], eax
mov dword [edi + 8], edx
push 1
push edx
push 0x76
push dword [ebp - 0x1e8]
call fcn.004303a1
mov dword [ebp - 0x2a0], 0x24
jmp 0x457a0c
push dword [ebp - 0x284]
cmp dword [ebp - 0x298], 1
push dword [ebp - 0x278]
sbb eax, eax
and eax, 0xffffff8e
add eax, 0x78
push eax
jmp 0x457a01
cmp dword [ebp - 0x280], 0
je 0x4579f3
mov dword [ebp - 0x2a0], 0x13
jmp 0x457a0f
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x77
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
push dword [ebp - 0x1e8]
call fcn.0043045e
pop ecx
mov ebx, eax
cmp dword [ebp - 0x2a0], 0x13
je 0x457aa3
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.004303a1
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push dword [ebp - 0x2a0]
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
cmp dword [ebp - 0x294], 0
setne dl
xor eax, eax
cmp dword [ebp - 0x280], 0
sete al
test edx, eax
jne 0x457a8c
cmp dword [ebp - 0x298], 0
sete dl
xor eax, eax
cmp dword [ebp - 0x280], 0
setne al
test edx, eax
je 0x457aa3
push 0xfffffffffffffffe
push 0x6ab5dc
push 0xffffffffffffffff
push dword [ebp - 0x1e8]
call fcn.0043063f
add esp, 0x10
push 0
push dword [ebp - 0x278]
push 7
push dword [ebp - 0x1e8]
call fcn.004303a1
push dword [ebp - 0x288]
push dword [ebp - 0x2a4]
push 0x1e
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
cmp dword [ebp - 0x27c], 0
jne 0x457b0a
push 0
push dword [ebp - 0x278]
push 0x32
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0
push dword [ebp - 0x270]
push 0x78
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
cmp dword [ebp - 0x280], 1
sbb eax, eax
and eax, 0x39
add eax, 0x2f
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x278]
mov dword [edi + 0x2c], eax
jmp 0x457ca5
test al, 0x10
je 0x457caa
mov esi, dword [edi + 0x34]
lea eax, [ebp - 0x1cc]
push dword [ebp - 0x284]
push dword [ebp - 0x1f0]
mov edx, edi
push eax
mov eax, dword [ebp + 8]
call fcn.00456616
mov edx, esi
push dword [ebp - 0x274]
push dword [ebp - 0x284]
mov eax, dword [ebp - 0x1e8]
push 0
call fcn.004564f8
push 0
push dword [edi + 8]
push 0x76
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x28
cmp dword [ebp - 0x280], 0
je 0x457be0
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x3f
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x24
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x10
mov dword [edi + 0x28], 0x2f
jmp 0x457c3a
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x78
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
push 0xfffffffffffffffe
push 0x6ab5dc
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x3a
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.0043076c
mov dword [edi + 0x28], 0x68
add esp, 0x18
push 0
push dword [ebp - 0x278]
push 7
push dword [ebp - 0x1e8]
call fcn.004303a1
push dword [ebp - 0x288]
push esi
push 0x1e
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
cmp dword [ebp - 0x27c], 0
jne 0x457c9c
push 0
push dword [ebp - 0x278]
push 0x32
push dword [ebp - 0x1e8]
call fcn.004303a1
push 0
push dword [ebp - 0x270]
push 0x78
push dword [ebp - 0x1e8]
call fcn.004303a1
add esp, 0x20
mov edx, dword [ebp - 0x278]
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], ebx
jmp 0x457cd5
mov ecx, dword [ebp - 0x270]
mov dword [edi + 0x28], 0x68
mov dword [edi + 0x2c], ecx
push dword [ebp - 0x284]
push ecx
push 0x77
push dword [ebp - 0x1e8]
call fcn.004303a1
inc eax
mov dword [edi + 0x30], eax
add esp, 0x10
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x9c]
call fcn.00455a87
mov ebx, dword [ebp - 0x1c0]
not eax
and dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x26c], eax
test eax, eax
jle 0x457d4f
movzx eax, byte [ebx + 0xc]
test al, 6
jne 0x457d3d
mov edx, dword [ebp - 0x1f0]
test dword [ebx + 0x18], edx
jne 0x457d3d
mov eax, dword [ebx]
cmp dword [edi + 0xc], 0
je 0x457d25
test byte [eax + 2], 1
je 0x457d3d
push 1
push dword [ebp - 0x288]
push eax
push dword [ebp + 8]
call fcn.0044cfc2
add esp, 0x10
or byte [ebx + 0xc], 4
dec dword [ebp - 0x26c]
add ebx, 0x1c
cmp dword [ebp - 0x26c], 0
jmp 0x457d02
cmp dword [edi + 0xc], 0
je 0x457dd9
push dword [ebp - 0x1e8]
call fcn.0043045e
mov dword [edi + 0x24], eax
push dword [edi + 0xc]
push 1
push 0x2e
push dword [ebp - 0x1e8]
call fcn.004303a1
xor ecx, ecx
add esp, 0x14
cmp ecx, dword [ebp - 0x1c8]
mov ebx, dword [ebp - 0x1c0]
mov dword [ebp - 0x26c], 0
jge 0x457dd9
movzx eax, byte [ebx + 0xc]
test al, 6
jne 0x457dc2
mov eax, dword [ebp - 0x1f0]
test dword [ebx + 0x18], eax
jne 0x457dc2
push 1
push dword [ebp - 0x288]
push dword [ebx]
push dword [ebp + 8]
call fcn.0044cfc2
add esp, 0x10
or byte [ebx + 0xc], 4
inc dword [ebp - 0x26c]
add ebx, 0x1c
mov edx, dword [ebp - 0x26c]
cmp edx, dword [ebp - 0x1c8]
jmp 0x457d94
mov ecx, dword [ebp + 0xc]
inc dword [ebp - 0x1e0]
movsx eax, word [ecx]
add edi, 0x40
cmp dword [ebp - 0x1e0], eax
jl 0x4573d0
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1ec]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x1cc]
call fcn.0045598b
mov eax, ebx
jmp 0x457e2a
lea eax, [ebp - 0x1cc]
call fcn.0045598b
push dword [ebp - 0x1e4]
call fcn.0042f550
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret