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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
or ecx, 0xffffffff
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x6c], edx
xor eax, eax
mov dword [esp + 0x70], edx
cmp ecx, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], edx
jne 0x47d06a
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x47d06a
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x47d06a
mov edx, ecx
push edx
push esi
call fcn.0047b810
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x47d06a
mov eax, dword [ebx + 0x48]
mov edi, dword [esp + 0x30]
push eax
push edi
call fcn.0046d270
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + ecx*8]
push eax
mov eax, dword [ebx + 4]
push 0
push eax
push 0x12
push esi
call fcn.00477880
add esp, 0x1c
test eax, eax
jne 0x47d06a
push eax
push 0x6a
push ebx
call fcn.00485990
mov edx, dword [ebx + 0x1c]
xor ecx, ecx
test edx, edx
push eax
push ebx
setne cl
push esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], ecx
call fcn.0047bf20
add esp, 0x18
test eax, eax
jne 0x47d06a
push ebx
push esi
call fcn.00479340
add esp, 8
test eax, eax
jne 0x47d06a
push esi
call fcn.004808d0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x47d06a
mov al, byte [esi + 0x13]
test al, al
jne 0x47c420
push ebp
call fcn.0047bec0
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x47c437
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x47c437
xor eax, eax
jmp 0x47c43c
mov eax, 1
mov edi, dword [esp + 0x64]
push edi
push eax
push esi
call fcn.0047af40
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x47c45e
mov eax, dword [esi + 0x44]
mov dword [esp + 0x44], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x47c490
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb0]
push edi
push edx
push eax
push ebx
push esi
call fcn.0047dcb0
add esp, 0x14
test eax, eax
jne 0x47d06a
mov edi, dword [esp + 0x64]
push ebx
push edi
push esi
call fcn.0047d220
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xbc]
add esp, 0xc
test eax, eax
je 0x47c681
mov eax, dword [esi + 0x48]
inc eax
push eax
push 0
push 0x31
push ebp
mov dword [esi + 0x48], eax
mov dword [esp + 0x24], eax
call fcn.00472c40
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x7c]
inc edx
mov eax, edx
mov dword [esi + 0x48], edx
push eax
push 0xa
push ecx
call fcn.00480150
push ebp
call fcn.00454030
mov edx, dword [esp + 0x90]
mov edi, eax
add edi, 2
push edx
lea eax, [edi - 1]
push eax
push 0x31
push ebp
call fcn.00472c40
push 0
push 0
push 0x61
push ebp
call fcn.00472c40
mov edx, dword [esp + 0xf0]
add esp, 0x40
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
push ecx
push edx
push esi
call fcn.00481530
add esp, 0xc
test eax, eax
jne 0x47d06a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x47d06a
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x1e]
test cl, cl
jne 0x47d06a
mov ecx, dword [esp + 0x14]
push ecx
push 1
push 0x31
push ebp
call fcn.00472c40
mov edx, dword [esp + 0x80]
push edx
push 0x3d
push ebp
call fcn.00473050
push 2
push 2
push 0x28
push ebp
call fcn.00472c40
mov eax, dword [esp + 0x4c]
push eax
push ebp
call fcn.004730f0
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x88], ecx
add esp, 0x34
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x28], ecx
jne 0x47c5ba
mov edx, dword [esp + 0x64]
push ebx
push edx
push edi
push ebp
call fcn.0047d190
add esp, 0x10
test eax, eax
je 0x47c6f4
mov eax, dword [esi + 0x44]
push esi
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x44], 1
mov dword [esi + 0x44], eax
call fcn.004759e0
push esi
mov edi, eax
call fcn.004759e0
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push 0x74
push ebp
call fcn.00472c40
mov edx, dword [esp + 0x88]
push edx
push 0x3d
push ebp
call fcn.00473050
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
push eax
push 0xb
push ebp
call fcn.00473050
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
push edi
push ecx
push edx
push 0x5a
push ebp
mov dword [esp + 0x8c], eax
call fcn.00471fb0
mov eax, dword [esp + 0x68]
add esp, 0x44
push ebx
push eax
push 0x1b
push ebp
call fcn.00472c40
mov ecx, dword [esp + 0x34]
push ebx
push edi
push ecx
push 0x6e
push ebp
call fcn.00471fb0
mov edx, dword [esp + 0x44]
push edx
push 0
push 0x61
push ebp
call fcn.00472c40
mov eax, dword [esp + 0x7c]
push eax
push ebp
call fcn.004730f0
push edi
push esi
call fcn.00475a10
add esp, 0x44
push ebx
push esi
call fcn.00475a10
mov ebx, dword [esp + 0x20]
add esp, 8
jmp 0x47c6f4
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x7c]
mov dword [esp + 0x24], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xac]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x7c], esi
je 0x47c6ab
mov eax, dword [eax]
jmp 0x47c6ad
xor eax, eax
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x47c6f4
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
lea edx, [esp + 0x7c]
push ecx
push edx
call fcn.00475bd0
add esp, 8
test eax, eax
jne 0x47d06a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
inc edi
add ecx, 0x10
cmp edi, eax
mov dword [esp + 0x18], ecx
jl 0x47c6b9
test byte [ebx + 0x22], 0x10
je 0x47c720
mov edi, dword [ebx + 0xc]
test edi, edi
jle 0x47c720
mov eax, dword [ebx + 0x10]
add eax, 0x13
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
mov edx, dword [esp + 0x1c]
setne cl
add edx, ecx
add eax, 0x14
dec edi
mov dword [esp + 0x1c], edx
jne 0x47c707
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x47c769
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47c894
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x1c]
mov edx, eax
sub edx, edi
cmp ecx, edx
je 0x47c889
mov edx, dword [esp + 0xa8]
push ecx
push eax
push 0
push edx
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.00468ab0
add esp, 0x18
jmp 0x47d06a
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x47c789
push edx
push eax
push str._d_values_for__d_columns
push esi
call fcn.00468ab0
add esp, 0x10
jmp 0x47d06a
xor eax, eax
test edx, edx
jle 0x47c7a0
or edx, 0xffffffff
mov edi, dword [ecx]
inc eax
mov dword [edi + eax*8 - 4], edx
mov edi, dword [ecx + 4]
cmp eax, edi
jl 0x47c792
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x47c894
mov eax, dword [ebx + 0xc]
xor edi, edi
test eax, eax
jle 0x47c819
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx]
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edx + eax*8]
push ecx
call fcn.00451c20
add esp, 8
test eax, eax
je 0x47c7fd
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0xc]
inc edi
add ecx, 0x14
cmp edi, eax
mov dword [esp + 0x18], ecx
jl 0x47c7c0
jmp 0x47c819
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx]
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebx + 8]
cmp edi, ecx
jne 0x47c819
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
cmp edi, eax
mov edi, dword [esp + 0xb4]
jl 0x47c845
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*8]
push ecx
call fcn.004774f0
add esp, 4
test eax, eax
je 0x47c85b
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47c7b3
jmp 0x47c894
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0xa8]
push edx
push 0
push eax
push str.table__S_has_no_column_named__s
push esi
call fcn.00468ab0
mov eax, dword [esi + 0x40]
add esp, 0x14
inc eax
mov dword [esi + 0x40], eax
jmp 0x47d06a
test ecx, ecx
jle 0x47c894
mov ecx, dword [ebx + 8]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47c8bc
mov edx, dword [ebx + 0xc]
push edx
push 0
push 0x66
push ebp
call fcn.00472c40
mov eax, dword [esp + 0x54]
push 0
push eax
push 0x73
push ebp
call fcn.00472c40
add esp, 0x20
mov ecx, dword [esp + 0x30]
test byte [ecx + 0xc], 0x80
je 0x47c8e1
mov edx, dword [esi + 0x48]
inc edx
mov eax, edx
mov dword [esi + 0x48], edx
push eax
push 0
push 0x31
push ebp
mov dword [esp + 0x78], eax
call fcn.00472c40
add esp, 0x10
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x47c931
mov eax, dword [esi + 0x44]
push 0xa
push eax
push ebx
push esi
mov dword [esp + 0x44], eax
call fcn.0047dc00
mov edi, eax
mov eax, dword [esp + 0x40]
lea edx, [edi*4 + 4]
push edx
push eax
call fcn.004509b0
add esp, 0x18
mov dword [esp + 0x50], eax
test eax, eax
je 0x47d06a
test edi, edi
jle 0x47c931
mov ecx, dword [esi + 0x48]
add eax, 4
inc ecx
dec edi
mov dword [esi + 0x48], ecx
mov dword [eax - 4], ecx
jne 0x47c921
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47c959
mov ecx, dword [esp + 0x24]
push ecx
push 0x78
push ebp
call fcn.00473050
push ebp
mov dword [esp + 0x6c], eax
call fcn.00454030
add esp, 0x10
mov dword [esp + 0x58], eax
jmp 0x47c989
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x47c989
mov edx, dword [esp + 0x70]
push edx
push 0x3d
push ebp
call fcn.00473050
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
push eax
push 0xb
push ebp
call fcn.00473050
add esp, 0x18
mov dword [esp + 0x5c], eax
mov edx, dword [esi + 0x48]
inc edx
mov dword [esi + 0x48], edx
mov ecx, dword [ebx + 0xc]
mov eax, edx
lea edi, [eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esi + 0x48], eax
mov cl, byte [ebx + 0x22]
test cl, 0x10
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], edi
je 0x47c9b8
inc edi
inc eax
mov dword [esp + 0x20], edi
mov dword [esi + 0x48], eax
push ebp
call fcn.00473070
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x3c]
add esp, 4
test al, 1
je 0x47cbaf
push esi
call fcn.004759e0
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x10], edi
test eax, eax
jge 0x47c9f8
push edi
push 0xffffffffffffffff
push 0x31
push ebp
call fcn.00472c40
add esp, 0x10
jmp 0x47ca5a
mov ecx, dword [esp + 0x40]
push edi
test ecx, ecx
je 0x47ca14
mov edx, dword [esp + 0x28]
push eax
push edx
push 3
push ebp
call fcn.00471fb0
add esp, 0x14
jmp 0x47ca5a
mov ecx, dword [esp + 0xb0]
shl eax, 4
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
push eax
push esi
call fcn.00473330
push edi
push 0x47
push ebp
call fcn.00473050
push edi
push 0xffffffffffffffff
push 0x31
push ebp
mov dword [esp + 0x3c], eax
call fcn.00472c40
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
call fcn.004730f0
push edi
push 0x27
push ebp
call fcn.00473050
add esp, 0x3c
mov edx, dword [ebx + 0xc]
push edx
push esi
call fcn.00475b00
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xc]
add esp, 8
xor edi, edi
test eax, eax
jle 0x47cb18
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x47caab
mov eax, edi
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov ecx, dword [esp + 0x1c]
je 0x47cae4
mov edx, dword [esp + 0x24]
add ecx, edi
push ecx
push eax
push edx
push 3
push ebp
call fcn.00471fb0
add esp, 0x14
jmp 0x47cb01
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x47cac5
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x47cac5
inc eax
add ecx, 8
cmp eax, edx
jl 0x47cab9
cmp eax, edx
jl 0x47ca89
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x14]
add eax, edi
push eax
mov eax, dword [ecx + edx + 4]
push eax
push esi
call fcn.00473330
jmp 0x47cafe
mov edx, dword [esp + 0xac]
add ecx, edi
push ecx
mov ecx, dword [edx + 0xc]
shl eax, 4
mov edx, dword [eax + ecx]
push edx
push esi
call fcn.0047d0c0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
inc edi
add ecx, 0x14
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x47ca7c
push esi
call fcn.004759e0
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [ebx + 0xc]
push edi
push eax
push ecx
push 0x5a
push ebp
call fcn.00471fb0
mov eax, dword [esp + 0x78]
add esp, 0x18
test eax, eax
jne 0x47cb47
push ebx
push ebp
call fcn.0047d110
add esp, 8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push edx
push edi
push eax
push 0x6e
push ebp
call fcn.00471fb0
push edi
push esi
call fcn.00475a10
mov ecx, dword [esp + 0x2c]
push ecx
push esi
call fcn.00475a10
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x40]
push edx
push eax
push esi
call fcn.00475b50
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x74]
push 0
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
push ebx
push 1
push 0
push 0x6a
push esi
call fcn.00485a40
add esp, 0x5c
test eax, eax
jne 0x47d06a
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x47cf05
test byte [ebx + 0x22], 0x10
je 0x47cbd3
mov ecx, dword [esp + 0x48]
push ecx
push 0
push 0x75
push ebp
call fcn.00472c40
add esp, 0x10
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x47ccf3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x47cc46
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push edi
push edx
push eax
push 3
push ebp
call fcn.00471fb0
add esp, 0x14
test byte [ebx + 0x22], 0x10
jne 0x47cccf
push edi
push 0x47
push ebp
call fcn.00473050
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
push eax
push edi
push ecx
push 0x1b
push ebp
call fcn.00471fb0
mov edx, dword [esp + 0x40]
push edx
push ebp
call fcn.004730f0
add esp, 0x28
push edi
push 0x27
push ebp
call fcn.00473050
add esp, 0xc
jmp 0x47cd27
mov eax, dword [esp + 0xb0]
push edi
test eax, eax
je 0x47cc6a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
add edx, ecx
push edx
push 9
push ebp
call fcn.00472c40
add esp, 0x10
jmp 0x47cbfd
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x30]
shl eax, 4
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
push eax
push esi
call fcn.00473330
push ebp
call fcn.00454030
dec eax
push eax
push ebp
call fcn.00475400
add esp, 0x18
test eax, eax
je 0x47cbfd
cmp byte [eax], 0x75
jne 0x47cbfd
test byte [ebx + 0x22], 0x10
jne 0x47cbfd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], 1
mov byte [eax], 0x1b
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
jmp 0x47cd27
push ebp
call fcn.00454030
add eax, 2
push eax
push edi
push 0x46
push ebp
call fcn.00472c40
add esp, 0x14
push edi
push 0x27
push ebp
call fcn.00473050
add esp, 0xc
jmp 0x47cd27
test byte [ebx + 0x22], 0x10
je 0x47cd09
push edi
push 0
push 0x75
push ebp
call fcn.00472c40
add esp, 0x10
jmp 0x47cd27
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
push eax
push edi
push ecx
push 0x1b
push ebp
call fcn.00471fb0
add esp, 0x14
mov dword [esp + 0x3c], 1
mov edx, dword [esp + 0x4c]
push edi
push edx
push esi
call fcn.0047d320
mov ecx, dword [ebx + 0xc]
xor eax, eax
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jle 0x47cdc1
inc edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
cmp eax, ecx
jne 0x47cd6b
push edi
push 0
push 0x75
push ebp
call fcn.00472c40
add esp, 0x10
jmp 0x47cda1
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x47ce02
mov edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [edx + eax + 0x13], cl
je 0x47cdf6
inc dword [esp + 0x1c]
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x14]
push edi
mov eax, dword [ecx + edx + 4]
push eax
push esi
call fcn.00473330
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
inc eax
inc edi
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edx
jl 0x47cd50
test byte [ebx + 0x22], 0x10
je 0x47cea3
push ebx
push esi
call fcn.004875a0
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
push 0xfffffffffffffff6
push ecx
add eax, 2
push edx
push eax
push 1
push 0x7b
push ebp
call fcn.00471f70
add esp, 0x24
jmp 0x47cf05
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
sub eax, edx
jmp 0x47ce2b
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x47ce33
mov ecx, dword [ecx]
add ecx, 4
mov edi, dword [esp + 0x10]
cmp dword [ecx], edi
je 0x47ce20
inc eax
add ecx, 8
cmp eax, edx
jl 0x47ce10
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0xb4]
test eax, eax
jl 0x47cd8b
mov edx, dword [esp + 0x28]
test edx, edx
je 0x47cd8b
test ecx, ecx
je 0x47ce4c
cmp eax, dword [ecx + 4]
jge 0x47cd8b
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x47ce6b
mov ecx, dword [esp + 0x24]
push edi
push eax
push ecx
push 3
push ebp
call fcn.00471fb0
add esp, 0x14
jmp 0x47cda1
mov ecx, dword [esp + 0xb0]
push edi
test ecx, ecx
je 0x47ce8e
mov edx, dword [esp + 0x58]
add eax, edx
push eax
push 9
push ebp
call fcn.00472c40
add esp, 0x10
jmp 0x47cda1
mov ecx, dword [esp + 0xb0]
shl eax, 4
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
jmp 0x47cd97
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x34]
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x3c]
push 0
setge al
push eax
push ecx
push edi
push edx
push ebx
push esi
call fcn.0047d400
mov al, byte [esp + 0x5c]
add esp, 0x24
test al, 2
je 0x47cee5
mov eax, dword [esp + 0x44]
jmp 0x47cee8
or eax, 0xffffffff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0x3c]
push 0
push edx
push edi
push eax
push ebx
push esi
call fcn.0047dae0
add esp, 0x20
mov ecx, dword [esp + 0x30]
test byte [ecx + 0xc], 0x80
je 0x47cf21
mov edx, dword [esp + 0x68]
push 1
push edx
push 0x2b
push ebp
call fcn.00472c40
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47cf59
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x44]
push 0
push 0
push eax
push ecx
push 0xffffffffffffffff
push edx
push ebx
push 2
push 0
push 0x6a
push esi
call fcn.00485a40
add esp, 0x2c
test eax, eax
jne 0x47d06a
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.004730d0
mov eax, dword [esp + 0x48]
add esp, 8
test eax, eax
je 0x47cf9a
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
push ecx
push edi
push 0x6b
push ebp
call fcn.00472c40
mov edx, dword [esp + 0x6c]
push edx
push ebp
call fcn.004730f0
push edi
push 0x22
push ebp
call fcn.00473050
add esp, 0x24
jmp 0x47cfc2
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x47cfc2
mov eax, dword [esp + 0x58]
push eax
push 0
push 0x61
push ebp
call fcn.00472c40
mov ecx, dword [esp + 0x6c]
push ecx
push ebp
call fcn.004730f0
add esp, 0x18
test byte [ebx + 0x22], 0x10
jne 0x47d010
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x47d010
mov edx, dword [esp + 0x34]
push edx
push 0x22
push ebp
call fcn.00473050
mov edi, dword [ebx + 0x14]
add esp, 0xc
test edi, edi
je 0x47d010
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
push ecx
push 0x22
push ebp
call fcn.00473050
mov ecx, dword [esp + 0x48]
mov edi, dword [edi + 0x20]
add esp, 0xc
inc ecx
test edi, edi
mov dword [esp + 0x3c], ecx
jne 0x47cff0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
push edx
push ebx
push eax
push esi
call fcn.0047d350
mov ecx, dword [esp + 0x40]
add esp, 0x10
test byte [ecx + 0xc], 0x80
je 0x47d06a
mov al, byte [esi + 0x13]
test al, al
jne 0x47d06a
mov eax, dword [esi + 0x194]
test eax, eax
jne 0x47d06a
mov edx, dword [esp + 0x68]
push 1
push edx
push 0x5b
push ebp
call fcn.00472c40
push 1
push ebp
call fcn.0046d880
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.0046d8f0
add esp, 0x2c
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.0046dd90
mov ecx, dword [esp + 0xb4]
push ecx
push esi
call fcn.0046a4e0
mov edx, dword [esp + 0xc0]
push edx
push esi
call fcn.0046dcf0
mov eax, dword [esp + 0xcc]
push eax
push esi
call fcn.0046de20
mov ecx, dword [esp + 0x70]
push ecx
push esi
call fcn.004507a0
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret