Function at 0x447340
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x308
push ebx
mov ebx, dword [esp + 0x310]
push ebp
mov ebp, dword [ebx + 0xc]
push esi
mov esi, dword [esp + 0x31c]
xor eax, eax
cmp word [esi], 0x40
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jbe 0x447386
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.00418130
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x308
ret
mov ecx, dword [esp + 0x324]
cmp ecx, eax
je 0x447397
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x214]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x214]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x324]
push 0x3d
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0x74]
lea edx, [esp + 0x8c]
push ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x84], 0xa
mov dword [esp + 0x88], edx
call fcn.00445440
movsx edx, word [esi]
mov eax, dword [ebx]
imul edx, edx, 0x4c
add edx, 0x68
push edx
push eax
mov dword [esp + 0x68], eax
call fcn.00418060
mov edi, eax
mov eax, dword [esp + 0x68]
mov cl, byte [eax + 0x1e]
add esp, 0x14
test cl, cl
mov dword [esp + 0x60], edi
jne 0x4474bd
movsx ecx, word [esi]
push ebp
mov dword [edi + 0x14], ecx
mov dword [edi], ebx
mov dword [edi + 4], esi
call fcn.00414b30
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x328]
add esp, 4
test eax, eax
je 0x447464
cmp word [esi], 0
je 0x44744d
mov edx, eax
push edx
call fcn.0043a930
add esp, 4
test eax, eax
je 0x447464
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x324]
push 8
push eax
push ecx
push ebx
call fcn.0043d170
add esp, 0x10
movsx ecx, word [esi]
test ecx, ecx
jle 0x447495
lea eax, [esi + 0x20]
mov edi, edi
mov edx, dword [eax]
mov ebx, dword [esp + 0x214]
mov dword [esp + ebx*4 + 0x218], edx
mov edx, dword [esp + 0x214]
inc edx
add eax, 0x30
dec ecx
mov dword [esp + 0x214], edx
jne 0x447470
mov ebx, dword [esp + 0x74]
dec ebx
js 0x4474b2
lea esp, [esp]
push ebx
lea eax, [esp + 0x70]
push eax
push esi
call fcn.004462e0
add esp, 0xc
dec ebx
jns 0x4474a0
mov ecx, dword [esp + 0x54]
mov al, byte [ecx + 0x1e]
test al, al
je 0x4474de
lea edx, [esp + 0x6c]
push edx
call fcn.00445340
add esp, 4
mov ebx, edi
call fcn.00445e80
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x308
ret
or eax, 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
movsx eax, word [esi]
xor ecx, ecx
add edi, 0x1c
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], edi
mov ebx, edi
jle 0x4477ee
jmp 0x447510
mov edi, dword [esp + 0x14]
fld qword [0x4635d8]
mov edx, dword [esp + 0x320]
fstp qword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [edi + edi*2]
shl ecx, 4
cmp edi, eax
lea esi, [ecx + edx + 8]
jge 0x44771b
mov ecx, dword [esp + 0x60]
mov eax, edi
imul eax, eax, 0x4c
lea edx, [eax + ecx + 0x64]
mov dword [esp + 0x18], edx
mov edi, edi
mov al, byte [esi + 0x15]
mov ecx, dword [esp + 0x2c]
and al, 0xa
neg al
sbb eax, eax
neg eax
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x44757f
test eax, eax
jne 0x44771b
mov edx, dword [esp + 0x214]
xor ecx, ecx
test edx, edx
jle 0x44759e
mov eax, dword [esi + 0x18]
nop
cmp dword [esp + ecx*4 + 0x218], eax
je 0x4475c4
inc ecx
cmp ecx, edx
jl 0x447590
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x24]
and edx, dword [esp + 0x28]
or eax, edx
jne 0x4475d2
mov eax, dword [esp + 0x14]
cmp edi, eax
jne 0x4476fa
inc eax
mov dword [esp + 0x14], eax
jmp 0x4476fa
mov eax, 1
xor edx, edx
call fcn.0044d860
jmp 0x4475a2
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x39]
test cl, cl
je 0x44766a
mov eax, dword [esp + 0x328]
test eax, eax
je 0x4475ef
mov eax, dword [eax]
jmp 0x4475f1
xor eax, eax
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x50]
xor edx, edx
test ecx, ecx
mov ecx, dword [esp + 0x28]
sete dl
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x32c]
push ecx
push esi
lea edx, [esp + 0x84]
push edx
push eax
call fcn.004459b0
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
add esp, 0x20
test ecx, ecx
mov dword [esp + 0x10], 0x800000
je 0x447647
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x447647
mov dword [esp + 0x10], 0x900000
fld qword [0x4635b8]
xor eax, eax
fcomp st(1)
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
fnstsw ax
test ah, 5
jp 0x4476b8
fstp st(0)
fld qword [0x4635b8]
jmp 0x4476b8
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x447681
mov eax, dword [esp + 0x328]
test eax, eax
je 0x447681
mov eax, dword [eax]
jmp 0x447683
xor eax, eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x330]
push ecx
push esi
lea edx, [esp + 0x88]
push edx
push eax
call fcn.00446d30
add esp, 0x24
xor ecx, ecx
fcom qword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x4476f0
mov edx, dword [esp + 0x48]
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edi
mov dword [ebx + 0x44], ecx
jmp 0x4476f2
fstp st(0)
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x44771b
mov eax, dword [esp + 0x320]
mov edx, dword [esp + 0x18]
movsx ecx, word [eax]
inc edi
add edx, 0x4c
add esi, 0x30
cmp edi, ecx
mov dword [esp + 0x18], edx
jl 0x447560
mov eax, dword [esp + 0x34]
test eax, 0x100000
je 0x447733
mov edx, dword [esp + 0x328]
mov dword [edx], 0
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
and esi, eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], ecx
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x40], esi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x3c], ecx
je 0x44776c
mov eax, dword [esp + 0x31c]
mov edx, dword [eax + 0x44]
mov dword [ebx + 0x18], edx
inc dword [eax + 0x44]
jmp 0x447773
mov dword [ebx + 0x18], 0xffffffff
mov edx, dword [esp + 0x214]
mov esi, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
jle 0x4477b2
mov edi, dword [esp + 0x320]
lea eax, [esi + esi*2]
shl eax, 4
mov eax, dword [eax + edi + 0x20]
jmp 0x4477a0
cmp dword [esp + ecx*4 + 0x218], eax
je 0x4478b7
inc ecx
cmp ecx, edx
jl 0x4477a0
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x24]
not eax
and ecx, eax
mov eax, dword [esp + 0x28]
not edx
and eax, edx
mov edx, dword [esp + 0x320]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebx], esi
mov dword [esp + 0x28], eax
movsx eax, word [edx]
inc ecx
add ebx, 0x4c
cmp ecx, eax
mov dword [esp + 0x4c], ecx
jl 0x447510
test dword [esp + 0x40], 0x400000
je 0x447809
mov eax, dword [esp + 0x328]
test eax, eax
je 0x447809
mov dword [eax], 0
mov eax, dword [esp + 0x31c]
push 0xffffffffffffffff
push eax
call fcn.00427d10
mov ecx, dword [esp + 0x328]
mov ebx, dword [esp + 0x24]
add esp, 8
cmp word [ecx], 0
mov dword [esp + 0x4c], 0
jle 0x447a90
jmp 0x447840
mov eax, dword [esp + 0x31c]
cmp byte [eax + 0xb0], 2
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x3c], edx
jne 0x44792f
mov eax, dword [ebx]
mov edx, dword [esp + 0x320]
mov edi, dword [esp + 0x54]
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, dword [ecx + edx + 0xc]
lea esi, [ecx + edx + 8]
push eax
push str.TABLE__s
push edi
call fcn.00410850
mov esi, dword [esi + 8]
add esp, 0xc
test esi, esi
je 0x44789c
push esi
push eax
push str._z_AS__s
push edi
call fcn.00410850
add esp, 0x10
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4478c8
mov ecx, dword [ecx]
push ecx
push eax
push str._z_WITH_INDEX__s
push edi
call fcn.00410850
add esp, 0x10
jmp 0x4478ff
mov eax, 1
xor edx, edx
call fcn.0044d860
jmp 0x4477b6
mov ecx, dword [ebx + 4]
test ch, 3
je 0x4478e1
push eax
push str._z_USING_PRIMARY_KEY
push edi
call fcn.00410850
add esp, 0xc
jmp 0x4478ff
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x4478ff
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push edx
push ecx
push eax
push str._z_VIRTUAL_TABLE_INDEX__d:_s
push edi
call fcn.00410850
add esp, 0x14
test dword [ebx + 4], 0x100000
je 0x447917
push eax
push 0x4635e0
push edi
call fcn.00410850
add esp, 0xc
mov edx, dword [ebx]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x54]
push 0
push edx
push eax
push 0x6d
push ebp
call fcn.00416ca0
add esp, 0x1c
mov eax, dword [ebx]
mov edx, dword [esp + 0x320]
lea ecx, [eax + eax*2]
shl ecx, 4
mov edi, dword [ecx + edx + 0x14]
mov eax, dword [edi + 0x4c]
lea esi, [ecx + edx + 8]
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx]
push eax
push edx
call fcn.00413f60
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x35]
add esp, 8
test al, al
jne 0x447a72
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x447a72
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x44799b
mov eax, dword [edi + 0x40]
mov ecx, dword [esi + 0x18]
push 0xfffffffffffffff6
push eax
push 0
push 0
push ecx
push 0x1e
push ebp
call fcn.00416ca0
add esp, 0x1c
jmp 0x447a18
test dword [ebx + 4], 0x80000
jne 0x4479fa
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x31c]
push 0xc
push edi
push edx
push eax
push ecx
call fcn.0043d530
mov eax, dword [edi + 4]
add esp, 0x14
cmp eax, 0x40
jae 0x447a18
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edi, eax
xor edx, edx
or edi, ecx
je 0x4479e3
shrd eax, ecx, 1
shr ecx, 1
mov edi, eax
inc edx
or edi, ecx
jne 0x4479d6
push edx
push ebp
call fcn.00414cc0
add esp, 4
dec eax
push eax
push ebp
call fcn.00414de0
add esp, 0xc
jmp 0x447a18
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x320]
push 0
push eax
push ecx
push edx
call fcn.00425c20
add esp, 0x14
mov edi, dword [ebx + 0x10]
test edi, edi
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x14], eax
je 0x447a5d
mov ecx, dword [esp + 0x31c]
push edi
push ecx
call fcn.00427e50
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
push 0xfffffffffffffff7
push eax
mov eax, dword [edi + 0x14]
push edx
push eax
push esi
push 0xc
push ebp
call fcn.00416ca0
mov ecx, dword [edi + 4]
inc ecx
push ecx
push esi
push 0x61
push ebp
call fcn.00414b10
add esp, 0x34
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x31c]
push edx
push eax
call fcn.00427d10
add esp, 8
mov ecx, dword [esp + 0x320]
mov eax, dword [esp + 0x4c]
movsx edx, word [ecx]
inc eax
add ebx, 0x4c
cmp eax, edx
mov dword [esp + 0x4c], eax
jl 0x447840
push ebp
call fcn.00414cc0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x324]
mov esi, dword [esp + 0x20]
mov dword [ecx + 8], eax
or eax, 0xffffffff
add esp, 4
cmp word [edx], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], 0
jle 0x448796
jmp 0x447ad0
mov eax, dword [esi]
mov ecx, dword [esp + 0x320]
lea eax, [eax + eax*2]
shl eax, 4
mov edx, dword [eax + ecx + 0x20]
lea edi, [eax + ecx + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov ebx, eax
shr eax, 0x13
and eax, 1
shr ebx, 0x15
push ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
and ebx, 1
mov dword [esp + 0x40], eax
call fcn.00414b30
push ebp
mov dword [esp + 0x50], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
call fcn.00414b30
mov dword [esi + 0x24], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi]
add esp, 8
test eax, eax
jle 0x447b5b
test byte [edi + 0x15], 8
je 0x447b5b
mov eax, dword [esp + 0x31c]
mov edx, dword [eax + 0x48]
inc edx
mov dword [eax + 0x48], edx
mov eax, edx
push eax
push 0
push 0x2e
push ebp
mov dword [esi + 0xc], eax
call fcn.00414b10
add esp, 0x10
mov edi, dword [esi + 0x44]
test edi, edi
je 0x447ceb
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov ecx, dword [esp + 0x31c]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x30], eax
lea eax, [ebx + 2]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
call fcn.0043a430
add esp, 8
cmp ebx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 1
jl 0x447c13
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x447bfe
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp dword [edx + ebx*8], ecx
je 0x447bc1
inc ebx
cmp ebx, eax
jl 0x447bb5
jmp 0x447bfe
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 1]
mov eax, dword [esp + 0x30]
push ecx
lea edx, [ebx + ebx*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x320]
push ecx
push edx
call fcn.0043a1c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ebx, eax
je 0x447c13
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x447ba3
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi + 0x14]
push ebx
push eax
push 0x2e
push ebp
call fcn.00414b10
mov edx, dword [esp + 0x24]
lea ecx, [ebx + 1]
push ecx
dec edx
push edx
push 0x2e
push ebp
call fcn.00414b10
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x68]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x40]
push ecx
push ebx
push edx
push eax
push 0x63
push ebp
call fcn.00416ca0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x358]
push ecx
push ebx
push edx
call fcn.0043a460
mov eax, dword [edi]
xor ebx, ebx
add esp, 0x48
cmp eax, ebx
mov dword [edi + 0x1c], ebx
jle 0x447ccf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add eax, 8
add ecx, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x447cb2
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov edx, esi
call fcn.00445c20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
inc ebx
add edx, 8
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ecx
jl 0x447c92
mov eax, dword [esp + 0x1c]
push ebp
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], eax
call fcn.00414cc0
add esp, 4
jmp 0x448647
mov eax, dword [esi + 4]
test ah, 1
je 0x447d77
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0
push 3
push ecx
push edx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00445720
mov edx, dword [esp + 0x338]
push edx
mov ebx, eax
call fcn.0043a3e0
mov edi, eax
mov eax, dword [esp + 0x33c]
push edi
push ebx
push eax
call fcn.00445c70
mov ebx, dword [esi + 0x20]
push 1
push ebx
push edi
push 0x24
push ebp
call fcn.00414a60
mov ecx, dword [esp + 0x5c]
add esp, 0x40
push edi
push ebx
push ecx
push 0x2c
push ebp
call fcn.00414a60
mov edx, dword [esp + 0x330]
push edi
push edx
call fcn.0043a410
add esp, 0x1c
mov dword [esi + 0x2c], 0x16
jmp 0x44864a
test ah, 2
je 0x447f7f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push 0
push 0x24
push eax
push ecx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x6c], 0x16
call fcn.00445720
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0
push 0x18
push ecx
push edx
mov edi, eax
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00445720
add esp, 0x38
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x447de3
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], eax
test edi, edi
je 0x447e7d
mov eax, dword [edi]
mov ecx, dword [esp + 0x31c]
lea edx, [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0xc]
push edx
push eax
push ecx
call fcn.0043ce30
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov al, byte [edx]
add esp, 0xc
cmp al, 0x46
je 0x447e20
cmp al, 0x45
je 0x447e20
xor eax, eax
jmp 0x447e25
mov eax, 1
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push 0x6b
push ebp
call fcn.00414a60
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, ebx
neg edx
sbb edx, edx
push eax
and edx, 0xffffffea
push ecx
add edx, 0x74
push edx
push ebp
call fcn.00414a60
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x344]
push eax
push ecx
call fcn.0043a410
add esp, 0x30
mov eax, edi
mov edx, esi
call fcn.00445c20
jmp 0x447e9d
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
neg ecx
sbb ecx, ecx
push edx
and ecx, 0xffffffbf
push eax
add ecx, 0x73
push ecx
push ebp
call fcn.00414b10
add esp, 0x10
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov eax, dword [esp + 0x31c]
je 0x447f06
mov edx, ecx
mov ecx, dword [eax + 0x48]
mov edi, dword [edx]
inc ecx
mov dword [eax + 0x48], ecx
push ecx
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0xc]
push ecx
push eax
call fcn.0043a1c0
mov al, byte [edi]
add esp, 0xc
cmp al, 0x47
je 0x447eec
cmp al, 0x45
je 0x447eec
mov eax, dword [esp + 0x14]
xor edx, edx
test ebx, ebx
setne dl
lea edx, [edx + edx + 0x45]
mov edi, edx
mov edx, esi
call fcn.00445c20
jmp 0x447f0a
xor eax, eax
test ebx, ebx
sete al
mov edx, esi
lea eax, [eax + eax + 0x46]
mov edi, eax
mov eax, dword [esp + 0x14]
call fcn.00445c20
jmp 0x447f0a
mov edi, dword [esp + 0x50]
push ebp
call fcn.00414cc0
mov ecx, dword [esp + 0x20]
add esp, 4
neg ebx
sbb ebx, ebx
and ebx, 0xffffffc9
add ebx, 0x66
cmp edi, 0x16
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
je 0x44864a
mov edx, dword [esp + 0x31c]
push edx
call fcn.0043a3e0
mov ebx, eax
mov eax, dword [esp + 0x20]
push ebx
push eax
push 0x26
push ebp
call fcn.00414b10
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 8]
push ebx
push ecx
push edx
push edi
push ebp
call fcn.00414a60
push 0x6b
push ebp
call fcn.00414e40
mov eax, dword [esp + 0x34c]
push ebx
push eax
call fcn.0043a410
add esp, 0x38
jmp 0x44864a
test ah, 0x20
je 0x448434
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x28]
mov edi, eax
shr eax, 0x11
and eax, 1
push 2
push edx
mov edx, dword [esp + 0x324]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x78]
shr edi, 0x10
push ecx
and edi, 1
push edx
mov eax, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x68], 0
call fcn.00445d90
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x28]
mov al, byte [edx + ecx]
add esp, 0x14
test al, al
jne 0x447ff8
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x50], 0x24
jmp 0x448016
mov eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], eax
cmp byte [esp + 0x32c], 1
jne 0x448054
test dword [esi + 4], 0x100000
je 0x448054
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp dword [eax + 4], ecx
jle 0x448058
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov eax, dword [eax + 8]
mov edx, dword [edx + 0x28]
cmp edx, dword [eax + ecx*4]
jne 0x448058
mov dword [esp + 0x54], 1
jmp 0x448058
mov ecx, dword [esp + 0x38]
test edi, edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x44], eax
je 0x44812a
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.00445720
mov ecx, dword [esp + 0x54]
mov edi, eax
mov eax, dword [esp + 0x30]
mov edx, dword [edi]
add eax, ecx
mov ecx, dword [esp + 0x338]
push eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
push eax
push ecx
call fcn.0043a1c0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
push edx
push eax
push 0x41
push ebp
call fcn.00414b10
xor ecx, ecx
mov cl, byte [edi + 0xa]
add esp, 0x38
mov eax, edi
mov edx, esi
and ecx, 0x28
mov dword [esp + 0x30], ecx
call fcn.00445c20
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], 0x3a
mov eax, dword [esp + 0x54]
add ecx, edi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x448172
test edi, edi
jne 0x448172
mov edx, dword [esp + 0x14]
mov edi, ecx
lea eax, [edi + edx]
push eax
push 0
push 0x70
push ebp
call fcn.00414b10
add esp, 0x10
inc edi
mov dword [esp + 0x30], 0
jmp 0x448176
xor eax, eax
test ecx, ecx
setle al
mov dword [esp + 0x30], 1
dec eax
and eax, 0x24
add eax, 0x16
cmp eax, 0x16
mov dword [esp + 0x40], eax
jne 0x4480f6
mov eax, dword [esp + 0x54]
test eax, eax
je 0x448157
test ebx, ebx
jne 0x4480f6
jmp 0x4481c0
test ebx, ebx
je 0x4481c0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x32
push ebp
call fcn.00414b10
add esp, 0x10
jmp 0x4481c0
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x14]
push ecx
push edi
push edx
push 0x54
push ebp
call fcn.00414a60
mov eax, dword [esp + 0x48]
push eax
push ebp
call fcn.00442510
add esp, 0x1c
test ebx, ebx
je 0x4481c0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
push edx
and ecx, 0xffffffe1
push eax
add ecx, 0x5e
push ecx
push ebp
call fcn.00414a60
add esp, 0x14
mov eax, dword [esp + 0x18]
test eax, eax
je 0x448251
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov ecx, dword [edx + ecx*4]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00445720
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [edi]
add eax, edx
mov edx, dword [ecx + 0xc]
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x33c]
push edx
push eax
call fcn.0043a1c0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0x41
push ebp
call fcn.00414b10
xor eax, eax
mov al, byte [edi + 0xa]
add esp, 0x38
mov edx, esi
and eax, 0x28
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.00445c20
mov eax, dword [esp + 0x18]
jmp 0x448259
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x38]
test ecx, ecx
jg 0x448271
test eax, eax
jne 0x448271
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4482b7
test ebx, ebx
jne 0x4482bb
lea edi, [eax + ecx]
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov dword [esp + 0x50], edi
je 0x4482a6
test eax, eax
jne 0x4482a6
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
push ecx
push 0
push 0x70
push ebp
call fcn.00414b10
add esp, 0x10
inc edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x4482df
mov edi, dword [esi + 8]
mov dword [esp + 0x40], 0x27
jmp 0x4482f1
test ebx, ebx
je 0x4482c8
mov dword [esp + 0x40], 0x16
jmp 0x448347
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x73
push ebp
call fcn.00414b10
add esp, 0x10
jmp 0x448347
mov edx, dword [esp + 0x31c]
push edx
call fcn.0043a3e0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
push edi
push eax
push ecx
push 0x54
push ebp
call fcn.00414a60
mov edx, dword [esp + 0x48]
push edx
push ebp
call fcn.00442510
add esp, 0x1c
test ebx, ebx
jne 0x448347
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
neg edx
push edi
sbb edx, edx
push eax
and edx, 0x6f
push ecx
add edx, 5
push edx
push ebp
call fcn.00414a60
mov eax, dword [esp + 0x330]
push edi
push eax
call fcn.0043a410
add esp, 0x1c
push ebp
call fcn.00414cc0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, 0x16
je 0x448398
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
push ebp
call fcn.00414a60
mov eax, dword [esp + 0x44]
add esp, 0x14
test eax, eax
je 0x448381
test ebx, ebx
je 0x44838d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x448398
test ebx, ebx
je 0x448398
push 1
push ebp
call fcn.00414e40
add esp, 8
mov edx, dword [esp + 0x31c]
push edx
call fcn.0043a3e0
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
or eax, ecx
je 0x4483da
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push edi
push eax
push ecx
push 2
push ebp
call fcn.00414a60
mov edx, dword [esp + 0x6c]
push edx
push edi
push 0x41
push ebp
call fcn.00414b10
add esp, 0x24
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x448403
mov eax, dword [esp + 0x20]
push edi
push eax
push 0x34
push ebp
call fcn.00414b10
mov ecx, dword [esp + 0x2c]
push edi
push 0
push ecx
push 0x74
push ebp
call fcn.00414a60
add esp, 0x24
mov edx, dword [esp + 0x31c]
push edi
push edx
call fcn.0043a410
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add esp, 8
neg ebx
sbb ebx, ebx
and ebx, 0xffffffc9
add ebx, 0x66
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
jmp 0x44864a
test ah, 0x10
je 0x448627
mov edx, dword [esi + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x324]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x78]
push edx
push eax
mov eax, esi
xor edi, edi
call fcn.00445d90
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x340]
add esp, 0x14
cmp al, 1
mov dword [esp + 0x44], ecx
jne 0x448527
test dword [esi + 4], 0x100000
je 0x448527
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [ecx + 4], eax
jle 0x448527
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*4]
jne 0x448527
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push 0x54
push ebp
mov edi, 1
call fcn.00414a60
mov edx, dword [esp + 0x48]
push edx
push ebp
call fcn.00442510
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add eax, ecx
push eax
push 0
push 0x70
push ebp
call fcn.00414b10
mov eax, dword [esp + 0x348]
mov edx, dword [eax + 0x48]
inc edx
mov dword [eax + 0x48], edx
mov eax, edx
mov edx, dword [esp + 0x44]
push eax
inc edx
push edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
push eax
push 0x54
push ebp
call fcn.00414a60
mov ecx, dword [esp + 0x74]
add esp, 0x40
push ecx
push ebp
call fcn.00442510
add esp, 8
jmp 0x44854f
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x18]
push eax
push edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push eax
push 0x54
push ebp
call fcn.00414a60
mov ecx, dword [esp + 0x48]
push ecx
push ebp
call fcn.00442510
add esp, 0x1c
test ebx, ebx
mov ebx, dword [esp + 0x44]
je 0x448593
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
neg edi
push edx
sbb edi, edi
push ebx
and edi, 0x1f
push eax
add edi, 0x3f
push edi
push ebp
call fcn.00414a60
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x34]
push ecx
push ebx
push edx
push 0x27
push ebp
call fcn.00414a60
add esp, 0x28
mov ebx, eax
mov dword [esi + 0x2c], 0x2f
jmp 0x4485d5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
neg edi
push eax
sbb edi, edi
push ebx
and edi, 0xffffff91
push ecx
add edi, 0x74
push edi
push ebp
call fcn.00414a60
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x34]
push edx
push ebx
push eax
push 0x3a
push ebp
call fcn.00414a60
push 1
push ebp
mov ebx, eax
call fcn.00414e40
add esp, 0x30
mov dword [esi + 0x2c], 0x66
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x44861b
mov ecx, dword [esp + 0x31c]
push ecx
call fcn.0043a3e0
mov edx, dword [esp + 0x24]
mov edi, eax
push edi
push edx
push 0x34
push ebp
call fcn.00414b10
mov eax, dword [esp + 0x30]
push edi
push 0
push eax
push 0x74
push ebp
call fcn.00414a60
mov ecx, dword [esp + 0x344]
push edi
push ecx
call fcn.0043a410
add esp, 0x30
mov edx, dword [esp + 0x20]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ebx
jmp 0x44864a
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
push ecx
push eax
push 0x73
push ebp
mov dword [esi + 0x2c], 0x66
mov dword [esi + 0x30], eax
call fcn.00414b10
add esp, 0x10
inc eax
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x214]
xor ecx, ecx
test eax, eax
jle 0x448672
mov edx, dword [esp + 0x1c]
jmp 0x448660
cmp dword [esp + ecx*4 + 0x218], edx
je 0x4487ec
inc ecx
cmp ecx, eax
jl 0x448660
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
not eax
and ebx, eax
mov eax, dword [esp + 0x74]
not edx
and edi, edx
test eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
jle 0x4486f4
mov edi, dword [esp + 0x7c]
add edi, 0xc
mov dword [esp + 0x3c], eax
test byte [edi], 6
jne 0x4486e6
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x28]
and eax, ebx
and ecx, edx
or eax, ecx
jne 0x4486e6
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov eax, dword [edi - 0xc]
je 0x4486c8
test byte [eax + 2], 1
je 0x4486e6
mov edx, dword [esp + 0x58]
push 8
push edx
push eax
mov eax, dword [esp + 0x328]
push eax
call fcn.0043d170
mov al, byte [edi]
add esp, 0x10
or al, 4
mov byte [edi], al
mov eax, dword [esp + 0x3c]
add edi, 0x28
dec eax
mov dword [esp + 0x3c], eax
jne 0x4486a1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x448778
push ebp
call fcn.00414cc0
mov ecx, dword [esi + 0xc]
push ecx
push 1
push 0x2e
push ebp
mov dword [esi + 0x28], eax
call fcn.00414b10
mov eax, dword [esp + 0x88]
add esp, 0x14
xor ebx, ebx
test eax, eax
jle 0x448778
mov edi, dword [esp + 0x7c]
add edi, 0xc
lea esp, [esp]
test byte [edi], 6
jne 0x44876c
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x28]
and eax, ecx
mov ecx, dword [edi + 0x18]
and ecx, edx
or eax, ecx
jne 0x44876c
mov edx, dword [esp + 0x58]
mov eax, dword [edi - 0xc]
mov ecx, dword [esp + 0x31c]
push 8
push edx
push eax
push ecx
call fcn.0043d170
mov al, byte [edi]
add esp, 0x10
or al, 4
mov byte [edi], al
mov eax, dword [esp + 0x74]
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x448730
mov edx, dword [esp + 0x320]
mov eax, dword [esp + 0x4c]
movsx ecx, word [edx]
inc eax
add esi, 0x4c
cmp eax, ecx
mov dword [esp + 0x4c], eax
jl 0x447ad0
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x74]
dec eax
mov esi, dword [esp + 0x7c]
js 0x4487cb
lea edi, [eax + 1]
nop
test byte [esi + 0xc], 1
je 0x4487c1
mov eax, dword [esi]
push eax
call fcn.0043a4e0
add esp, 4
add esi, 0x28
dec edi
jne 0x4487b0
mov esi, dword [esp + 0x7c]
lea ecx, [esp + 0x84]
cmp esi, ecx
je 0x4487df
push esi
call fcn.00410bf0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x308
ret
mov eax, 1
xor edx, edx
call fcn.0044d860
jmp 0x448676