Function at 0x456788
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 0x4567ca
push 0x20
push 0x52c588
push dword [ebp + 8]
call fcn.0042f674
jmp 0x457ec8
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.00455a10
mov edx, esi
mov eax, ebx
push 0x3c
call fcn.00455adf
mov ecx, dword [ebp + 0xc]
push 1
movsx eax, word [ecx]
shl eax, 6
add eax, 0x58
push eax
call fcn.00430255
mov dword [ebp - 0x1e4], eax
call fcn.00430090
add esp, 0x18
test eax, eax
jne 0x457eb2
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.0043049d
test esi, esi
mov dword [ebx + 0x10], eax
pop edi
je 0x456871
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x45685a
push esi
call fcn.0044b881
pop ebx
test eax, eax
je 0x456871
mov ebx, dword [ebp - 0x1e4]
push 1
push dword [ebx + 0x10]
push esi
push dword [ebp + 8]
call fcn.0044d062
add esp, 0x10
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
test eax, eax
jle 0x4568a9
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 0x45688d
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0x1cc]
lea edx, [ebp - 0x9c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004564b8
call fcn.00430090
pop ecx
test eax, eax
jne 0x457eb2
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 0x457216
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 [0x52c5e0]
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 0x45717b
cmp dword [ebp - 0x21c], 0
je 0x4569a5
mov ebx, dword [ebp - 0x1f4]
movzx eax, byte [ebx + 0x15]
test al, 0xa
jne 0x45717b
cmp dword [ebp - 0x200], 0
jle 0x4569a5
movzx eax, byte [ebx - 0xf]
test al, 0xa
jne 0x45717b
mov eax, dword [ebp - 0x1f4]
movsx edx, word [eax + 0x16]
lea eax, [ebp - 0x9c]
call fcn.00455b27
test dword [ebp - 0x1f0], eax
jne 0x4569e6
mov edx, dword [ebp - 0x1f8]
cmp dword [ebp - 0x200], edx
jne 0x45715d
mov ecx, dword [ebp - 0x200]
inc ecx
mov dword [ebp - 0x1f8], ecx
jmp 0x45715d
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 0x456a12
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 [0x52c5e0]
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 0x456ac2
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0
push 0x3f
push 0
push 0xffffffffffffffff
call fcn.00455c51
add esp, 0x10
test eax, eax
jne 0x456ac2
cmp dword [ebp - 0x220], 0
je 0x456aa2
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x238]
call fcn.004564e5
pop edx
test eax, eax
jne 0x456ac2
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d8], 0
jmp 0x456b14
push 0
push 3
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455c51
add esp, 0x10
test eax, eax
je 0x456b4d
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x230], 1
test byte [eax + 0xa], 2
je 0x456b1b
mov dword [ebp - 0x1d4], 0x4001
mov dword [ebp - 0x1d8], 1
fldz
jmp 0x45710e
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x456b41
fild dword [eax]
sub esp, 8
fst qword [ebp - 0x22c]
fstp qword [esp]
call fcn.0045651a
pop ebx
pop eax
fmul qword [ebp - 0x22c]
jmp 0x456b47
fld dword [0x52c5e8]
fstp qword [ebp - 0x22c]
test esi, esi
je 0x456b62
mov eax, dword [esi + 0xc]
xor edx, edx
mov eax, dword [eax]
push edx
push eax
fild qword [esp]
add esp, 8
jmp 0x456b68
fld dword [0x52c5ec]
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.00455c51
add esp, 0x10
test eax, eax
je 0x456c22
push 0
push 0x18
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455c51
add esp, 0x10
test eax, eax
je 0x456be0
fld qword [ebp - 0x244]
fmul qword [0x52c5f0]
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.00455c51
add esp, 0x10
test eax, eax
je 0x456c2c
fld qword [ebp - 0x244]
fmul qword [0x52c5f0]
or dword [ebp - 0x23c], 0x200
fstp qword [ebp - 0x244]
jmp 0x456c2c
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x220], 0
je 0x456c96
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x238]
call fcn.004564e5
pop ecx
test eax, eax
je 0x456c71
or dword [ebp - 0x23c], 0x1002
cmp dword [ebp - 0x1dc], 0
je 0x456c96
or dword [ebp - 0x23c], 0x2000
jmp 0x456c96
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.0045651a
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 0x456cbb
mov eax, dword [ebp - 0x23c]
fstp qword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
jmp 0x456cbd
fstp st(0)
test esi, esi
je 0x4570e4
xor edx, edx
mov dword [ebp - 0x23c], 0
cmp edx, dword [esi + 4]
mov dword [ebp - 0x248], 0
fld1
jge 0x456d6a
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.00455c51
add esp, 0x10
fld qword [ebp - 0x2bc]
test eax, eax
je 0x456d6a
or dword [ebp - 0x23c], 0x10
test byte [eax + 0xa], 1
je 0x456d56
mov eax, dword [eax]
or dword [ebp - 0x23c], 0x40
cmp dword [eax + 0x38], 0
je 0x456d43
fmul dword [0x52c5f8]
jmp 0x456d56
mov eax, dword [eax + 0x10]
test eax, eax
je 0x456d56
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 0x456ce0
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.0045651a
pop ebx
pop eax
fmul qword [ebp - 0x244]
fstp qword [ebp - 0x244]
cmp byte [esi + 0x18], 0
je 0x456dc1
test byte [ebp - 0x23c], 0x40
jne 0x456dc1
mov eax, dword [ebp - 0x248]
cmp eax, dword [esi + 4]
jne 0x456dc1
or dword [ebp - 0x23c], 0x4000
mov edx, dword [ebp - 0x248]
cmp edx, dword [esi + 4]
jge 0x456e7f
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.00455c51
add esp, 0x10
test eax, eax
je 0x456e7f
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.00455c51
add esp, 0x10
test eax, eax
je 0x456e41
fld qword [ebp - 0x244]
fmul qword [0x52c5f0]
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.00455c51
add esp, 0x10
test eax, eax
je 0x456e7f
fld qword [ebp - 0x244]
fmul qword [0x52c5f0]
or dword [ebp - 0x23c], 0x200
fstp qword [ebp - 0x244]
cmp dword [ebp - 0x220], 0
je 0x45703f
test byte [ebp - 0x23c], 0x40
jne 0x45701a
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 0x456fd6
xor ebx, ebx
cmp ebx, dword [esi + 4]
jge 0x456fc8
mov eax, dword [ebp - 0x25c]
mov ebx, dword [eax]
cmp byte [ebx], 0x94
jne 0x45701a
mov edx, dword [ebp - 0x238]
cmp dword [ebx + 0x24], edx
jne 0x45701a
push ebx
push dword [ebp + 8]
call fcn.0044ad22
pop edx
test eax, eax
pop ecx
mov edx, eax
jne 0x456f30
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 0x456f54
mov eax, dword [esi + 0x2c]
push dword [eax + ecx*4]
push dword [edx]
call fcn.0042f72a
pop ecx
test eax, eax
pop ebx
je 0x456f67
mov ebx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], ebx
jl 0x456fa9
jmp 0x45701a
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 0x456f96
cmp eax, dword [ebp - 0x254]
je 0x456f9c
jmp 0x45701a
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 0x456fd6
mov ebx, dword [ebp - 0x24c]
jmp 0x456eed
mov eax, dword [ebp - 0x258]
cmp dword [ebp - 0x250], eax
jl 0x45701a
xor eax, eax
cmp dword [ebp - 0x254], 0
setne al
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x23c], 0
jne 0x456ffb
mov dword [ebp - 0x23c], 0x20
or dword [ebp - 0x23c], 0x1000
cmp dword [ebp - 0x1dc], 0
je 0x45703f
or dword [ebp - 0x23c], 0x2000
jmp 0x45703f
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.0045651a
pop eax
pop edx
fmul qword [ebp - 0x244]
fadd qword [ebp - 0x244]
fstp qword [ebp - 0x244]
cmp dword [ebp - 0x23c], 0
je 0x4570a3
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x20]
test eax, eax
js 0x4570a3
mov ecx, dword [esi + 4]
xor ebx, ebx
mov edx, eax
mov dword [ebp - 0x2b0], ecx
cmp ebx, ecx
jge 0x457083
mov eax, dword [esi + 8]
mov ecx, dword [eax + ebx*4]
cmp ecx, 0x1e
ja 0x45707a
mov eax, 0xfffffffe
rol eax, cl
and edx, eax
inc ebx
cmp ebx, dword [ebp - 0x2b0]
jmp 0x457064
test edx, edx
jne 0x4570a3
fld qword [ebp - 0x244]
fmul dword [0x52c5fc]
or dword [ebp - 0x23c], 0x800
fstp qword [ebp - 0x244]
fld qword [ebp - 0x244]
fcom qword [ebp - 0x22c]
fnstsw ax
sahf
jae 0x4570da
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 0x4570dc
fstp st(0)
mov esi, dword [esi + 0x20]
jmp 0x456cbd
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 0x45715b
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 0x45715d
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 0x45696f
test dword [ebp - 0x208], 0x1000
je 0x457190
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 0x4571d4
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 0x4571db
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.00455b27
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 0x456903
shr dword [ebp - 0x1fc], 0xe
xor eax, eax
cmp dword [ebp + 0x14], 0
setne al
test dword [ebp - 0x1fc], eax
je 0x457237
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043d661
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 0x457435
mov ebx, dword [edi + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], ebx
cmp byte [eax + 0x7c], 2
jne 0x4572eb
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.004406d7
pop esi
pop edx
mov edx, dword [ebx + 8]
test edx, edx
je 0x4572a4
push edx
push eax
push str._z_AS__s
call fcn.004406d7
add esp, 0xc
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4572bd
push dword [esi]
push eax
push str._z_WITH_INDEX__s
call fcn.004406d7
add esp, 0xc
jmp 0x4572d0
test byte [edi + 4], 3
je 0x4572d0
push eax
push str._z_USING_PRIMARY_KEY
call fcn.004406d7
pop edx
pop ecx
push 0xffffffffffffffff
push eax
push dword [edi]
push dword [ebp - 0x1e0]
push 0x71
push dword [ebp - 0x1e8]
call fcn.0043080c
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.0043f028
pop ecx
pop esi
mov dword [ebp - 0x264], eax
cmp byte [ebx + 0x1d], 0
jne 0x45741a
cmp dword [ebx + 0x18], 0
jne 0x45741a
test byte [edi + 5], 8
jne 0x457381
mov edx, dword [ebp - 0x1f4]
push 0xc
push ebx
push eax
movsx eax, word [edx + 0x16]
push eax
push dword [ebp + 8]
call fcn.0044d7a7
add esp, 0x14
cmp dword [ebx + 4], 0x1f
ja 0x457399
mov ecx, dword [ebp - 0x1f4]
xor edx, edx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x457361
inc edx
shr eax, 1
jmp 0x45735a
push edx
push dword [ebp - 0x1e8]
call fcn.004304fe
dec eax
mov dword [esp], eax
push dword [ebp - 0x1e8]
call fcn.004305cf
add esp, 0xc
jmp 0x457399
push dword [ebx]
push 0
push dword [ebx + 0x14]
push dword [ebp - 0x264]
push dword [ebp + 8]
call fcn.0043b4c5
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 0x4573e9
push esi
push dword [ebp + 8]
call fcn.0043cda9
push 0
push dword [ebp - 0x264]
push 0x2d
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.00430441
push 0xfffffffffffffff7
push ebx
push dword [esi + 0x14]
push dword [ebp - 0x268]
push 0xc
push dword [ebp - 0x1e8]
call fcn.0043080c
add esp, 0x30
test byte [edi + 5], 8
je 0x45740a
mov eax, dword [esi + 4]
inc eax
push eax
push dword [ebp - 0x268]
push 0x64
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x10
push dword [ebp - 0x264]
push dword [ebp + 8]
call fcn.0043d661
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 0x457263
push dword [ebp - 0x1e8]
call fcn.004304fe
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 0x457e94
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.0043049d
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x284], eax
push dword [ebp - 0x1e8]
call fcn.0043049d
cmp dword [edi], 0
mov dword [edi + 0x20], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x1ec], eax
pop esi
pop eax
jle 0x45752f
mov ecx, dword [ebp - 0x1f4]
test byte [ecx - 0xf], 8
je 0x45752f
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 0
jne 0x45750a
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.00430441
add esp, 0x10
mov eax, dword [edi + 4]
test al, 1
je 0x4575a1
push 0
push 3
push dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.00455c51
push edi
mov edx, eax
push dword [ebp - 0x284]
mov eax, dword [ebp + 8]
call fcn.0045660d
push dword [ebp - 0x284]
push 1
push 0x21
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x28
push dword [ebp - 0x284]
push dword [ebp - 0x270]
push 0x2a
push dword [ebp - 0x1e8]
call fcn.00430441
mov dword [edi + 0x28], 0x13
jmp 0x457d72
test al, 2
je 0x4577a1
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.00455c51
push 0
push 0x18
push dword [ebp - 0x1f0]
mov esi, eax
mov edx, dword [ebp - 0x270]
mov eax, ebx
push 0xffffffffffffffff
call fcn.00455c51
add esp, 0x20
cmp dword [ebp - 0x280], 0
mov dword [ebp - 0x290], eax
je 0x457609
mov ebx, esi
mov esi, eax
mov dword [ebp - 0x290], ebx
test esi, esi
je 0x457670
mov ebx, dword [esi]
push dword [ebx + 0xc]
push dword [ebp + 8]
call fcn.0044c250
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.00430441
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.00430441
add esp, 0x28
mov edx, esi
mov eax, edi
call fcn.0045654f
jmp 0x45769a
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.00430441
add esp, 0x10
cmp dword [ebp - 0x290], 0
je 0x457727
mov eax, dword [ebp - 0x290]
mov ebx, dword [eax]
push dword [ebx + 0xc]
push dword [ebp + 8]
call fcn.0044c250
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.00430441
mov al, byte [ebx]
add esp, 0x18
cmp al, 0x46
sete dl
cmp al, 0x44
sete al
or eax, edx
test al, 1
je 0x457705
cmp dword [ebp - 0x280], 1
sbb ebx, ebx
and ebx, 2
add ebx, 0x45
mov dword [ebp - 0x28c], ebx
jmp 0x45771a
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.0045654f
push dword [ebp - 0x1e8]
call fcn.004304fe
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 0x457d75
push 0
push edx
push 0x23
push dword [ebp - 0x1e8]
call fcn.00430441
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
push dword [ebp - 0x284]
push 0x63
push dword [ebp - 0x28c]
push dword [ebp - 0x1e8]
call fcn.00430441
jmp 0x457d72
test al, 0x20
je 0x457bca
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.004566b6
mov dword [ebp - 0x26c], 0
add esp, 0xc
cmp dword [ebp - 0x26c], esi
jge 0x457821
mov dword [ebp - 0x26c], esi
lea eax, [esi - 1]
push 0
push eax
push 0x5a
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x10
dec dword [ebp - 0x26c]
jne 0x4577fd
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 0x457871
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 0x4578d9
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.00455c51
mov ebx, eax
mov eax, dword [eax]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0044c250
mov edx, ebx
movzx ecx, word [ebx + 0xa]
mov eax, edi
and ecx, 0x28
mov dword [ebp - 0x294], ecx
call fcn.0045654f
add esp, 0x18
mov dword [ebp - 0x2a0], 0x3a
jmp 0x4578fc
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 0x457962
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.00456598
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x457959
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 0x457979
push 1
push dword [edi + 8]
push 0x76
jmp 0x457979
cmp dword [ebp - 0x280], 0
je 0x457987
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x31
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x10
mov dword [ebp - 0x298], 1
cmp dword [ebp - 0x2ac], 0
je 0x4579f2
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.00455c51
mov ebx, eax
mov eax, dword [eax]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0044c250
mov edx, ebx
movzx eax, word [ebx + 0xa]
and eax, 0x28
mov dword [ebp - 0x298], eax
mov eax, edi
call fcn.0045654f
add esp, 0x18
test esi, esi
setg dl
cmp dword [ebp - 0x2ac], 0
setne al
or eax, edx
test al, 1
je 0x457a7e
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.00456598
add esp, 0xc
cmp dword [ebp - 0x280], 0
je 0x457a60
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.00430441
mov dword [ebp - 0x2a0], 0x24
jmp 0x457aac
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 0x457aa1
cmp dword [ebp - 0x280], 0
je 0x457a93
mov dword [ebp - 0x2a0], 0x13
jmp 0x457aaf
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x77
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x10
push dword [ebp - 0x1e8]
call fcn.004304fe
pop ecx
mov ebx, eax
cmp dword [ebp - 0x2a0], 0x13
je 0x457b43
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.00430441
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push dword [ebp - 0x2a0]
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
cmp dword [ebp - 0x294], 0
setne dl
xor eax, eax
cmp dword [ebp - 0x280], 0
sete al
test edx, eax
jne 0x457b2c
cmp dword [ebp - 0x298], 0
sete dl
xor eax, eax
cmp dword [ebp - 0x280], 0
setne al
test edx, eax
je 0x457b43
push 0xfffffffffffffffe
push 0x52c5dc
push 0xffffffffffffffff
push dword [ebp - 0x1e8]
call fcn.004306df
add esp, 0x10
push 0
push dword [ebp - 0x278]
push 7
push dword [ebp - 0x1e8]
call fcn.00430441
push dword [ebp - 0x288]
push dword [ebp - 0x2a4]
push 0x1e
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
cmp dword [ebp - 0x27c], 0
jne 0x457baa
push 0
push dword [ebp - 0x278]
push 0x32
push dword [ebp - 0x1e8]
call fcn.00430441
push 0
push dword [ebp - 0x270]
push 0x78
push dword [ebp - 0x1e8]
call fcn.00430441
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 0x457d45
test al, 0x10
je 0x457d4a
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.004566b6
mov edx, esi
push dword [ebp - 0x274]
push dword [ebp - 0x284]
mov eax, dword [ebp - 0x1e8]
push 0
call fcn.00456598
push 0
push dword [edi + 8]
push 0x76
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x28
cmp dword [ebp - 0x280], 0
je 0x457c80
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x3f
push dword [ebp - 0x1e8]
call fcn.00430441
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x24
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x10
mov dword [edi + 0x28], 0x2f
jmp 0x457cda
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x78
push dword [ebp - 0x1e8]
call fcn.00430441
push 0
push dword [edi + 8]
push 1
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
push 0xfffffffffffffffe
push 0x52c5dc
push dword [ebp - 0x284]
push dword [ebp - 0x278]
push 0x3a
mov ebx, eax
push dword [ebp - 0x1e8]
call fcn.0043080c
mov dword [edi + 0x28], 0x68
add esp, 0x18
push 0
push dword [ebp - 0x278]
push 7
push dword [ebp - 0x1e8]
call fcn.00430441
push dword [ebp - 0x288]
push esi
push 0x1e
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
cmp dword [ebp - 0x27c], 0
jne 0x457d3c
push 0
push dword [ebp - 0x278]
push 0x32
push dword [ebp - 0x1e8]
call fcn.00430441
push 0
push dword [ebp - 0x270]
push 0x78
push dword [ebp - 0x1e8]
call fcn.00430441
add esp, 0x20
mov edx, dword [ebp - 0x278]
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], ebx
jmp 0x457d75
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.00430441
inc eax
mov dword [edi + 0x30], eax
add esp, 0x10
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x9c]
call fcn.00455b27
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 0x457def
movzx eax, byte [ebx + 0xc]
test al, 6
jne 0x457ddd
mov edx, dword [ebp - 0x1f0]
test dword [ebx + 0x18], edx
jne 0x457ddd
mov eax, dword [ebx]
cmp dword [edi + 0xc], 0
je 0x457dc5
test byte [eax + 2], 1
je 0x457ddd
push 1
push dword [ebp - 0x288]
push eax
push dword [ebp + 8]
call fcn.0044d062
add esp, 0x10
or byte [ebx + 0xc], 4
dec dword [ebp - 0x26c]
add ebx, 0x1c
cmp dword [ebp - 0x26c], 0
jmp 0x457da2
cmp dword [edi + 0xc], 0
je 0x457e79
push dword [ebp - 0x1e8]
call fcn.004304fe
mov dword [edi + 0x24], eax
push dword [edi + 0xc]
push 1
push 0x2e
push dword [ebp - 0x1e8]
call fcn.00430441
xor ecx, ecx
add esp, 0x14
cmp ecx, dword [ebp - 0x1c8]
mov ebx, dword [ebp - 0x1c0]
mov dword [ebp - 0x26c], 0
jge 0x457e79
movzx eax, byte [ebx + 0xc]
test al, 6
jne 0x457e62
mov eax, dword [ebp - 0x1f0]
test dword [ebx + 0x18], eax
jne 0x457e62
push 1
push dword [ebp - 0x288]
push dword [ebx]
push dword [ebp + 8]
call fcn.0044d062
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 0x457e34
mov ecx, dword [ebp + 0xc]
inc dword [ebp - 0x1e0]
movsx eax, word [ecx]
add edi, 0x40
cmp dword [ebp - 0x1e0], eax
jl 0x457470
mov ebx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1ec]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x1cc]
call fcn.00455a2b
mov eax, ebx
jmp 0x457eca
lea eax, [ebp - 0x1cc]
call fcn.00455a2b
push dword [ebp - 0x1e4]
call fcn.0042f5f0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret