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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
movzx eax, word [ecx]
cmp ax, 0x40
push esi
push edi
jle 0x4740ff
push 0x40
push str.at_most__d_tables_in_a_join
mov edi, ebx
call fcn.00422780
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x47410f
mov dword [esp + 0x20], 1
jmp 0x474116
movsx edx, ax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov esi, dword [ebx]
shl eax, 6
add eax, 0x2f
and eax, 0xfffffff8
lea ecx, [eax + 0x264]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.00420a20
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
je 0x474157
mov eax, dword [esp + 0x3c]
add eax, 0x264
push eax
push 0
push edi
call fcn.004a2540
add esp, 0xc
mov eax, esi
cmp byte [eax + 0x1e], 0
je 0x474172
push edi
push eax
call fcn.00420800
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [edi], ebx
mov dword [edi + 8], ecx
call fcn.0043a590
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x14], eax
mov ax, word [ebp + 0x18]
lea esi, [edi + edx]
mov word [edi + 4], ax
push 0x104
lea eax, [esi + 0x160]
mov dword [edi + 0x1c], esi
fld qword [ebx + 0x1c0]
push 0
fstp qword [edi + 0x20]
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
call fcn.004a2540
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 4], ecx
push eax
lea ecx, [esp + 0x64]
lea edx, [esi + 0x20]
push ecx
mov dword [esi], ebx
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], edx
mov dword [esp + 0x68], 0x44aa00
mov dword [esp + 0x70], ebx
call fcn.00445290
mov edx, dword [ebp + 0x10]
push 0x45
push edx
push esi
call fcn.0046f8d0
add esp, 0x14
cmp dword [ebp + 0x10], 0
je 0x474240
cmp dword [esp + 0x20], 0
je 0x47422d
mov eax, dword [ebp + 0x10]
call fcn.00448280
test eax, eax
je 0x474240
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x10]
push 8
push eax
push ecx
push ebx
call fcn.0044b050
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dx, word [ecx]
mov dword [esp + 0x24], 0
jge 0x4742a3
mov edi, dword [esp + 0x4c]
lea ebx, [ecx + 0x14]
lea esp, [esp]
mov eax, dword [edi]
mov edx, dword [ebx + 0xc]
mov dword [edi + eax*4 + 4], edx
inc dword [edi]
mov eax, dword [ebx]
test eax, eax
je 0x474290
test byte [eax + 0x22], 0x10
je 0x474290
mov ecx, dword [esp + 0x24]
mov eax, 1
xor edx, edx
call fcn.004a3360
or dword [esi + 8], eax
or dword [esi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
movsx edx, word [ecx]
inc eax
add ebx, 0x38
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x474260
mov edi, dword [esi + 0x14]
sub edi, 1
js 0x4742c0
mov ebx, dword [ebp + 0xc]
mov edi, edi
push edi
push esi
push ebx
call fcn.00470640
add esp, 0xc
sub edi, 1
jns 0x4742b0
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x1e], 0
jne 0x474852
mov ebx, dword [esp + 0x20]
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
add eax, 0x28
cmp ebx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jle 0x4746ee
dec ebx
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x74]
fld qword [0x4d4d98]
xor eax, eax
xor ecx, ecx
cmp dword [esp + 0x14], edx
mov esi, eax
setl cl
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x88]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
cmp ecx, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], ecx
jl 0x4745c7
cmp dword [esp + 0x44], 0
jge 0x4745c3
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
cmp ebx, dword [esp + 0x20]
lea edx, [ecx + eax*8 + 8]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], edx
jge 0x4745b8
mov ecx, dword [esp + 0x34]
mov eax, ebx
shl eax, 6
lea edx, [eax + ecx + 0x64]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x10]
test byte [eax + 0x15], 0xa
mov eax, 0
setne al
mov dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x14]
je 0x4743e5
test eax, eax
jne 0x4745b8
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [edx], ecx
jle 0x47440c
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
lea eax, [edx + 4]
lea esp, [esp]
cmp dword [eax], esi
je 0x474433
inc ecx
add eax, 4
cmp ecx, dword [edx]
jl 0x474400
xor esi, esi
xor edi, edi
mov eax, esi
and eax, dword [esp + 0x28]
mov ecx, edi
and ecx, dword [esp + 0x2c]
or eax, ecx
jne 0x474445
cmp ebx, dword [esp + 0x14]
jne 0x47459f
inc dword [esp + 0x14]
jmp 0x47459f
mov eax, 1
xor edx, edx
call fcn.004a3360
mov esi, eax
mov edi, edx
jmp 0x474410
cmp dword [esp + 0x48], 0
je 0x474452
mov ecx, esi
mov edx, edi
jmp 0x47445a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x24], 0
jne 0x47446c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x47446c
mov eax, dword [eax]
jmp 0x47446e
xor eax, eax
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x34], 0
jne 0x47447c
inc dword [esp + 0x58]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x4744bb
mov ebx, dword [esp + 0x5c]
push ebx
lea ebx, [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00472010
add esp, 0x28
jmp 0x4744e6
lea ebx, [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00472200
add esp, 0x24
cmp dword [esp + 0x48], 0
mov edx, dword [esp + 0xa0]
je 0x474504
test edx, 0xf3000
jne 0x474504
or dword [esp + 0x60], esi
or dword [esp + 0x64], edi
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
and ecx, dword [esp + 0x2c]
and eax, ebx
or eax, ecx
jne 0x474594
mov ecx, dword [esp + 0x44]
test ecx, ecx
jl 0x47453a
and esi, dword [esp + 0x60]
and edi, dword [esp + 0x64]
mov eax, esi
or eax, edi
jne 0x47453a
test edx, 0xf3000
je 0x474594
cmp dword [esp + 0x58], 0
je 0x474553
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x34], 0
je 0x474553
test edx, 0xf3000
je 0x474594
test ecx, ecx
jl 0x47460d
fld qword [esp + 0x88]
fld qword [esp + 0xb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x474609
fcompp
fnstsw ax
test ah, 0x41
jp 0x474594
fld qword [esp + 0x90]
fcomp qword [esp + 0xb8]
fnstsw ax
test ah, 0x41
je 0x47460d
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x40], 0
jne 0x4745b8
add dword [esp + 0x5c], 0x40
add dword [esp + 0x10], 0x38
inc ebx
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
jl 0x4743c3
sub dword [esp + 0x48], 1
jns 0x474381
mov esi, dword [esp + 0x78]
test esi, 0x1000000
je 0x4745d8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
and dword [esp + 0x3c], esi
mov eax, dword [esp + 0x80]
mov dword [edi], esi
mov dword [edi + 4], edx
mov dword [edi + 8], eax
test esi, 0x200f0000
je 0x47462c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edi + 0x14], ecx
inc dword [eax + 0x44]
jmp 0x474633
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x54]
mov ecx, 0xa
lea esi, [esp + 0xa0]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x44], ebx
jmp 0x474598
mov dword [edi + 0x14], 0xffffffff
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
xor ecx, ecx
cmp dword [edx], ecx
jle 0x474664
mov edi, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
mov edi, dword [edi + eax*8 + 0x20]
lea eax, [edx + 4]
cmp dword [eax], edi
je 0x47469c
inc ecx
add eax, 4
cmp ecx, dword [edx]
jl 0x474654
mov edi, dword [esp + 0x1c]
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [ebp + 8]
fld qword [esp + 0x90]
not eax
and dword [esp + 0x28], eax
fcom st(1)
not edx
and dword [esp + 0x2c], edx
mov byte [edi + 0x28], bl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4746ae
fmul qword [ecx + 0x1c0]
fstp qword [ecx + 0x1c0]
jmp 0x4746b0
mov eax, 1
xor edx, edx
call fcn.004a3360
mov edi, dword [esp + 0x1c]
jmp 0x474668
fstp st(0)
mov eax, dword [ebp + 0xc]
lea edx, [ebx*8]
sub edx, ebx
mov eax, dword [eax + edx*8 + 0x3c]
test eax, eax
je 0x4746d0
test esi, 0xf0000
je 0x474840
mov eax, dword [esp + 0x24]
inc eax
add edi, 0x40
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
jl 0x474303
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x474852
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x1e], 0
jne 0x474852
mov eax, dword [esp + 0x3c]
and eax, 0x4000000
je 0x474721
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x474721
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x47473c
test eax, eax
je 0x47473c
mov eax, dword [esp + 0x34]
mov byte [eax + 6], 1
add eax, 0x28
and dword [eax], 0xff7fffff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x47474b
mov esi, eax
cmp dword [esi + 0x15c], 0
jne 0x47478f
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x474778
mov eax, dword [esi]
call fcn.0043a280
mov edi, eax
mov dword [esi + 0xc], eax
test edi, edi
je 0x47478f
push 0x87
call fcn.0043a3e0
add esp, 4
push 0
push 0
push 1
mov eax, edi
call fcn.0043a490
add esp, 0xc
inc eax
mov dword [esi + 0x15c], eax
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
add eax, 0x28
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
test ebx, ebx
jle 0x474cf8
jmp 0x4747c0
mov edx, dword [ebp + 8]
cmp byte [edx + 0x1e8], 2
mov edi, dword [esp + 0x38]
jne 0x4749b8
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0x28]
mov edx, dword [ebp + 0xc]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*8 + 0xc]
lea ebx, [edx + ecx*8 + 8]
push eax
push str.TABLE__s
mov esi, edi
call fcn.00421c70
mov ebx, dword [ebx + 8]
add esp, 8
mov esi, eax
test ebx, ebx
je 0x47481d
push ebx
push esi
push str._s_AS__s
push esi
mov eax, edi
call fcn.00421c90
add esp, 0x10
mov esi, eax
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
test eax, 0x20000000
je 0x474879
push esi
push str._s_WITH_AUTOMATIC_INDEX
push esi
mov eax, edi
call fcn.00421c90
add esp, 0xc
jmp 0x4748f0
mov edx, dword [eax]
push edx
push str.cannot_use_index:__s
mov edi, ecx
call fcn.00422780
add esp, 8
mov eax, dword [esp + 0x34]
fld qword [eax + 0x20]
mov edx, dword [ebp + 8]
push eax
fstp qword [edx + 0x1c0]
mov eax, dword [esp + 0x3c]
push eax
call fcn.00474020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0xf0000
je 0x474899
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edx
push esi
push str._s_WITH_INDEX__s
push esi
mov eax, edi
call fcn.00421c90
add esp, 0x10
jmp 0x4748f0
test eax, 0x10000000
je 0x4748b3
push esi
push str._s_VIA_MULTI_INDEX_UNION
push esi
mov eax, edi
call fcn.00421c90
add esp, 0xc
jmp 0x4748f0
test eax, 0x3000
je 0x4748cd
push esi
push str._s_USING_PRIMARY_KEY
push esi
mov eax, edi
call fcn.00421c90
add esp, 0xc
jmp 0x4748f0
test eax, 0x8000000
je 0x4748f2
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push esi
mov eax, edi
call fcn.00421c90
add esp, 0x14
mov esi, eax
test dword [ebx], 0x1000000
je 0x47490d
push esi
push str._s_ORDER_BY
push esi
mov eax, edi
call fcn.00421c90
add esp, 0xc
mov esi, eax
mov ecx, dword [esp + 0x18]
movzx eax, byte [ebx + 0x28]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
mov dword [esp + 0x40], eax
jg 0x474935
mov edi, ecx
call fcn.0043a300
mov ecx, edi
test eax, eax
je 0x474935
mov ebx, 1
jmp 0x474964
mov eax, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx]
mov eax, ebx
test edx, edx
je 0x4749ae
cmp byte [edi + 0x1e], 0
jne 0x4749ae
test ebx, ebx
jge 0x47497d
mov eax, dword [ecx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*4 + 0x10]
lea ebx, [edx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.0043a850
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x4749a5
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x4749bc
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x4749bc
mov ecx, esi
or eax, 0xffffffff
call fcn.0043a850
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea eax, [eax + edx*8 + 8]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xfff0bdc0
test edx, edx
je 0x474a18
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
test ecx, ecx
jle 0x474a18
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x474a14
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x474a08
mov dword [esp + 0x14], ebx
test byte [esi + 0x22], 2
jne 0x474b90
cmp dword [esi + 0x1c], 0
jne 0x474b90
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, 0x8000000
je 0x474b00
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x474a53
mov eax, dword [esp + 0x38]
cmp dword [ebx], eax
je 0x474a53
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x474a48
mov ecx, dword [esp + 0x10]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x40], edx
jg 0x474a7a
call fcn.0043a300
mov edi, dword [esp + 0x18]
test eax, eax
je 0x474a7a
mov eax, 1
jmp 0x474aa7
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x7f
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov eax, esi
mov esi, dword [edi + 0x14]
mov edx, dword [edi]
test esi, esi
je 0x474b90
cmp byte [edx + 0x1e], 0
jne 0x474b90
test eax, eax
jge 0x474ac6
mov eax, dword [edi + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
mov edi, edx
call fcn.0043a850
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x474af1
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x474b90
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x474b90
test eax, 0x800000
jne 0x474b77
test byte [ebp + 0x18], 0x10
jne 0x474b77
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp byte [ebx + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [eax + 0x18]
push edx
push ecx
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.0045a9d0
add esp, 0xc
cmp byte [ebx + 6], 0
jne 0x474b90
cmp dword [esi + 8], 0x40
jge 0x474b90
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x474b62
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x474b55
mov eax, dword [edi + 0xc]
push edx
dec eax
push edi
mov ecx, 0xfffffff2
call fcn.0043a990
add esp, 8
jmp 0x474b90
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.0044f260
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, 0x20000000
je 0x474bc4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004713b0
add esp, 0x18
jmp 0x474c9a
test ecx, 0xf0000
je 0x474c9a
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 8]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00454060
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x14]
mov esi, dword [ecx + 0xc]
mov ebx, dword [edi + 0x14]
add esp, 8
cmp dword [ecx + 0x10], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
jg 0x474c14
mov edi, ecx
call fcn.0043a300
mov ecx, edi
test eax, eax
je 0x474c14
mov esi, 1
xor ebx, ebx
jmp 0x474c43
mov edx, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ecx + 0x62], bl
mov edx, dword [ecx + 0x14]
mov edi, dword [ecx]
mov eax, esi
cmp edx, ebx
je 0x474c8c
cmp byte [edi + 0x1e], 0
jne 0x474c8c
cmp esi, ebx
jge 0x474c5c
mov eax, dword [ecx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
call fcn.0043a850
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x474c83
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x474c9a
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x474c9a
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff0
call fcn.0043a850
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
call fcn.00453bb0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x474cd0
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x18]
add edx, 4
nop
cmp dword [edx], esi
je 0x474d4f
inc ecx
add edx, 4
cmp ecx, eax
jl 0x474cc0
xor eax, eax
xor edx, edx
add dword [esp + 0x1c], 0x40
not eax
and dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
not edx
and dword [esp + 0x2c], edx
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x4747c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
cmp byte [edx + 0x1e], 0
jne 0x474852
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp dword [esp + 0x20], esi
mov ebx, ecx
jle 0x474d46
lea edi, [ebx + 0x48]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
push esi
push ebx
call fcn.00472f30
mov ecx, dword [edi]
inc esi
add esp, 0x14
add edi, 0x40
cmp esi, dword [esp + 0x20]
mov dword [ebx + 0x10], ecx
jl 0x474d27
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.004a3360
jmp 0x474cd4