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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], edx
xor eax, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0xffffffff
cmp dword [edi + 0x40], 0
mov eax, dword [edi]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x2c], eax
jne 0x4bea8c
cmp byte [eax + 0x40], 0
jne 0x4bea8c
call fcn.004bde90
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4bea8c
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x44], edx
test dword [eax + 0x18], 0x800000
je 0x4be24c
mov edx, esi
mov ecx, edi
call fcn.004d56d0
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x4be24e
xor eax, eax
mov ecx, eax
test eax, eax
je 0x4be26b
cmp byte [ecx + 8], 0x6d
jne 0x4be260
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4be254
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
mov edx, esi
cmovne ecx, eax
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [esp + 0x44], ecx
mov ecx, edi
setne al
mov dword [esp + 0x58], eax
call fcn.004ba390
test eax, eax
jne 0x4bea8c
cmp dword [esp + 0x44], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004bdf20
add esp, 4
test eax, eax
jne 0x4bea8c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x44]
call fcn.004cbc80
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
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.004b7820
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp eax, 1
je 0x4bea8c
mov ecx, dword [esp + 0x68]
xor edx, edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x44]
test eax, eax
je 0x4be320
nop
inc ecx
inc edx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4be310
mov dword [esp + 0x50], edx
cmp dword [esp + 0x58], 0
je 0x4be33f
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x20], edi
mov dword [edi + 0x1ec], eax
jmp 0x4be34f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov ecx, edi
call fcn.004cf030
mov esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x4be68d
cmp byte [edi + 0x12], 0
jne 0x4be371
or dword [esi + 0x58], 0x10
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.004bcac0
add esp, 4
cmp dword [esp + 0x58], 0
je 0x4be3b0
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.004bdfb0
mov ecx, dword [esp + 0x20]
add esp, 8
mov eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], eax
jmp 0x4be3b4
mov eax, dword [esp + 0x78]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.004aee20
test eax, eax
jne 0x4be68d
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x4be41a
inc dword [edi + 0x48]
mov edx, 0x19
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x6c], eax
call fcn.0049e630
add esp, 8
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x10]
jne 0x4be4e2
cmp dword [ebp + 8], 0
jne 0x4be4e2
cmp dword [esp + 0x44], 0
jne 0x4be4e2
test byte [ecx + 0x2c], 0x10
jne 0x4be4e2
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x4be469
call fcn.004c2b60
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4be4e2
cmp dword [ecx + 0x10], eax
jne 0x4be4e2
push dword [ecx]
mov edx, dword [esp + 0x18]
push 1
push dword [ecx + 0x20]
mov ecx, edi
call fcn.004b78b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test byte [eax + 0x2c], 0x20
jne 0x4be4aa
push 0xfffffffffffffffe
push dword [eax]
mov edx, 0x73
mov ecx, esi
push dword [esp + 0x6c]
push dword [esp + 0x20]
push dword [eax + 0x20]
call fcn.0049e6a0
mov eax, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4bea19
mov edi, eax
nop dword [eax + eax]
push dword [esp + 0x14]
mov edx, 0x73
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0049e630
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4be4c0
jmp 0x4bea15
test byte [ecx + 0x2c], 0x20
jne 0x4be519
inc dword [edi + 0x48]
mov edx, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x84], eax
call fcn.0049e630
add esp, 8
jmp 0x4be56c
call fcn.004b8960
mov dword [esp + 0x28], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov ecx, esi
mov edx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov dword [esp + 0x4c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x37
mov dword [edi + 0x44], eax
call fcn.0049e630
mov edx, dword [esp + 0x30]
add esp, 8
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.0049ed70
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x68]
inc eax
push eax
push 0xc
push 0
push 0
push dword [ebp + 8]
call fcn.004e2170
add esp, 0x14
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4be68d
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
test byte [eax + 0x18], 0x80
je 0x4be5cd
push 1
push dword [esp + 0x68]
mov edx, 0x25
mov ecx, esi
call fcn.0049e630
add esp, 8
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4be62d
mov eax, dword [esp + 0x14]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x4be623
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
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.004b1d80
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x4be5e8
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x4be654
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x10]
inc eax
push 0
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004b1e40
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x48]
jle 0x4be654
mov dword [edi + 0x48], eax
cmp dword [esp + 0x30], 0
je 0x4be733
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
add edx, 2
movzx eax, ax
mov dword [esp + 0x34], eax
call fcn.00483070
mov ecx, eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x4be6c9
mov ecx, dword [esp + 0x6c]
call fcn.004e2a90
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4be69f
mov dword [eax + 0x1ec], ecx
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x68]
call fcn.004bc370
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004afce0
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.00482e40
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.005903b0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x18]
test ecx, ecx
js 0x4be6fc
sub ecx, eax
mov byte [ecx + edx], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
js 0x4be70a
sub ecx, eax
mov byte [ecx + edx], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4be71e
mov edx, eax
mov ecx, esi
call fcn.0049ec50
mov edx, 0x10
mov ecx, esi
call fcn.0049e560
mov dword [esp + 0x38], eax
jmp 0x4be7b5
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4be796
inc dword [edi + 0x48]
mov edx, ecx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movsx esi, ax
push esi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], 0
call fcn.004c4200
add esp, 4
mov edx, 0x30
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x64]
mov esi, dword [esp + 0x9c]
mov ecx, esi
call fcn.0049e6a0
add esp, 0x14
mov edx, 0x6b
push dword [esp + 0x1c]
push dword [esp + 0x4c]
jmp 0x4be7ab
push eax
push dword [esp + 0x80]
mov dword [esp + 0x3c], 1
mov edx, 0x7d
mov ecx, esi
call fcn.0049e630
add esp, 8
mov ecx, dword [esp + 0x6c]
call fcn.004e2a90
cmp dword [esp + 0x30], 0
je 0x4be7f0
mov ecx, esi
call fcn.0049e8b0
push eax
push 0
mov edx, 0x10
mov dword [esp + 0x88], eax
mov ecx, esi
call fcn.0049e630
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, esi
call fcn.0049eb40
cmp dword [esp + 0x58], 0
jne 0x4be824
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x24]
push 0x35
call fcn.004c7430
mov eax, dword [esp + 0x8c]
add esp, 0x14
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4be86b
mov ecx, dword [esp + 0x5c]
mov eax, ecx
mov edi, dword [esp + 0x4c]
sub eax, dword [esp + 0x18]
cmp byte [eax + edi], 0
mov edi, dword [esp + 0x60]
je 0x4be8c4
mov eax, dword [esp + 0x34]
mov edx, 0x41
cwde
push eax
push dword [esp + 0x20]
push dword [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0049e800
add esp, 0x10
jmp 0x4be8c0
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x4be8a2
push dword [esp + 0x48]
mov edx, 0x69
call fcn.0049e5c0
add esp, 4
mov dword [esp + 0x3c], eax
mov edx, 0x62
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call fcn.0049e630
add esp, 8
jmp 0x4be8c0
push dword [esp + 0x1c]
mov edx, 0x7e
push 0
push dword [esp + 0x84]
call fcn.0049e500
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x10
je 0x4be93a
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4be8ef
mov edx, dword [esp + 0x2c]
nop dword [eax]
cmp dword [eax], edx
je 0x4be8eb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4be8e0
mov dword [esp + 0x38], eax
mov edx, ecx
mov ecx, edi
call fcn.004da680
push 0xfffffffffffffff6
push dword [esp + 0x3c]
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x24]
push 1
push 0
call fcn.0049e6a0
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x4be927
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4be968
cmp byte [edi + 0x12], 0
push edx
push 0xa
sete al
mov edx, ecx
movzx eax, al
mov ecx, edi
push eax
push dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x74]
push dword [esp + 0x60]
call fcn.004beaa0
add esp, 0x20
cmp dword [esp + 0x30], 0
mov ecx, esi
je 0x4be97f
mov edx, dword [esp + 0x80]
call fcn.0049e920
jmp 0x4be9b5
cmp dword [esp + 0x28], 0
je 0x4be997
mov eax, dword [esp + 0x3c]
mov edx, 9
inc eax
push eax
push dword [esp + 0x4c]
jmp 0x4be9a2
push dword [esp + 0x3c]
mov edx, 0x10
push 0
call fcn.0049e630
mov edx, dword [esp + 0x44]
add esp, 8
mov ecx, esi
call fcn.0049eb40
cmp dword [esp + 0x58], 0
jne 0x4bea19
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
jne 0x4bea19
cmp dword [esp + 0x28], 0
jne 0x4be9e4
push dword [esp + 0x5c]
mov edx, 0x3a
mov ecx, esi
call fcn.0049e5c0
mov eax, dword [esp + 0x14]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4bea19
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
mov edx, 0x3a
mov ecx, esi
call fcn.0049e5c0
mov eax, dword [esp + 0x44]
add esp, 4
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x40], eax
test edi, edi
jne 0x4be9f5
mov edi, dword [esp + 0x60]
cmp byte [edi + 0x12], 0
jne 0x4bea2f
cmp dword [edi + 0x19c], 0
jne 0x4bea2f
mov ecx, edi
call fcn.004c4890
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x4be68d
cmp byte [edi + 0x12], 0
jne 0x4be68d
cmp dword [edi + 0x19c], 0
jne 0x4be68d
push 1
push dword [esp + 0x68]
mov edx, 0x23
mov ecx, esi
call fcn.0049e630
mov edx, 1
mov ecx, esi
call fcn.0049fca0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.0049fd30
add esp, 0x14
jmp 0x4be68d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
jmp 0x4be695