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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, 1
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0
je 0x503c8f
jmp 0x50476e
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00503920
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x503cad
jmp 0x50476e
push 0
push 0
push 0x80
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00522830
add esp, 0x14
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x2b]
xor edx, edx
cmp ecx, 2
sete dl
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x7c], 0
jne 0x503d05
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00509600
add esp, 0x10
test eax, eax
jne 0x503d05
mov dword [ebp - 0xb4], 0
jmp 0x503d0f
mov dword [ebp - 0xb4], 1
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fea90
add esp, 8
test eax, eax
je 0x503d31
jmp 0x50476e
xor edx, edx
cmp dword [ebp - 0x7c], 0
setne dl
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00503aa0
add esp, 0xc
test eax, eax
je 0x503d54
jmp 0x50476e
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00515040
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx]
push edx
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.004f9ca0
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x503da4
jmp 0x50476e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xa0], 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 - 0x90], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
mov dword [ebp - 0x8c], eax
jmp 0x503e01
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x8c], 0
je 0x503e1b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp 0x503de3
cmp dword [ebp - 0x70], 0
je 0x503e37
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f9d60
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00518c00
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x503e51
jmp 0x50476e
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x503e68
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d5240
add esp, 4
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00502470
add esp, 0xc
cmp dword [ebp - 0x70], 0
je 0x503ec8
mov eax, dword [ebp - 0xa0]
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 - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00503b10
add esp, 0x18
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x98], ecx
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.004e9c10
add esp, 8
test eax, eax
je 0x503f07
jmp 0x50476e
mov ecx, dword [ebp - 4]
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 0x503f84
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x503f84
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x503f84
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
jne 0x503f84
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
push 0
push 0x47
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cfed0
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0x5040d8
cmp dword [ebp + 0x10], 0
jne 0x5040d8
cmp dword [ebp - 0x60], 0
jne 0x5040d8
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x5040d8
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f9f00
add esp, 0x14
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x1c]
and edx, 0x80
jne 0x504031
cmp dword [ebp - 0x88], 0
je 0x503ff9
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc0], eax
jmp 0x504003
mov dword [ebp - 0xc0], 0xffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14]
push eax
push 0x91
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d0020
add esp, 0x1c
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
mov dword [ebp - 0x8c], eax
jmp 0x50404e
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0
je 0x5040d3
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x2c]
push edx
push 0x91
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfed0
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x38]
and edx, 3
cmp edx, 2
jne 0x5040ce
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
je 0x5040ce
cmp dword [ebp - 0x88], 0
je 0x5040af
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xc4], edx
jmp 0x5040b9
mov dword [ebp - 0xc4], 0xffffffff
mov eax, dword [ebp - 0xc4]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d08b0
add esp, 0xc
jmp 0x50403f
jmp 0x50472d
mov edx, 0x14
mov word [ebp - 0xa4], dx
mov eax, dword [ebp - 0x3c]
and eax, 0x40
je 0x5040f3
mov dword [ebp - 0x60], 1
mov ecx, dword [ebp - 0x60]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
movzx edx, word [ebp - 0xa4]
or edx, ecx
mov word [ebp - 0xa4], dx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
jne 0x50415c
mov dword [ebp - 0x6c], 0
mov edx, 1
mov word [ebp - 0x5c], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
push 0
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfed0
add esp, 0x10
jmp 0x5041d4
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004fb710
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov ax, word [edx + 0x32]
mov word [ebp - 0x5c], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x28], edx
movsx eax, word [ebp - 0x5c]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
movsx edx, word [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x78]
push eax
push 0x76
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cfed0
add esp, 0x10
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004d0e40
add esp, 8
mov ecx, dword [ebp - 0xa0]
add ecx, 1
push ecx
movzx edx, word [ebp - 0xa4]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005385b0
add esp, 0x20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50420e
jmp 0x50476e
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00530d10
add esp, 8
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
je 0x504239
mov edx, dword [ebp + 8]
push edx
call fcn.005024d0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00530d30
add esp, 4
test eax, eax
je 0x504261
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x8f
mov edx, dword [ebp - 0xc]
push edx
call fcn.004cfeb0
add esp, 0xc
cmp dword [ebp - 0x88], 0
je 0x504281
push 1
mov eax, dword [ebp - 0x88]
push eax
push 0x56
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cfed0
add esp, 0x10
cmp dword [ebp - 0x6c], 0
je 0x5042d8
mov dword [ebp - 0x24], 0
jmp 0x504299
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
movsx eax, word [ebp - 0x5c]
cmp dword [ebp - 0x24], eax
jge 0x5042d0
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x24]
movsx edx, word [eax + ecx*2]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004ef320
add esp, 0x14
jmp 0x504290
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x50430d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ef320
add esp, 0x14
cmp dword [ebp - 0x84], 0
je 0x5043cf
mov cx, word [ebp - 0x5c]
mov word [ebp - 0x64], cx
mov eax, dword [ebp - 0x90]
add eax, 2
cdq
push edx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004a4cd0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x504354
mov eax, dword [ebp - 8]
push eax
call fcn.005393c0
add esp, 4
jmp 0x50476e
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
push 1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00562540
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x90]
mov byte [eax + 1], 0
cmp dword [ebp - 0x14], 0
jl 0x50438f
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0
cmp dword [ebp - 0x10], 0
jl 0x5043a5
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
cmp dword [ebp - 0x68], 0
je 0x5043bb
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d0ba0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d03c0
add esp, 4
mov dword [ebp - 0x74], eax
jmp 0x504478
cmp dword [ebp - 0x6c], 0
je 0x50444a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov word [ebp - 0x64], cx
movsx edx, word [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0050a0e0
add esp, 8
push eax
mov eax, dword [ebp - 0x20]
push eax
movsx ecx, word [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 0x61
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d0020
add esp, 0x1c
movsx ecx, word [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 0x8a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d0330
add esp, 0x18
jmp 0x50446c
mov eax, 1
mov word [ebp - 0x64], ax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x80]
push edx
push 0x9c
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfed0
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.005393c0
add esp, 4
cmp dword [ebp - 0x70], 0
jne 0x5044eb
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x84], 2
jne 0x5044a5
push 0xe
mov edx, dword [ebp - 0xc]
push edx
call fcn.004cfe90
add esp, 8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
push 8
push 0x71
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050dac0
add esp, 0x20
cmp dword [ebp - 0x84], 2
jne 0x5044eb
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d0920
add esp, 8
cmp dword [ebp - 0x84], 0
je 0x50453b
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x504539
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x504539
movsx ecx, word [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
push 0x1b
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d0330
add esp, 0x18
jmp 0x5045b8
cmp dword [ebp - 0x6c], 0
je 0x50459a
mov eax, dword [ebp - 0x78]
push eax
push 0x23
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cfeb0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
jne 0x50457f
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x78]
push edx
push 0x5e
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfdf0
add esp, 0x14
jmp 0x504598
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0x86
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfed0
add esp, 0x10
jmp 0x5045b8
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x80]
push edx
push 0x2d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfdf0
add esp, 0x14
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x504657
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00527370
add esp, 8
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00528b60
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00502510
add esp, 4
cmp dword [ebp - 0x84], 1
jne 0x504628
mov edx, dword [ebp - 0xa0]
push edx
push 0x7a
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfeb0
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0
jne 0x504628
mov edx, dword [ebp + 8]
mov byte [edx + 0x14], 0
push 0xfffffffffffffff5
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
push 0
push 7
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d0020
add esp, 0x1c
push 2
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d08d0
add esp, 8
jmp 0x5046a9
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 0x84]
push ecx
push 0xb
movzx edx, byte [ebp - 0xb0]
push edx
movzx eax, word [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005047b0
add esp, 0x2c
cmp dword [ebp - 0x84], 0
je 0x5046d0
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d0450
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.005393c0
add esp, 4
jmp 0x50472d
cmp dword [ebp - 0x6c], 0
je 0x504707
mov ecx, dword [ebp - 0x94]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0x26
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfed0
add esp, 0x10
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d0900
add esp, 8
jmp 0x50472d
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cfef0
add esp, 8
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d0900
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x50474d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x50474d
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050ac60
add esp, 4
cmp dword [ebp - 0x88], 0
je 0x50476e
push str.rows_deleted
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005039b0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004f9d90
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00501b20
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eb910
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004a4990
add esp, 8
mov esp, ebp
pop ebp
ret