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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x50], 0
mov eax, 1
mov word [ebp - 0xc], ax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0
push 8
push 0
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0057ccd0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0
je 0x4f0d61
jmp 0x4f1840
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00512bc0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4f0d7f
jmp 0x4f1840
push 0
push 0
push 0x80
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005146c0
add esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 2
jne 0x4f0db0
mov dword [ebp - 0x74], 1
jmp 0x4f0db7
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x6c], 0
jne 0x4f0de4
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fb010
add esp, 0x10
test eax, eax
jne 0x4f0de4
mov dword [ebp - 0x78], 0
jmp 0x4f0deb
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00527400
add esp, 8
test eax, eax
je 0x4f0e0a
jmp 0x4f1840
cmp dword [ebp - 0x6c], 0
je 0x4f0e19
mov dword [ebp - 0x7c], 1
jmp 0x4f0e20
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00501400
add esp, 0xc
test eax, eax
je 0x4f0e3d
jmp 0x4f1840
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0050f3e0
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
shl edx, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx]
push edx
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.004e66d0
add esp, 0x14
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jne 0x4f0e8d
jmp 0x4f1840
mov eax, 0x48
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov dword [edx + ecx + 0x34], eax
mov ecx, 0x48
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx + 0x34]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
jmp 0x4f0ee7
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x20], 0
je 0x4f0efe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp 0x4f0ed5
cmp dword [ebp - 0x68], 0
je 0x4f0f1d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e67c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004fe6e0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f0f37
jmp 0x4f1840
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x4f0f4e
mov edx, dword [ebp - 4]
push edx
call fcn.00518210
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e73c0
add esp, 0xc
cmp dword [ebp - 0x68], 0
je 0x4f0fa2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00502f90
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
push 0x20
push 0
lea edx, [ebp - 0xe4]
push edx
call fcn.0057ccd0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.0050da60
add esp, 8
test eax, eax
je 0x4f0fe3
jmp 0x4f1840
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x20]
and edx, 0
mov eax, dword [ecx + 0x24]
and eax, 1
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xbc]
or ecx, dword [ebp - 0xb8]
je 0x4f105d
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4f105d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4f105d
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
jne 0x4f105d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x47
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517950
add esp, 0x10
cmp dword [ebp - 0x84], 0
jne 0x4f118a
cmp dword [ebp + 0x10], 0
jne 0x4f118a
cmp dword [ebp - 0x58], 0
jne 0x4f118a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x4f118a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00513e70
add esp, 0x14
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
and edx, 0x80
jne 0x4f1101
cmp dword [ebp - 0x18], 0
je 0x4f10cc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
jmp 0x4f10d6
mov dword [ebp - 0x88], 0xffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
push 0x90
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517a10
add esp, 0x1c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
jmp 0x4f1115
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4f1185
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2c]
push edx
push 0x90
mov eax, dword [ebp - 4]
push eax
call fcn.00517950
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x38]
and edx, 3
cmp edx, 2
jne 0x4f1183
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
je 0x4f1183
cmp dword [ebp - 0x18], 0
je 0x4f1164
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], edx
jmp 0x4f116e
mov dword [ebp - 0x8c], 0xffffffff
mov eax, dword [ebp - 0x8c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517eb0
add esp, 0xc
jmp 0x4f110c
jmp 0x4f1805
mov edx, 0x14
mov word [ebp - 0x34], dx
mov eax, dword [ebp - 0xcc]
and eax, 0x40
je 0x4f11a5
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0
je 0x4f11b7
mov dword [ebp - 0x90], 0
jmp 0x4f11c1
mov dword [ebp - 0x90], 8
movzx ecx, word [ebp - 0x34]
or ecx, dword [ebp - 0x90]
mov word [ebp - 0x34], cx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
and eax, 0x80
jne 0x4f1226
mov dword [ebp - 0x24], 0
mov ecx, 1
mov word [ebp - 0xc], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 4]
push edx
call fcn.00517950
add esp, 0x10
jmp 0x4f129e
mov eax, dword [ebp - 8]
push eax
call fcn.0050c4e0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0x32]
mov word [ebp - 0xc], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x50], ecx
movsx edx, word [ebp - 0xc]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
movsx ecx, word [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0x74
mov eax, dword [ebp - 4]
push eax
call fcn.00517950
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005264d0
add esp, 8
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
movzx ecx, word [ebp - 0x34]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a080
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4f12d2
jmp 0x4f1840
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0052e590
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x4f12fa
mov ecx, dword [ebp + 8]
push ecx
call fcn.005035c0
add esp, 4
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052e840
add esp, 4
test eax, eax
je 0x4f131f
mov eax, dword [ebp - 0x14]
push eax
push 0x8e
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517930
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4f1339
push 1
mov edx, dword [ebp - 0x18]
push edx
push 0x55
mov eax, dword [ebp - 4]
push eax
call fcn.00517950
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x4f138d
mov dword [ebp - 0x48], 0
jmp 0x4f1351
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
movsx edx, word [ebp - 0xc]
cmp dword [ebp - 0x48], edx
jge 0x4f1385
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x48]
movsx ecx, word [edx + eax*2]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f4280
add esp, 0x14
jmp 0x4f1348
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
jmp 0x4f13cb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x98]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004f4280
add esp, 0x14
cmp dword [ebp - 0x2c], 0
je 0x4f14ab
mov ax, word [ebp - 0xc]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x4c]
add eax, 2
cdq
push edx
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004f0400
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4f140c
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052d3f0
add esp, 4
jmp 0x4f1840
mov eax, dword [ebp - 0x4c]
add eax, 1
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0057ccd0
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x4c]
mov byte [edx + 1], 0
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0xac], 0
jl 0x4f1456
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0xac]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov byte [edx + ecx], 0
mov eax, 4
shl eax, 0
cmp dword [ebp + eax - 0xac], 0
jl 0x4f1481
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0xac]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov byte [eax + edx], 0
cmp dword [ebp - 0x64], 0
je 0x4f1497
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00517fd0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.005233d0
add esp, 4
mov dword [ebp - 0x70], eax
jmp 0x4f1564
cmp dword [ebp - 0x24], 0
je 0x4f1536
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x10], edx
xor eax, eax
mov word [ebp - 0x1c], ax
movsx ecx, word [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004fee30
add esp, 8
push eax
mov edx, dword [ebp - 0x10]
push edx
movsx eax, word [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x60
mov edx, dword [ebp - 4]
push edx
call fcn.00517a10
add esp, 0x1c
movsx eax, word [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 0x89
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517ac0
add esp, 0x18
jmp 0x4f1558
mov edx, 1
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x9b
mov edx, dword [ebp - 4]
push edx
call fcn.00517950
add esp, 0x10
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0052d3f0
add esp, 4
cmp dword [ebp - 0x68], 0
jne 0x4f15cb
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0x2c], 2
jne 0x4f158e
push 0x11
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517910
add esp, 8
mov dword [ebp - 0xa0], eax
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 8
push 0x70
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00503b90
add esp, 0x20
cmp dword [ebp - 0x2c], 2
jne 0x4f15cb
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00522ff0
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x4f160f
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x4f160d
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4f160d
movsx eax, word [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x54]
push eax
push 0x1e
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517ac0
add esp, 0x18
jmp 0x4f1686
cmp dword [ebp - 0x24], 0
je 0x4f166b
mov edx, dword [ebp - 0x38]
push edx
push 0x26
mov eax, dword [ebp - 4]
push eax
call fcn.00517930
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x4f1650
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0x5d
mov edx, dword [ebp - 4]
push edx
call fcn.00517970
add esp, 0x14
jmp 0x4f1669
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0x85
mov edx, dword [ebp - 4]
push edx
call fcn.00517950
add esp, 0x10
jmp 0x4f1686
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x2d
mov edx, dword [ebp - 4]
push edx
call fcn.00517970
add esp, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x4f171f
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004fe1b0
add esp, 8
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005283f0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.005030a0
add esp, 4
cmp dword [ebp - 0x2c], 1
jne 0x4f16f0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x79
mov edx, dword [ebp - 4]
push edx
call fcn.00517930
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
jne 0x4f16f0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x14], 0
push 0xfffffffffffffff4
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0
push 0xa
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517a10
add esp, 0x1c
push 2
mov edx, dword [ebp - 4]
push edx
call fcn.00517fa0
add esp, 8
jmp 0x4f1790
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x4f1736
mov dword [ebp - 0xa4], 1
jmp 0x4f1740
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0xac]
push ecx
movzx edx, byte [ebp - 0x2c]
push edx
push 0xb
movzx eax, byte [ebp - 0xb4]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fcd40
add esp, 0x2c
cmp dword [ebp - 0x2c], 0
je 0x4f17b4
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00525ef0
add esp, 8
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0052d3f0
add esp, 4
jmp 0x4f1805
cmp dword [ebp - 0x24], 0
je 0x4f17e5
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
mov eax, dword [ebp - 0x38]
push eax
push 5
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517950
add esp, 0x10
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00522fd0
add esp, 8
jmp 0x4f1805
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00522700
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00522fd0
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4f1825
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4f1825
mov edx, dword [ebp + 8]
push edx
call fcn.004e6ca0
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x4f1840
push str.rows_deleted
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ec7d0
add esp, 0xc
lea edx, [ebp - 0xc4]
push edx
call fcn.004e6790
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005125c0
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f6ae0
add esp, 8
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004f0290
add esp, 8
mov esp, ebp
pop ebp
ret