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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], edx
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x40], eax
jne 0x47cbb6
cmp byte [eax + 0x51], 0
jne 0x47cbb6
call fcn.0047bfc0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x47cbb6
push 0
push 0
push 0x75
mov edx, esi
mov ecx, edi
call fcn.00499100
mov ecx, eax
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x47c365
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, ecx
je 0x47c35b
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.00435ca0
add esp, 4
cmp dword [eax + 8], 0
jne 0x47c365
cmp dword [esi + 0x10], 0
jne 0x47c365
mov dword [esp + 0x14], 0
jmp 0x47c36d
mov dword [esp + 0x14], 1
mov edx, esi
mov ecx, edi
call fcn.00477410
test eax, eax
jne 0x47cbb6
cmp dword [esp + 0x5c], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.0047c0d0
add esp, 4
test eax, eax
jne 0x47cbb6
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x40]
call fcn.0048c0e0
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.00473990
add esp, 0xc
mov dword [esp + 0x44], eax
cmp eax, 1
je 0x47cbb6
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x47c410
nop dword [eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47c400
mov dword [esp + 0x50], edx
cmp dword [esp + 0x64], 0
je 0x47c42f
mov eax, dword [edi + 0xec]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], edi
mov dword [edi + 0xec], eax
jmp 0x47c43f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x60], esi
test esi, esi
jne 0x47c470
cmp dword [edi + 0x74], esi
jne 0x47c45b
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x47c45b
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00451860
mov esi, eax
mov dword [esp + 0x60], eax
test esi, esi
je 0x47c7c7
cmp byte [edi + 0x12], 0
jne 0x47c47d
or dword [esi + 0x98], 0x20
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.0047a8d0
add esp, 4
cmp dword [esp + 0x64], 0
je 0x47c4bb
push dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.0047c120
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x80]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.004667d0
test eax, eax
jne 0x47c7c7
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x47c530
cmp byte [edi + 0x12], 0
jne 0x47c530
cmp dword [edi + 0x78], 0
jne 0x47c530
inc dword [edi + 0x2c]
mov edx, 0x46
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x5c], eax
call fcn.00451c90
add esp, 8
cmp dword [esp + 0x44], 0
jne 0x47c5e6
cmp dword [ebp + 8], 0
jne 0x47c5e6
cmp dword [esp + 0x14], 0
jne 0x47c5e6
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], 0
jne 0x47c5e6
push dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.00473a20
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ecx + 0x24], 0x20
jne 0x47c5a8
mov edx, dword [esp + 0x54]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x89
push eax
push dword [esp + 0x28]
push dword [ecx + 0x1c]
mov ecx, esi
call fcn.00451fd0
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x47cb5c
mov edi, eax
nop dword [eax]
push dword [esp + 0x1c]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00451c90
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x47c5c0
mov edi, dword [esp + 0x10]
jmp 0x47cb5c
test byte [esp + 0x98], 0x40
mov eax, 1
cmove eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x47c643
inc dword [edi + 0x2c]
mov edx, 0x49
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x70], eax
call fcn.00451c90
add esp, 8
jmp 0x47c695
mov ecx, eax
call fcn.00475290
mov dword [esp + 0x14], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x4c], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x3c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x71
mov dword [edi + 0x28], eax
call fcn.00451c90
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00452bf0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x58]
inc eax
push eax
push dword [esp + 0x48]
push 0
push 0
push dword [ebp + 8]
call fcn.004aa0e0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x47c7c7
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], eax
movzx eax, byte [ecx + 0x31]
mov dword [esp + 0x28], eax
cmp eax, 1
je 0x47c6eb
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47c705
push 1
push eax
mov edx, 0x53
mov ecx, esi
call fcn.00451c90
add esp, 8
mov edx, dword [esp + 0x14]
test edx, edx
je 0x47c765
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x47c75b
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x20]
call fcn.0046c080
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x1c]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x47c720
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
jmp 0x47c788
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0xc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0046c080
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x47c886
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
add eax, 2
cdq
push edx
push eax
call fcn.00431410
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x47c828
mov ecx, dword [esp + 0x74]
call fcn.004aabc0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47c7d9
mov dword [eax + 0xec], ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.00479ff0
mov eax, dword [ebp + 8]
test eax, eax
je 0x47c7f8
mov edx, eax
mov ecx, esi
call fcn.00467ec0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x47cbf0
test esi, esi
je 0x47cbe7
cmp dword [esi + 0x1e0], 0
je 0x47cbc3
mov edx, ecx
mov ecx, esi
call fcn.00431090
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.005889a0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x47c858
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x44]
test eax, eax
js 0x47c866
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47c877
mov edx, eax
mov ecx, esi
call fcn.004529f0
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x70], eax
jmp 0x47c917
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47c8f2
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x3c], 0
call fcn.00483180
mov ecx, dword [esp + 0x68]
add esp, 4
mov edx, 0x66
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x58]
call fcn.00451fd0
add esp, 0x14
mov edx, 0x84
push esi
push dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x44]
call fcn.00452200
add esp, 0x10
jmp 0x47c90e
push eax
push dword [esp + 0x6c]
mov edx, 0x94
mov dword [esp + 0x3c], 1
mov ecx, esi
call fcn.00451c90
add esp, 8
mov ecx, dword [esp + 0x74]
call fcn.004aabc0
cmp dword [esp + 0x64], 0
jne 0x47c977
cmp dword [esp + 0x28], 2
mov dword [esp + 0x24], 0
jne 0x47c93d
mov edx, 0x11
mov ecx, esi
call fcn.00451bd0
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x24]
push 8
push 0x6e
call fcn.00486740
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, 2
jne 0x47c97b
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.004526b0
jmp 0x47c97f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47c9c3
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [ecx + 0x38], 0
jne 0x47ca43
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x18]
cmp byte [eax + edx], 0
je 0x47ca39
mov eax, dword [esp + 0x34]
mov ecx, esi
cwde
push eax
push dword [esp + 0x14]
push dword [esp + 0x78]
push edx
mov edx, 0x1c
call fcn.00452200
add esp, 0x10
jmp 0x47ca31
cmp dword [esp + 0x14], 0
mov ecx, esi
je 0x47ca16
push dword [esp + 0x38]
mov edx, 0x24
call fcn.00451c30
mov dword [esp + 0x40], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x47ca03
push 0
push dword [esp + 0x40]
mov edx, 0x5a
call fcn.00451b60
jmp 0x47ca2e
push dword [esp + 0x3c]
mov edx, 0x7f
call fcn.00451c90
add esp, 8
jmp 0x47ca31
push dword [esp + 0x10]
mov edx, 0x29
push 0
push dword [esp + 0x70]
call fcn.00451b60
mov dword [esp + 0x48], eax
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x38], 0
je 0x47cad4
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x24], eax
test eax, eax
je 0x47ca61
mov ecx, dword [esp + 0x40]
cmp dword [eax], ecx
je 0x47ca5d
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x47ca52
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.0049e9c0
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x28], 1
mov byte [ecx + 0x15], 1
jne 0x47ca9e
push dword [esp + 0x18]
mov edx, 0x75
mov ecx, esi
call fcn.00451c30
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x47ca9e
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x28]
mov edx, 0xa
mov ecx, esi
push dword [esp + 0x18]
push 1
push 0
call fcn.00451fd0
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x47cb0b
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x47cb0b
push dword [esp + 0x44]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x2c]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x44]
push dword [esp + 0x24]
push dword [esp + 0x84]
push edx
push dword [esp + 0x7c]
mov edx, dword [esp + 0x30]
call fcn.0047cc00
add esp, 0x24
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x47cb28
mov edx, dword [esp + 0x70]
call fcn.00452380
mov ecx, dword [esp + 0x74]
call fcn.004aabc0
jmp 0x47cb5c
cmp dword [esp + 0x14], 0
je 0x47cb48
mov eax, dword [esp + 0x3c]
mov edx, 5
inc eax
push eax
push dword [esp + 0x3c]
call fcn.00451c90
add esp, 8
jmp 0x47cb51
mov edx, dword [esp + 0x3c]
call fcn.00451d00
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004526b0
cmp byte [edi + 0x12], 0
jne 0x47cb75
cmp dword [edi + 0x78], 0
jne 0x47cb75
cmp dword [edi + 0x70], 0
je 0x47cb75
mov ecx, edi
call fcn.004836b0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47c7c7
push 1
push eax
mov edx, 0x51
mov ecx, esi
call fcn.00451c90
mov edx, 1
mov ecx, esi
call fcn.00453cf0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.00453db0
add esp, 0x14
jmp 0x47c7c7
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x47c7cf
cmp ecx, dword [esi + 0x130]
jb 0x47cbe7
cmp ecx, dword [esi + 0x134]
jae 0x47cbe7
mov eax, dword [esi + 0x12c]
mov dword [ecx], eax
mov dword [esi + 0x12c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00431020
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret