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

Disassembly:
sub esp, 0x8c
xor eax, eax
mov dword [esp + 0x1c], 0
push ebx
mov ebx, dword [esp + 0x94]
push esi
push edi
xor edi, edi
mov dword [esp + 0x3c], eax
mov esi, dword [ebx]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], esi
cmp dword [ebx + 0x40], eax
jne 0x47fff4
cmp byte [esi + 0x41], al
jne 0x47fff4
push ebp
push dword [esp + 0xa4]
push ebx
call fcn.0049eda0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x47fff1
push edi
push edi
push 0x6d
push ebp
push ebx
call fcn.0049ff90
mov dword [esp + 0x78], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
push ebp
setne al
push ebx
mov dword [esp + 0x54], eax
call fcn.004adc50
add esp, 0x1c
test eax, eax
jne 0x47fff1
cmp dword [esp + 0x64], eax
setne al
push eax
push ebp
push ebx
call fcn.00490a50
add esp, 0xc
test eax, eax
jne 0x47fff1
push dword [ebp + 0x40]
push esi
call fcn.0049b750
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
push edi
push dword [ebp]
push 9
push ebx
call fcn.00477e30
add esp, 0x1c
mov dword [esp + 0x4c], eax
cmp eax, 1
je 0x47fff1
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edx
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x44]
test eax, eax
je 0x47f995
inc ecx
inc edx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f985
mov dword [esp + 0x44], edx
cmp dword [esp + 0x38], edi
je 0x47f9b2
mov eax, dword [ebx + 0x1e8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov dword [esp + 0x70], ebx
mov dword [ebx + 0x1e8], eax
push ebx
call fcn.0048e680
mov edi, eax
add esp, 4
test edi, edi
je 0x47ffe9
cmp byte [ebx + 0x12], 0
jne 0x47f9cf
or dword [edi + 0x58], 4
push dword [esp + 0x10]
push 1
push ebx
call fcn.00478e50
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x47fa0c
push dword [esp + 0x20]
push dword [esp + 0xac]
push ebp
push ebx
call fcn.00492230
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], eax
push dword [esp + 0xa8]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], ebx
call fcn.00499e00
add esp, 8
test eax, eax
jne 0x47ffe9
test byte [esi + 0x18], 0x80
je 0x47fa98
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x17
push edi
mov dword [esp + 0x58], eax
call fcn.004a3dc0
add esp, 0x10
cmp dword [esp + 0x4c], 0
jne 0x47fb35
cmp dword [esp + 0xa8], 0
jne 0x47fb35
cmp dword [esp + 0x64], 0
jne 0x47fb35
test byte [ebp + 0x2a], 0x10
jne 0x47fb35
push 0
push 0
push ebp
push ebx
call fcn.00486ca0
add esp, 0x10
test eax, eax
jne 0x47fb35
push dword [ebp]
mov esi, dword [esp + 0x14]
push 1
push dword [ebp + 0x1c]
push esi
push ebx
call fcn.0049f8b0
add esp, 0x14
test byte [ebp + 0x2a], 0x20
jne 0x47fb04
push 0xfffffffffffffffe
push dword [ebp]
push dword [esp + 0x50]
push esi
push dword [ebp + 0x1c]
push 0x77
push edi
call fcn.004a3ea0
add esp, 0x1c
mov esi, dword [ebp + 8]
test esi, esi
je 0x47ff84
mov ebx, dword [esp + 0x10]
push ebx
push dword [esi + 0x28]
push 0x77
push edi
call fcn.004a3dc0
mov esi, dword [esi + 0x14]
add esp, 0x10
test esi, esi
jne 0x47fb13
mov ebx, dword [esp + 0xa0]
jmp 0x47ff84
test byte [ebp + 0x2a], 0x20
jne 0x47fb65
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x1a
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x68], eax
call fcn.004a3dc0
add esp, 0x10
jmp 0x47fbb4
push ebp
call fcn.004991c0
mov dword [esp + 0x28], eax
movzx ecx, word [eax + 0x2e]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x40], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov edx, dword [ebx + 0x44]
push edx
mov dword [ebx + 0x48], eax
push 0x39
lea eax, [edx + 1]
mov dword [esp + 0x44], edx
push edi
mov dword [ebx + 0x44], eax
call fcn.004a3dc0
push dword [esp + 0x38]
mov dword [esp + 0x84], eax
push ebx
call fcn.004ad1b0
add esp, 0x1c
mov eax, dword [esp + 0x20]
inc eax
push eax
push 0xc
push 0
push 0
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push ebx
call fcn.004afcc0
add esp, 0x1c
mov dword [esp + 0x4c], eax
test eax, eax
je 0x47ffe9
test byte [esi + 0x18], 0x80
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x28], eax
je 0x47fc10
push 1
push dword [esp + 0x4c]
push 0x25
push edi
call fcn.004a3dc0
add esp, 0x10
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x47fc60
mov eax, dword [esp + 0x3c]
cwde
test eax, eax
jle 0x47fc56
xor esi, esi
mov ebx, eax
mov eax, dword [esp + 0x50]
add eax, esi
push eax
mov eax, dword [ecx + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x28]
push ebp
push edi
call fcn.00482360
mov ecx, dword [esp + 0x38]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x47fc25
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jmp 0x47fc83
mov eax, dword [ebx + 0x48]
push 0
inc eax
push eax
push dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
push ebx
call fcn.004822b0
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp eax, dword [ebx + 0x48]
jle 0x47fc83
mov dword [ebx + 0x48], eax
cmp dword [esp + 0x28], 0
je 0x47fd33
mov eax, dword [esp + 0x3c]
movzx eax, ax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
lea eax, [eax + 2]
cdq
push edx
push eax
push esi
call fcn.0047f320
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x47fccf
push dword [esp + 0x4c]
call fcn.004b1ee0
mov edi, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
jmp 0x47fff3
mov eax, dword [esp + 0x44]
inc eax
push eax
push 1
push ecx
call sub.MSVCRT.dll_memset
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov byte [ecx + eax + 1], 0
mov ecx, dword [esp + 0x20]
test edx, edx
js 0x47fcff
sub edx, ecx
mov byte [edx + eax], 0
mov edx, dword [esp + 0x78]
test edx, edx
js 0x47fd0d
sub edx, ecx
mov byte [edx + eax], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47fd1f
push eax
push edi
call fcn.004a4360
add esp, 8
push 0xe
push edi
call fcn.004a3ce0
add esp, 8
mov dword [esp + 0x68], eax
jmp 0x47fda8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x47fd8d
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
movsx esi, ax
push esi
push ecx
push edi
mov dword [esp + 0x1c], 0
call fcn.0048eea0
add esp, 8
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x60]
push 0x31
push edi
call fcn.004a3ea0
push dword [esp + 0x38]
push dword [esp + 0x54]
push 0x6f
push edi
call fcn.004a3dc0
mov esi, dword [esp + 0x88]
add esp, 0x2c
jmp 0x47fda8
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x18], 1
push 0x81
push edi
call fcn.004a3dc0
add esp, 0x10
push dword [esp + 0x4c]
call fcn.004b1ee0
add esp, 4
cmp dword [esp + 0x28], 0
je 0x47fddd
push edi
call fcn.004ab090
push eax
push 0
push 0xe
push edi
mov dword [esp + 0x68], eax
call fcn.004a3dc0
push dword [esp + 0x7c]
push edi
call fcn.004aac70
add esp, 0x1c
cmp dword [esp + 0x38], 0
jne 0x47fe0a
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push 0x37
push ebp
push ebx
call fcn.00492b80
mov eax, dword [esp + 0x7c]
add esp, 0x1c
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47fe40
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
cmp byte [eax + edx], 0
je 0x47fe90
mov eax, dword [esp + 0x10]
cwde
push eax
push dword [esp + 0x20]
push dword [esp + 0x5c]
push edx
push 0x45
push edi
call fcn.004a3f40
add esp, 0x18
jmp 0x47fe88
cmp dword [esp + 0x24], 0
je 0x47fe6c
push dword [esp + 0x34]
push 0x6d
push edi
call fcn.004a3d50
push dword [esp + 0x28]
mov dword [esp + 0x40], eax
push dword [esp + 0x44]
push 0x66
push edi
call fcn.004a3dc0
add esp, 0x1c
jmp 0x47fe88
push dword [esp + 0x1c]
push 0
push dword [esp + 0x60]
push 0x82
push edi
call fcn.004a3e30
add esp, 0x14
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
test byte [ebp + 0x2a], 0x10
je 0x47fecc
push ebp
push esi
call fcn.0048e430
push ebp
push ebx
mov esi, eax
call fcn.004ae6e0
push 0xfffffffffffffff6
push esi
push dword [esp + 0x34]
push 1
push 0
push 0xd
push edi
call fcn.004a3ea0
push 2
push edi
call fcn.004a4340
push ebx
call fcn.00492400
add esp, 0x38
jmp 0x47fef8
cmp byte [ebx + 0x12], 0
push ecx
push 0xa
sete al
movzx eax, al
push eax
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push edx
push dword [esp + 0x80]
push ebp
push ebx
call fcn.0048d620
add esp, 0x28
cmp dword [esp + 0x28], 0
je 0x47ff12
push dword [esp + 0x54]
push edi
call fcn.004acd00
mov esi, dword [esp + 0x2c]
add esp, 8
jmp 0x47ff43
mov esi, dword [esp + 0x24]
test esi, esi
je 0x47ff28
mov eax, dword [esp + 0x30]
inc eax
push eax
push dword [esp + 0x38]
push 8
jmp 0x47ff30
push dword [esp + 0x30]
push 0
push 0xe
push edi
call fcn.004a3dc0
push dword [esp + 0x40]
push edi
call fcn.004aac70
add esp, 0x18
cmp dword [esp + 0x38], 0
jne 0x47ff84
test byte [ebp + 0x2a], 0x10
jne 0x47ff84
test esi, esi
jne 0x47ff63
push dword [esp + 0x2c]
push 0x3d
push edi
call fcn.004a3d50
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x47ff84
mov ebp, dword [esp + 0x40]
mov edi, edi
push ebp
push 0x3d
push edi
call fcn.004a3d50
mov esi, dword [esi + 0x14]
add esp, 0xc
inc ebp
test esi, esi
jne 0x47ff70
cmp byte [ebx + 0x12], 0
jne 0x47ff9c
cmp dword [ebx + 0x19c], 0
jne 0x47ff9c
push ebx
call fcn.00478610
add esp, 4
mov esi, dword [esp + 0x5c]
test byte [esi + 0x18], 0x80
je 0x47ffdf
cmp byte [ebx + 0x12], 0
jne 0x47ffdf
cmp dword [ebx + 0x19c], 0
jne 0x47ffdf
push 1
push dword [esp + 0x4c]
push 0x21
push edi
call fcn.004a3dc0
push 1
push edi
call fcn.004ad0e0
push 0
push str.rows_deleted
push 0
push 0
push edi
call fcn.004ad0a0
add esp, 0x2c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x47fff3
mov eax, dword [esp + 0x18]
xor edi, edi
jmp 0x47fff3
xor eax, eax
pop ebp
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x480002
mov dword [ebx + 0x1e8], eax
push dword [esp + 0xa0]
push esi
call fcn.0049e7e0
push dword [esp + 0xac]
push esi
call fcn.00483ce0
add esp, 0x10
test edi, edi
je 0x48007b
test esi, esi
je 0x480072
cmp dword [esi + 0x208], 0
je 0x480044
push edi
push esi
call fcn.00467960
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
cmp edi, dword [esi + 0x114]
jb 0x480072
cmp edi, dword [esi + 0x118]
jae 0x480072
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
push edi
call fcn.00438320
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x8c
ret