Function at 0x4e5b00
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.005768e0
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 0x4e5b81
jmp 0x4e6660
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005079e0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e5b9f
jmp 0x4e6660
push 0
push 0
push 0x80
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005094e0
add esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 2
jne 0x4e5bd0
mov dword [ebp - 0x74], 1
jmp 0x4e5bd7
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x6c], 0
jne 0x4e5c04
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004efe30
add esp, 0x10
test eax, eax
jne 0x4e5c04
mov dword [ebp - 0x78], 0
jmp 0x4e5c0b
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.0051c220
add esp, 8
test eax, eax
je 0x4e5c2a
jmp 0x4e6660
cmp dword [ebp - 0x6c], 0
je 0x4e5c39
mov dword [ebp - 0x7c], 1
jmp 0x4e5c40
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.004f6220
add esp, 0xc
test eax, eax
je 0x4e5c5d
jmp 0x4e6660
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00504200
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.004db4f0
add esp, 0x14
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jne 0x4e5cad
jmp 0x4e6660
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 0x4e5d07
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 0x4e5d1e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp 0x4e5cf5
cmp dword [ebp - 0x68], 0
je 0x4e5d3d
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.004db5e0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004f3500
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4e5d57
jmp 0x4e6660
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x4e5d6e
mov edx, dword [ebp - 4]
push edx
call fcn.0050d030
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.004dc1e0
add esp, 0xc
cmp dword [ebp - 0x68], 0
je 0x4e5dc2
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.004f7db0
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.005768e0
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.00502880
add esp, 8
test eax, eax
je 0x4e5e03
jmp 0x4e6660
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 0x4e5e7d
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4e5e7d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4e5e7d
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
jne 0x4e5e7d
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.0050c770
add esp, 0x10
cmp dword [ebp - 0x84], 0
jne 0x4e5faa
cmp dword [ebp + 0x10], 0
jne 0x4e5faa
cmp dword [ebp - 0x58], 0
jne 0x4e5faa
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x4e5faa
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.00508c90
add esp, 0x14
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
and edx, 0x80
jne 0x4e5f21
cmp dword [ebp - 0x18], 0
je 0x4e5eec
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
jmp 0x4e5ef6
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.0050c830
add esp, 0x1c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
jmp 0x4e5f35
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4e5fa5
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.0050c770
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x38]
and edx, 3
cmp edx, 2
jne 0x4e5fa3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
je 0x4e5fa3
cmp dword [ebp - 0x18], 0
je 0x4e5f84
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], edx
jmp 0x4e5f8e
mov dword [ebp - 0x8c], 0xffffffff
mov eax, dword [ebp - 0x8c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050ccd0
add esp, 0xc
jmp 0x4e5f2c
jmp 0x4e6625
mov edx, 0x14
mov word [ebp - 0x34], dx
mov eax, dword [ebp - 0xcc]
and eax, 0x40
je 0x4e5fc5
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0
je 0x4e5fd7
mov dword [ebp - 0x90], 0
jmp 0x4e5fe1
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 0x4e6046
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.0050c770
add esp, 0x10
jmp 0x4e60be
mov eax, dword [ebp - 8]
push eax
call fcn.00501300
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.0050c770
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0051b2f0
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.0051eea0
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4e60f2
jmp 0x4e6660
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005233b0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x4e611a
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f83e0
add esp, 4
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00523660
add esp, 4
test eax, eax
je 0x4e613f
mov eax, dword [ebp - 0x14]
push eax
push 0x8e
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c750
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4e6159
push 1
mov edx, dword [ebp - 0x18]
push edx
push 0x55
mov eax, dword [ebp - 4]
push eax
call fcn.0050c770
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x4e61ad
mov dword [ebp - 0x48], 0
jmp 0x4e6171
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
movsx edx, word [ebp - 0xc]
cmp dword [ebp - 0x48], edx
jge 0x4e61a5
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.004e90a0
add esp, 0x14
jmp 0x4e6168
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
jmp 0x4e61eb
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.004e90a0
add esp, 0x14
cmp dword [ebp - 0x2c], 0
je 0x4e62cb
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.004e5220
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4e622c
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00522210
add esp, 4
jmp 0x4e6660
mov eax, dword [ebp - 0x4c]
add eax, 1
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005768e0
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 0x4e6276
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 0x4e62a1
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 0x4e62b7
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0050cdf0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.005181f0
add esp, 4
mov dword [ebp - 0x70], eax
jmp 0x4e6384
cmp dword [ebp - 0x24], 0
je 0x4e6356
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.004f3c50
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.0050c830
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.0050c8e0
add esp, 0x18
jmp 0x4e6378
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.0050c770
add esp, 0x10
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00522210
add esp, 4
cmp dword [ebp - 0x68], 0
jne 0x4e63eb
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0x2c], 2
jne 0x4e63ae
push 0x11
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c730
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.004f89b0
add esp, 0x20
cmp dword [ebp - 0x2c], 2
jne 0x4e63eb
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00517e10
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x4e642f
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
je 0x4e642d
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4e642d
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.0050c8e0
add esp, 0x18
jmp 0x4e64a6
cmp dword [ebp - 0x24], 0
je 0x4e648b
mov edx, dword [ebp - 0x38]
push edx
push 0x26
mov eax, dword [ebp - 4]
push eax
call fcn.0050c750
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x4e6470
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.0050c790
add esp, 0x14
jmp 0x4e6489
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.0050c770
add esp, 0x10
jmp 0x4e64a6
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.0050c790
add esp, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x2b]
cmp ecx, 1
jne 0x4e653f
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f2fd0
add esp, 8
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0051d210
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.004f7ec0
add esp, 4
cmp dword [ebp - 0x2c], 1
jne 0x4e6510
mov ecx, dword [ebp - 0x14]
push ecx
push 0x79
mov edx, dword [ebp - 4]
push edx
call fcn.0050c750
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
jne 0x4e6510
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.0050c830
add esp, 0x1c
push 2
mov edx, dword [ebp - 4]
push edx
call fcn.0050cdc0
add esp, 8
jmp 0x4e65b0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x4e6556
mov dword [ebp - 0xa4], 1
jmp 0x4e6560
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.004f1b60
add esp, 0x2c
cmp dword [ebp - 0x2c], 0
je 0x4e65d4
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0051ad10
add esp, 8
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00522210
add esp, 4
jmp 0x4e6625
cmp dword [ebp - 0x24], 0
je 0x4e6605
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.0050c770
add esp, 0x10
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00517df0
add esp, 8
jmp 0x4e6625
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00517520
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00517df0
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x4e6645
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4e6645
mov edx, dword [ebp + 8]
push edx
call fcn.004dbac0
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x4e6660
push str.rows_deleted
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004e15f0
add esp, 0xc
lea edx, [ebp - 0xc4]
push edx
call fcn.004db5b0
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005073e0
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004eb900
add esp, 8
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004e50b0
add esp, 8
mov esp, ebp
pop ebp
ret